GeneticAlgorithm Members
From GeneticSharp
| GeneticAlgorithm Members | GeneticSharp |
The GeneticAlgorithm type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GeneticAlgorithm |
Initializes a new instance of the GeneticAlgorithm class.
|
Methods
| Name | Description | |
|---|---|---|
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the type of the current instance. (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| 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..
| |
Returns a string that represents the current object. (Inherited from |
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