Move to the next island in round-robin fashion
(self)
| 1761 | logger.debug(f"Switched to evolving island {self.current_island}") |
| 1762 | |
| 1763 | def next_island(self) -> int: |
| 1764 | """Move to the next island in round-robin fashion""" |
| 1765 | self.current_island = (self.current_island + 1) % len(self.islands) |
| 1766 | logger.debug(f"Advanced to island {self.current_island}") |
| 1767 | return self.current_island |
| 1768 | |
| 1769 | def increment_island_generation(self, island_idx: Optional[int] = None) -> None: |
| 1770 | """Increment generation counter for an island""" |
no outgoing calls