SwarmOps.ProblemIndex.SetFitness C# (CSharp) Method

SetFitness() public method

Set the fitness associated with the i'th problem.
public SetFitness ( int i, double fitness ) : void
i int
fitness double
return void
        public void SetFitness(int i, double fitness)
        {
            Index[i].Fitness = fitness;
        }