public void AddConnectionGene(ConnectionGene gene) { connections.Add(gene.getInnovation(), gene); GetNodes()[gene.getOutNode()].AddInNode(GetNodes()[gene.getInNode()], gene); }
public void AddConnectionGene(ConnectionGene gene) { connections.Add(gene.getInnovation(), gene); GetNodes()[gene.getOutNode()].AddInNode(GetNodes()[gene.getInNode()], gene); }