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