Changeset 1294
- Timestamp:
- 02/21/24 17:38:15 (10 months ago)
- Location:
- framspy/evolalg/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/base/experiment_abc.py
r1289 r1294 18 18 class ExperimentABC(ABC): 19 19 20 population_structures = None21 hof = []22 stats = []23 current_generation = 024 time_elapsed = 025 26 27 20 def __init__(self, popsize, hof_size, save_only_best) -> None: 21 self.population_structures = None 22 self.stats = [] 23 self.current_generation = 0 24 self.time_elapsed = 0 25 28 26 self.hof = HallOfFame(hof_size) 29 27 self.popsize = popsize -
framspy/evolalg/base/experiment_islands_model_abc.py
r1291 r1294 17 17 def __init__(self, popsize, hof_size, number_of_populations, migration_interval, save_only_best) -> None: 18 18 super().__init__(popsize=popsize, hof_size=hof_size, save_only_best=save_only_best) 19 self.populations=[] 19 20 self.number_of_populations=number_of_populations 20 21 self.migration_interval=migration_interval
Note: See TracChangeset
for help on using the changeset viewer.