moead_framework.core.termination_criteria.max_evaluation.MaxEvaluation

class moead_framework.core.termination_criteria.max_evaluation.MaxEvaluation(algorithm_instance)[source]

Bases: moead_framework.core.termination_criteria.abstract_termination_criteria.TerminationCriteria

Stop the algorithm with a criteria based on the number of solution evaluated.

__init__(algorithm_instance)

Constructor of the termination criteria

Parameters

algorithm_instance – {AbstractMoead} instance of the algorithm

Methods

__init__(algorithm_instance)

Constructor of the termination criteria

test()

Test if the algorithm has to be stopped.

test()[source]

Test if the algorithm has to be stopped. The algorithm is stopped when the maximum number of evaluation is reached

Returns

{boolean} True: Continue the process. False: Stop the process