public class DistProfile extends Profile
| Modifier and Type | Field and Description |
|---|---|
protected Distribution |
dist |
private static float |
MAIN_AADT |
private static float[] |
OFR_AADT |
private static float[] |
ONR_AADT |
static float[] |
periodMapping |
private static int |
startPeriod |
| Constructor and Description |
|---|
DistProfile(GeneticAlgorithm alg,
int afType,
int seg,
int numPeriod) |
DistProfile(GeneticAlgorithm alg,
int afType,
int seg,
int numPeriod,
Distribution dist) |
| Modifier and Type | Method and Description |
|---|---|
Profile[] |
crossover(Profile mate) |
float |
getAF(int period) |
java.lang.String |
getBinaryAF(int period) |
Profile |
getDeepCopy() |
Distribution |
getDist() |
void |
mutate() |
void |
setAF(float val,
int period) |
void |
setAF(int val,
int period) |
void |
setAF(java.lang.String val,
int period) |
void |
setDistribution(Distribution dist) |
static void |
setupMapping(Seed seed,
float mainAADT,
float[] onrAADT,
float[] ofrAADT) |
getAFLowerRange, getAFUpperRange, getNumPeriods, setConfidencePctpublic static final float[] periodMapping
private static int startPeriod
private static float MAIN_AADT
private static float[] ONR_AADT
private static float[] OFR_AADT
protected Distribution dist
public DistProfile(GeneticAlgorithm alg, int afType, int seg, int numPeriod)
public DistProfile(GeneticAlgorithm alg, int afType, int seg, int numPeriod, Distribution dist)
public java.lang.String getBinaryAF(int period)
getBinaryAF in class Profilepublic Profile getDeepCopy()
getDeepCopy in class Profilepublic void setDistribution(Distribution dist)
public Distribution getDist()
public static void setupMapping(Seed seed, float mainAADT, float[] onrAADT, float[] ofrAADT)