public class BasicGrowthRestriction extends RestrictionOperator
Modifier and Type | Field and Description |
---|---|
private boolean |
searchEnergy |
genesRestriction
Constructor and Description |
---|
BasicGrowthRestriction() |
BasicGrowthRestriction(int dimensions,
double min,
double max,
boolean searchEnergy) |
Modifier and Type | Method and Description |
---|---|
void |
fixDiffusion()
Fixes diffusion (terrace to terrace, or terrace to anywhere) ratio with the default value.
|
void |
initialise() |
apply, getNonFixedGenes
public BasicGrowthRestriction()
public BasicGrowthRestriction(int dimensions, double min, double max, boolean searchEnergy)
dimensions
- number of genes (or variables)min
- the minimum valuemax
- the maximum valuesearchEnergy
- searches for energy?public void initialise()
initialise
in class RestrictionOperator
public void fixDiffusion()