C# Class SignalRMonkeys.TextMatchGeneticAlgorithm

Afficher le fichier Open project: shanselman/SignalRMonkeys Class Usage Examples

Méthodes publiques

Méthode Description
MoveNext ( ) : void
TextMatchGeneticAlgorithm ( bool runParallel, string targetText, GeneticAlgorithmSettings settings ) : System

Private Methods

Méthode 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 méthode

public MoveNext ( ) : void
Résultat void

TextMatchGeneticAlgorithm() public méthode

public TextMatchGeneticAlgorithm ( bool runParallel, string targetText, GeneticAlgorithmSettings settings ) : System
runParallel bool
targetText string
settings GeneticAlgorithmSettings
Résultat System