def parse_config(cls, param_dict):
     param_dict['node_gene_type'] = GuidedMapNodeGene
     param_dict['connection_gene_type'] = GuidedMapConnectionGene
     return DefaultGenomeConfig(param_dict)
Beispiel #2
0
 def parse_config(cls, param_dict):
     param_dict['node_gene_type'] = TensorGene
     param_dict['connection_gene_type'] = DefaultConnectionGene
     return DefaultGenomeConfig(param_dict)
Beispiel #3
0
 def __init__(self, *args, **kwargs):
     DefaultGenomeConfig.__init__(self, *args, **kwargs)
     params = kwargs['params']
     for p in self.gru_params:
         self._params.append(p)
         setattr(self, p.name, p.interpret(params))