Packagecom.suckatmath.machinelearning.genetic.core
Interfacepublic interface Gene
Implementors FixedLengthStringGene

It is not necessary to use this interface if you define your own implementations of Genome, however it can be convenient



Public Methods
 MethodDefined By
  
return a slight variation of this Gene in a new Gene instance
Gene
  
create and return a new random Gene
Gene
Method Detail
mutate()method
public function mutate():Gene

return a slight variation of this Gene in a new Gene instance

Returns
Gene — Gene
newRandom()method 
public function newRandom():Gene

create and return a new random Gene

Returns
Gene — Gene