AForge.Genetic.ChromosomeBase.CreateNew C# (CSharp) Method

CreateNew() public abstract method

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

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 class.

public abstract CreateNew ( ) : IChromosome
return IChromosome
        public abstract IChromosome CreateNew( );