public class FloatProfile extends Profile
| Modifier and Type | Field and Description |
|---|---|
float[] |
profile |
| Constructor and Description |
|---|
FloatProfile(GeneticAlgorithm alg,
int afType,
int seg,
int numPeriod) |
| Modifier and Type | Method and Description |
|---|---|
Profile[] |
crossover(Profile mate) |
float |
getAF(int period) |
java.lang.String |
getBinaryAF(int period) |
Profile |
getDeepCopy() |
int |
getNumPeriods() |
void |
mutate() |
void |
setAF(float val,
int period) |
void |
setAF(int val,
int period) |
void |
setAF(java.lang.String val,
int period) |
void |
setAFArray(double[] newArray) |
getAFLowerRange, getAFUpperRange, setConfidencePctpublic FloatProfile(GeneticAlgorithm alg, int afType, int seg, int numPeriod)
public int getNumPeriods()
getNumPeriods in class Profilepublic java.lang.String getBinaryAF(int period)
getBinaryAF in class Profilepublic void setAFArray(double[] newArray)
public Profile getDeepCopy()
getDeepCopy in class Profile