geneticengine.evaluation.tracker ================================ .. py:module:: geneticengine.evaluation.tracker Classes ------- .. autoapisummary:: geneticengine.evaluation.tracker.IndividualMemory geneticengine.evaluation.tracker.PriorityQueue geneticengine.evaluation.tracker.ParetoFront geneticengine.evaluation.tracker.ProgressTracker Module Contents --------------- .. py:class:: IndividualMemory Bases: :py:obj:`abc.ABC` Helper class that provides a standard way to create an ABC using inheritance. .. py:method:: append(ind) .. py:method:: to_list() .. py:class:: PriorityQueue(problem) Bases: :py:obj:`IndividualMemory` Helper class that provides a standard way to create an ABC using inheritance. .. py:attribute:: problem .. py:attribute:: best :value: None .. py:method:: append(ind) .. py:method:: to_list() .. py:class:: ParetoFront(problem) Bases: :py:obj:`IndividualMemory` Helper class that provides a standard way to create an ABC using inheritance. .. py:attribute:: front :type: list[geneticengine.solutions.Individual] .. py:attribute:: problem .. py:method:: is_dominated(current, others) .. py:method:: append(ind) .. py:method:: to_list() .. py:class:: ProgressTracker(problem, evaluator = None, recorders = None) .. py:attribute:: problem :type: geneticengine.problems.Problem .. py:attribute:: evaluator :type: geneticengine.evaluation.Evaluator .. py:attribute:: start_time :type: int .. py:attribute:: recorders :type: list[geneticengine.evaluation.recorder.SearchRecorder] .. py:attribute:: memory :type: IndividualMemory .. py:method:: get_problem() .. py:method:: get_number_evaluations() The cumulative number of evaluations performed. .. py:method:: get_elapsed_time() The elapsed time since the start in seconds. .. py:method:: evaluate(individuals) .. py:method:: evaluate_single(individual) .. py:method:: get_best_individuals()