gov.nasa.javaGenes.evolvableDoubleList
Class SelectByProbability
java.lang.Object
gov.nasa.javaGenes.evolvableDoubleList.Selector
gov.nasa.javaGenes.evolvableDoubleList.SelectByProbability
- All Implemented Interfaces:
- java.io.Serializable
- public class SelectByProbability
- extends Selector
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
probability
protected double probability
minimumNumberToSelect
protected int minimumNumberToSelect
DEFAULT_MAXIMUM_TRIES
public final int DEFAULT_MAXIMUM_TRIES
- See Also:
- Constant Field Values
SelectByProbability
public SelectByProbability(double probability,
int minimumNumberToSelect)
getIndices
public Indices getIndices(int size)
- Specified by:
getIndices
in class Selector
getIndices
public Indices getIndices(int size,
int maxTries)
toString
public java.lang.String toString()