C# Class DevelopStuff.EvolveStuff.Core.Individual

Datei anzeigen Open project: whoisjake/evolvestuff Class Usage Examples

Public Methods

Method Description
Individual ( ) : System

Initializes a new instance of the Individual class.

Individual ( System.Guid id, System.DateTime dateCreated ) : System

Initializes a new instance of the Individual class.

Reproduce ( Individual selectedParent, double mutationRate ) : Individual

Mates the current instance with the provide parent Individual.

Method Details

Individual() public method

Initializes a new instance of the Individual class.
public Individual ( ) : System
return System

Individual() public method

Initializes a new instance of the Individual class.
public Individual ( System.Guid id, System.DateTime dateCreated ) : System
id System.Guid The id.
dateCreated System.DateTime The date the Individual was created.
return System

Reproduce() public method

Mates the current instance with the provide parent Individual.
public Reproduce ( Individual selectedParent, double mutationRate ) : Individual
selectedParent Individual
mutationRate double
return Individual