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

GEPChromosome() защищенный Метод

Initializes a new instance of the GEPChromosome class.
protected GEPChromosome ( GEPChromosome source ) : System
source GEPChromosome Source GEP chromosome to clone from.
Результат System
		protected GEPChromosome( GEPChromosome source )
		{
			headLength = source.headLength;
			length = source.length;
			fitness = source.fitness;
			// allocate genes array
			genes = new IGPGene[length];
			// copy genes
			for ( int i = 0; i < length; i++ )
				genes[i] = source.genes[i].Clone( );
		}

Same methods

GEPChromosome::GEPChromosome ( IGPGene ancestor, int headLength ) : System