|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jenes.stage.AbstractStage<T> jenes.stage.operator.Operator<T> jenes.stage.operator.Scaling<T>
public abstract class Scaling<T extends Chromosome>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class jenes.stage.operator.Operator |
---|
Operator.Statistics |
Field Summary |
---|
Fields inherited from class jenes.stage.operator.Operator |
---|
random, statistics |
Fields inherited from class jenes.stage.AbstractStage |
---|
biggerIsBetter, ga |
Constructor Summary | |
---|---|
Scaling()
Constructs a new mutator instance with the specified mutator probability |
Method Summary | |
---|---|
void |
preprocess(double[] scores,
boolean[] legals)
|
void |
process(Population<T> in,
Population<T> out)
Processes the input population and tranforms it into the output population. |
abstract double |
scale(Individual<T> ind,
int pos)
|
Methods inherited from class jenes.stage.operator.Operator |
---|
getStatistics, updateStatistics |
Methods inherited from class jenes.stage.AbstractStage |
---|
dispose, init, isBiggerBetter, setBiggerIsBetter, setBiggerIsBetter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Scaling()
probability
- the mutator probabilityMethod Detail |
---|
public final void process(Population<T> in, Population<T> out) throws StageException
AbstractStage
process
in class AbstractStage<T extends Chromosome>
in
- the input populationout
- the output population
StageException
public void preprocess(double[] scores, boolean[] legals)
public abstract double scale(Individual<T> ind, int pos)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |