macop.evaluators.EvaluatorExample

Python evaluator function example

Functions

evaluatorExample(solution)

Evaluator’s example of solution to compute fitness

macop.evaluators.EvaluatorExample.evaluatorExample(solution)[source]

Evaluator’s example of solution to compute fitness

Parameters

solution – {Solution} – solution to evaluate

Returns

{float} – fitness score of solution