// evaluate a regular individual
public void evaluate(EvolutionState state, Individual ind, int subpopulation, int threadnum)
{
if (jobSize > 1 && batchMode == true) // chunked evaluation mechanism
{
queue.add(new QueueIndividual(ind, subpopulation));
if (queue.size() >= jobSize)
flush(state, threadnum);
}
else /// ordinary evaluation mechanism
evaluate(state, new Individual[] { ind }, new int[] { subpopulation }, threadnum);