Create new random chromosome with same parameters (factory method).

Namespace:  AForge.Genetic
Assembly:  AForge.Genetic (in AForge.Genetic.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public override IChromosome CreateNew()

Return Value

[Missing <returns> documentation for M:AForge.Genetic.BinaryChromosome.CreateNew]

Implements

IChromosome..::.CreateNew()()()

Remarks

The method creates new chromosome of the same type, but randomly initialized. The method is useful as factory method for those classes, which work with chromosome's interface, but not with particular chromosome type.

See Also