GeneticAlgorithm Members

GeneticSharp

GeneticAlgorithm Members GeneticSharp

The GeneticAlgorithm type exposes the following members.

Constructors

  NameDescription
Public methodGeneticAlgorithm
Initializes a new instance of the GeneticAlgorithm class.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the type of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodResume
Resumes the last evolution of the genetic algorithm.
Remarks

If genetic algorithm was not explicit Stop (calling Stop method), you will need provide a new extended Termination.
Public methodStart
Starts the genetic algorithm using population, fitness, selection, crossover, mutation and termination configured.
Public methodStop
Stops the genetic algorithm..
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberDefaultCrossoverProbability
The default crossover probability.
Public fieldStatic memberDefaultMutationProbability
The default mutation probability.
Back to Top
Properties

  NameDescription
Public propertyBestChromosome
Gets the best chromosome.
Public propertyCrossover
Gets the crossover operator.
Public propertyCrossoverProbability
Gets or sets the crossover probability.
Public propertyFitness
Gets the fitness function.
Public propertyGenerationsNumber
Gets the generations number.
Public propertyIsRunning
Gets a value indicating whether this instance is running.
Public propertyMutation
Gets the mutation operator.
Public propertyMutationProbability
Gets or sets the mutation probability.
Public propertyPopulation
Gets the population.
Public propertyReinsertion
Gets or sets the reinsertion operator.
Public propertySelection
Gets the selection operator.
Public propertyState
Gets the state.
Public propertyTaskExecutor
Gets or sets the task executor which will be used to execute fitness evaluation.
Public propertyTermination
Gets or sets the termination condition.
Public propertyTimeEvolving
Gets the time evolving.
Back to Top
Events

  NameDescription
Public eventGenerationRan
Occurs when generation ran.
Public eventTerminationReached
Occurs when termination reached.
Back to Top
See Also