def remove(self, genome: conn.Connection): self.__genomes.remove(genome) self.__remove_node(genome.get_in_out_nodes())
def add(self, genome: conn.Connection): self.__genomes.add(genome) # unpack tuple into separated arguments self.__add_node(genome.get_in_out_nodes())