.. 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:mod:`culebra.trainer` module ================================ .. automodule:: culebra.trainer Attributes ---------- .. attribute:: DEFAULT_NUM_SUBTRAINERS :annotation: = 1 Default number of subtrainers. .. attribute:: DEFAULT_REPRESENTATION_SIZE :annotation: = 5 Default value for the number of representatives sent to the other subtrainers. .. attribute:: DEFAULT_REPRESENTATION_FREQ :annotation: = 10 Default value for the number of generations between representatives sending. .. attribute:: DEFAULT_REPRESENTATION_SELECTION_FUNC :annotation: = Default selection policy function to choose the representatives. .. attribute:: DEFAULT_REPRESENTATION_SELECTION_FUNC_PARAMS :annotation: = {'tournsize': 3} Default parameters for the representatives selection policy function. .. attribute:: DEFAULT_ISLANDS_REPRESENTATION_TOPOLOGY_FUNC :annotation: = Default topology function for the islands model. .. attribute:: DEFAULT_ISLANDS_REPRESENTATION_TOPOLOGY_FUNC_PARAMS :annotation: = {} Parameters for the default topology function in the islands model. .. .. autodata:: DEFAULT_NUM_SUBTRAINERS .. autodata:: DEFAULT_REPRESENTATION_SIZE .. autodata:: DEFAULT_REPRESENTATION_FREQ .. autodata:: DEFAULT_REPRESENTATION_SELECTION_FUNC .. autodata:: DEFAULT_REPRESENTATION_SELECTION_FUNC_PARAMS .. autodata:: DEFAULT_ISLANDS_REPRESENTATION_TOPOLOGY_FUNC .. autodata:: DEFAULT_ISLANDS_REPRESENTATION_TOPOLOGY_FUNC_PARAMS .. toctree:: :hidden: abc ea aco topology