示例#1
0
 def remove(self, genome: conn.Connection):
     self.__genomes.remove(genome)
     self.__remove_node(genome.get_in_out_nodes())
示例#2
0
    def add(self, genome: conn.Connection):
        self.__genomes.add(genome)

        # unpack tuple into separated arguments
        self.__add_node(genome.get_in_out_nodes())