Files
tensorneat-mend/algorithm/neat/species/base.py
2024-01-27 00:52:39 +08:00

14 lines
346 B
Python

from utils import State
class BaseSpecies:
def setup(self, randkey):
raise NotImplementedError
def ask(self, state: State):
raise NotImplementedError
def update_species(self, state, fitness, generation):
raise NotImplementedError
def speciate(self, state, generation):
raise NotImplementedError