|
Watchmaker Framework for Evolutionary Computation API (Version 0.7.1) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.uncommons.watchmaker.framework.operators.EvolutionPipeline<T>
T
- The type of evolved candidate that this pipeline operates on.public class EvolutionPipeline<T>
A compound evolutionary operator that applies multiple operators (of the same type) in series.
By combining EvolutionPipeline operators with SplitEvolution
operators,
elaborate evolutionary schemes can be constructed.
Constructor Summary | |
---|---|
EvolutionPipeline(List<EvolutionaryOperator<T>> pipeline)
Creates a pipeline consisting of the specified operators in the order that they are supplied. |
Method Summary | |
---|---|
List<T> |
apply(List<T> selectedCandidates,
Random rng)
Applies each operation in the pipeline in turn to the selection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvolutionPipeline(List<EvolutionaryOperator<T>> pipeline)
pipeline
- An ordered list of operators that make up the
pipeline.Method Detail |
---|
public List<T> apply(List<T> selectedCandidates, Random rng)
apply
in interface EvolutionaryOperator<T>
selectedCandidates
- The candidates to subjected to evolution.rng
- A source of randomness used by all stochastic processes in
the pipeline.
|
Watchmaker Framework for Evolutionary Computation API (Version 0.7.1) |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |