| Package | com.suckatmath.machinelearning.genetic.impl |
| Class | public class EvolvableString |
| Inheritance | EvolvableString Object |
| Implements | Evolvable |
| Property | Defined By | ||
|---|---|---|---|
| genome : FixedLengthStringGenome
genome used to build this EvolvableString
| EvolvableString | ||
| goal : String = I will here give a brief sketch of the progress of opinion on the Origin of Species [static]
goal string. | EvolvableString | ||
| Method | Defined By | ||
|---|---|---|---|
create a new EvolvableString
| EvolvableString | ||
getFitness():Number
calculates fitness, or returns saved fitness value
uses markov chain, letter distributions, and absolute letter placement
| EvolvableString | ||
get the FixedLengthStringGenome backing
| EvolvableString | ||
set the genome of this EvolvableString
| EvolvableString | ||
toString():String
return a String representation
| EvolvableString | ||
| genome | property |
public var genome:FixedLengthStringGenomegenome used to build this EvolvableString
| goal | property |
public static var goal:String = I will here give a brief sketch of the progress of opinion on the Origin of Speciesgoal string. By default: "I will here give a brief sketch of the progress of opinion on the Origin of Species"
| EvolvableString | () | Constructor |
public function EvolvableString()create a new EvolvableString
| getFitness | () | method |
public function getFitness():Numbercalculates fitness, or returns saved fitness value uses markov chain, letter distributions, and absolute letter placement
ReturnsNumber — Number
|
| getGenome | () | method |
public function getGenome():Genomeget the FixedLengthStringGenome backing
ReturnsGenome — FixedLengthStringGenome as Genome
|
| setGenome | () | method |
public function setGenome(g:Genome):voidset the genome of this EvolvableString
Parameters
g:Genome — FixedLengthStringGenome
|
| toString | () | method |
public function toString():Stringreturn a String representation
ReturnsString —
|