C# Class Weasel.WeaselWorld

Exibir arquivo Open project: stinaq/WEASEL Class Usage Examples

Public Methods

Method Description
CreateWeasel ( double mutationRate, int numberOfChildren ) : void
WeaselWorld ( string alphabet, string goal ) : System

Private Methods

Method Description
CalculateAlikeness ( string child ) : int
CreateFirstSire ( ) : Individual
GetFittest ( IEnumerable children ) : Individual
MutateCharacter ( char character, double mutationRate, string alphabet ) : char

Method Details

CreateWeasel() public method

public CreateWeasel ( double mutationRate, int numberOfChildren ) : void
mutationRate double
numberOfChildren int
return void

WeaselWorld() public method

public WeaselWorld ( string alphabet, string goal ) : System
alphabet string
goal string
return System