gov.nasa.javaGenes.evolvableDoubleList
Class SelectFixedNumber
java.lang.Object
gov.nasa.javaGenes.evolvableDoubleList.Selector
gov.nasa.javaGenes.evolvableDoubleList.SelectFixedNumber
- All Implemented Interfaces:
- java.io.Serializable
- public class SelectFixedNumber
- extends Selector
selects a fixed number of indices, or all of them if there aren't enough
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
numberToSelect
protected int numberToSelect
SelectFixedNumber
public SelectFixedNumber(int numberToSelect)
getIndices
public Indices getIndices(int size)
- Specified by:
getIndices
in class Selector
toString
public java.lang.String toString()