.. 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.Individual` class ================================================= .. autoclass:: culebra.solution.abc.Individual Class attributes ---------------- .. autoattribute:: culebra.solution.abc.Individual.species_cls Class methods ------------- .. automethod:: culebra.solution.abc.Individual.load_pickle Properties ---------- .. autoproperty:: culebra.solution.abc.Individual.species .. autoproperty:: culebra.solution.abc.Individual.fitness Methods ------- .. automethod:: culebra.solution.abc.Individual.save_pickle .. automethod:: culebra.solution.abc.Individual.crossover .. automethod:: culebra.solution.abc.Individual.mutate .. automethod:: culebra.solution.abc.Individual.dominates .. automethod:: culebra.solution.abc.Individual.delete_fitness Dunder methods -------------- Intended to compare (lexicographically) two individuals according to their fitness. .. automethod:: culebra.solution.abc.Individual.__hash__ .. automethod:: culebra.solution.abc.Individual.__eq__ .. automethod:: culebra.solution.abc.Individual.__ne__ .. automethod:: culebra.solution.abc.Individual.__lt__ .. automethod:: culebra.solution.abc.Individual.__gt__ .. automethod:: culebra.solution.abc.Individual.__le__ .. automethod:: culebra.solution.abc.Individual.__ge__