public final class FitnessProportionateSelection extends Object implements NodeSelector
Also known as roulette wheel selection.
Constructor and Description |
---|
FitnessProportionateSelection(Random random,
RankedCandidates candidates)
Creates a
FitnessProportionateSelection that uses the given Random to select from the given RankedCandidates . |
public FitnessProportionateSelection(Random random, RankedCandidates candidates)
FitnessProportionateSelection
that uses the given Random
to select from the given RankedCandidates
.public Node next()
NodeSelector
Node
.next
in interface NodeSelector
Node
OakGP Genetic Programming Framework