GeneticAlgorithm Members | GeneticSharp |
The GeneticAlgorithm type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
GeneticAlgorithm |
Initializes a new instance of the GeneticAlgorithm class.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resume |
Resumes the last evolution of the genetic algorithm.
Remarks | |
Start |
Starts the genetic algorithm using population, fitness, selection, crossover, mutation and termination configured.
| |
Stop |
Stops the genetic algorithm..
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
DefaultCrossoverProbability |
The default crossover probability.
| |
DefaultMutationProbability |
The default mutation probability.
|
Properties
Name | Description | |
---|---|---|
BestChromosome |
Gets the best chromosome.
| |
Crossover |
Gets the crossover operator.
| |
CrossoverProbability |
Gets or sets the crossover probability.
| |
Fitness |
Gets the fitness function.
| |
GenerationsNumber |
Gets the generations number.
| |
IsRunning |
Gets a value indicating whether this instance is running.
| |
Mutation |
Gets the mutation operator.
| |
MutationProbability |
Gets or sets the mutation probability.
| |
Population |
Gets the population.
| |
Reinsertion |
Gets or sets the reinsertion operator.
| |
Selection |
Gets the selection operator.
| |
State |
Gets the state.
| |
TaskExecutor |
Gets or sets the task executor which will be used to execute fitness evaluation.
| |
Termination |
Gets or sets the termination condition.
| |
TimeEvolving |
Gets the time evolving.
|
Events
Name | Description | |
---|---|---|
GenerationRan |
Occurs when generation ran.
| |
TerminationReached |
Occurs when termination reached.
|
See Also