refactor folder locations

This commit is contained in:
root
2024-07-10 16:40:03 +08:00
parent 3170d2a3d5
commit 4cdac932d3
25 changed files with 0 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
from tensorneat.common import StatefulBaseClass, State
class BaseMutation(StatefulBaseClass):
def setup(self, state=State(), genome = None):
assert genome is not None, "genome should not be None"
self.genome = genome
return state
def __call__(self, state, randkey, genome, nodes, conns, new_node_key):
raise NotImplementedError