add params key into setup.
This commit is contained in:
@@ -3,7 +3,7 @@ from utils import State
|
||||
|
||||
class BaseMutation:
|
||||
|
||||
def setup(self, state=State()):
|
||||
def setup(self, key, state=State()):
|
||||
return state
|
||||
|
||||
def __call__(self, state, key, genome, nodes, conns, new_node_key):
|
||||
|
||||
Reference in New Issue
Block a user