AForge.Genetic.ChromosomeBase.Evaluate C# (CSharp) 메소드

Evaluate() 공개 메소드

Evaluate chromosome with specified fitness function.

Calculates chromosome's fitness using the specifed fitness function.

public Evaluate ( IFitnessFunction function ) : void
function IFitnessFunction Fitness function to use for evaluation of the chromosome.
리턴 void
        public void Evaluate( IFitnessFunction function )
        {
            fitness = function.Evaluate( this );
        }