de.kumpe.hadooptimizer
Interface Evaluator<I>

Type Parameters:
I - the individuals' type
All Superinterfaces:
Serializable
All Known Implementing Classes:
EsEvaluatorWrapper, NeuronalNetEvaluator, PolynomialEvaluator, PolynomialEvaluator

public interface Evaluator<I>
extends Serializable

An Evaluator calculates the evaluation (fitness) of a given individual as a single double-value.

Author:
Christian Kumpe

Method Summary
 double evaluate(I individual)
          Calculates the evaluation (fitness) of the given individual.
 

Method Detail

evaluate

double evaluate(I individual)
Calculates the evaluation (fitness) of the given individual.

A smaller value means better fitness.

Parameters:
individual - the individual to calculate the evaluation (fitness)
Returns:
the evaluation (fitness) of the given individual


Copyright © 2011 Christian Kumpe. All Rights Reserved.