C# Class SignalRMonkeys.TextMatchGeneticAlgorithm

Mostrar archivo Open project: shanselman/SignalRMonkeys Class Usage Examples

Public Methods

Method Description
MoveNext ( ) : void
TextMatchGeneticAlgorithm ( bool runParallel, string targetText, GeneticAlgorithmSettings settings ) : System

Private Methods

Method Description
CreateChildren ( TextMatchGenome parent1, TextMatchGenome parent2 ) : SignalRMonkeys.TextMatchGenome[]
CreateNextGeneration ( ) : SignalRMonkeys.TextMatchGenome[]
CreateRandomGenome ( Random rand ) : TextMatchGenome
CreateRandomPopulation ( ) : SignalRMonkeys.TextMatchGenome[]
Crossover ( Random rand, TextMatchGenome p1, TextMatchGenome p2, TextMatchGenome &child1, TextMatchGenome &child2 ) : void
FindRandomHighQualityParent ( long sumOfMaxMinusFitness, int max ) : TextMatchGenome
Mutate ( Random rand, TextMatchGenome &genome ) : void
TextMatchGeneticAlgorithm ( ) : System

Method Details

MoveNext() public method

public MoveNext ( ) : void
return void

TextMatchGeneticAlgorithm() public method

public TextMatchGeneticAlgorithm ( bool runParallel, string targetText, GeneticAlgorithmSettings settings ) : System
runParallel bool
targetText string
settings GeneticAlgorithmSettings
return System