wodka.ga.selection
Class AddRandom40
java.lang.Object
wodka.ga.selection.AddRandom40
- All Implemented Interfaces:
- wwan.commons.param.Informative, SelectionPolicy, java.io.Serializable, StreamPersistable
- public class AddRandom40
- extends java.lang.Object
- implements SelectionPolicy
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddRandom40
public AddRandom40()
selectNewPopulation
public Population selectNewPopulation(Population currentPop,
GenotypeDesc desc,
double mr)
- Specified by:
selectNewPopulation
in interface SelectionPolicy
getInitialPopulationSize
public int getInitialPopulationSize()
- Specified by:
getInitialPopulationSize
in interface SelectionPolicy
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface SelectionPolicy
getInfo
public java.lang.String getInfo()
- Specified by:
getInfo
in interface SelectionPolicy
fromStream
public void fromStream(java.io.DataInputStream s,
int version)
throws java.io.IOException
- Specified by:
fromStream
in interface StreamPersistable
- Throws:
java.io.IOException
toStream
public void toStream(java.io.DataOutputStream s)
throws java.io.IOException
- Specified by:
toStream
in interface StreamPersistable
- Throws:
java.io.IOException
getVersion
public int getVersion()
- Specified by:
getVersion
in interface StreamPersistable