TwoPointCrossover Members

GeneticSharp

TwoPointCrossover Members GeneticSharp

The TwoPointCrossover type exposes the following members.

Constructors

  NameDescription
Public methodTwoPointCrossover 
Initializes a new instance of the TwoPointCrossover class.
Public methodTwoPointCrossover(Int32, Int32)
Initializes a new instance of the TwoPointCrossover class.
Back to Top
Methods

  NameDescription
Public methodCross
Cross the specified parents generating the children.
(Inherited from CrossoverBase.)
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.)
Protected methodPerformCross
Performs the cross with specified parents generating the children.
(Overrides CrossoverBase PerformCross(IList IChromosome ).)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyChildrenNumber
Gets the number of children generated by cross.
(Inherited from CrossoverBase.)
Public propertyIsOrdered
Gets if the operator is ordered (if can keep the chromosome order).
(Inherited from CrossoverBase.)
Public propertyMinChromosomeLength
Gets the minimum length of the chromosome supported by the crossover.
(Inherited from CrossoverBase.)
Public propertyParentsNumber
Gets the number of parents need for cross.
(Inherited from CrossoverBase.)
Public propertySwapPointOneGeneIndex
Gets or sets the index of the swap point one gene.
Public propertySwapPointTwoGeneIndex
Gets or sets the index of the swap point two gene.
Back to Top
See Also