TwoPointCrossover Members
From GeneticSharp
| TwoPointCrossover Members | GeneticSharp |
The TwoPointCrossover type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TwoPointCrossover |
Initializes a new instance of the TwoPointCrossover class.
| |
| TwoPointCrossover(Int32, Int32) |
Initializes a new instance of the TwoPointCrossover class.
|
Methods
| Name | Description | |
|---|---|---|
| Cross |
Cross the specified parents generating the children.
(Inherited from CrossoverBase.) | |
| (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 | ||
| PerformCross |
Performs the cross with specified parents generating the children.
(Overrides CrossoverBase PerformCross(IList IChromosome ).) | |
Returns a string that represents the current object. (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| ChildrenNumber |
Gets the number of children generated by cross.
(Inherited from CrossoverBase.) | |
| IsOrdered |
Gets if the operator is ordered (if can keep the chromosome order).
(Inherited from CrossoverBase.) | |
| MinChromosomeLength |
Gets the minimum length of the chromosome supported by the crossover.
(Inherited from CrossoverBase.) | |
| ParentsNumber |
Gets the number of parents need for cross.
(Inherited from CrossoverBase.) | |
| SwapPointOneGeneIndex |
Gets or sets the index of the swap point one gene.
| |
| SwapPointTwoGeneIndex |
Gets or sets the index of the swap point two gene.
|
See Also