public class ClimaticPopInitialiser extends PopulationInitialiser
Modifier and Type | Field and Description |
---|---|
static double |
CLIMAX_AVERAGE |
static double |
CLIMAX_ST_DEV |
static int |
DEFAULT_POPULATION_SIZE |
protected static java.lang.String |
label |
static int |
MAX_POPULATION_SIZE |
static int |
MIN_POPULATION_SIZE |
protected boolean |
modifyAll |
protected java.awt.Panel |
panel |
protected java.awt.Label |
populationLabel |
protected int |
populationSize |
int |
TONIC |
Constructor and Description |
---|
ClimaticPopInitialiser() |
ClimaticPopInitialiser(int population) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
java.awt.Panel |
getPanel() |
Phrase[] |
initPopulation(Phrase phrase,
int beatsPerBar) |
void |
setModifyAll(boolean val) |
protected static java.lang.String label
public final int TONIC
public static final int MIN_POPULATION_SIZE
public static final int MAX_POPULATION_SIZE
public static final int DEFAULT_POPULATION_SIZE
public static final double CLIMAX_AVERAGE
public static final double CLIMAX_ST_DEV
protected java.awt.Panel panel
protected int populationSize
protected java.awt.Label populationLabel
protected boolean modifyAll
public ClimaticPopInitialiser()
public ClimaticPopInitialiser(int population)
public Phrase[] initPopulation(Phrase phrase, int beatsPerBar)
initPopulation
in class PopulationInitialiser
public java.awt.Panel getPanel()
getPanel
in class GAComponent
public java.lang.String getLabel()
getLabel
in class GAComponent
public void setModifyAll(boolean val)