Click or drag to resize
Accord.NET (logo)

PermutationChromosomeCreateNew Method

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

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
public override IChromosome CreateNew()
Request Example View Source

Return Value

Type: IChromosome

Implements

IChromosomeCreateNew
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