AForge.Genetic.BinaryChromosome.BinaryChromosome C# (CSharp) Метод

BinaryChromosome() публичный Метод

Initializes a new instance of the BinaryChromosome class.
public BinaryChromosome ( int length ) : System
length int Chromosome's length in bits, [2, ].
Результат System
        public BinaryChromosome( int length )
        {
            this.length = Math.Max( 2, Math.Min( MaxLength, length ) );
            // randomize the chromosome
            Generate( );
        }

Same methods

BinaryChromosome::BinaryChromosome ( BinaryChromosome source ) : System