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