is that correct for next_island called before increment_island_generation?
Opened this issue · 1 comments
ypwang61 commented
a small problem, in database.py, here if self.database.next_island(), then would move to the next island, and then increment_island_generation would result in generation increase in the next island?
# Island management
if (
completed_iteration > start_iteration
and current_island_counter >= programs_per_island
):
self.database.next_island()
current_island_counter = 0
logger.debug(f"Switched to island {self.database.current_island}")
current_island_counter += 1
self.database.increment_island_generation()
codelion commented
This is separate from the generations of programs as in an EA. Unfortunately, it is named island generation but it captures the number of number of programs that were ever generated on the island.