.. This file is part of Culebra is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Culebra is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Culebra. If not, see . This work is supported by projects PGC2018-098813-B-C31 and PID2022-137461NB-C31, both funded by the Spanish "Ministerio de Ciencia, Innovación y Universidades" and by the European Regional Development Fund (ERDF). :py:class:`culebra.solution.abc.Ant` class ========================================== .. autoclass:: culebra.solution.abc.Ant Class attributes ---------------- .. autoattribute:: culebra.solution.abc.Ant.species_cls Class methods ------------- .. automethod:: culebra.solution.abc.Ant.load_pickle Properties ---------- .. autoproperty:: culebra.solution.abc.Ant.species .. autoproperty:: culebra.solution.abc.Ant.fitness .. autoproperty:: culebra.solution.abc.Ant.path .. autoproperty:: culebra.solution.abc.Ant.current .. autoproperty:: culebra.solution.abc.Ant.discarded Methods ------- .. automethod:: culebra.solution.abc.Ant.save_pickle .. automethod:: culebra.solution.abc.Ant.append .. automethod:: culebra.solution.abc.Ant.discard .. automethod:: culebra.solution.abc.Ant.dominates .. automethod:: culebra.solution.abc.Ant.delete_fitness Dunder methods -------------- Intended to compare (lexicographically) two Ants according to their fitness. .. automethod:: culebra.solution.abc.Ant.__hash__ .. automethod:: culebra.solution.abc.Ant.__eq__ .. automethod:: culebra.solution.abc.Ant.__ne__ .. automethod:: culebra.solution.abc.Ant.__lt__ .. automethod:: culebra.solution.abc.Ant.__gt__ .. automethod:: culebra.solution.abc.Ant.__le__ .. automethod:: culebra.solution.abc.Ant.__ge__