public int findNumberByInnovNumber(int linkInnovNum) {
        int number = -1;
        for (int i = 0; i < this.getNumberGenes(); i++) {
            if (genes.get(i).getInnovation_num() == linkInnovNum) {
                number = i;
            }
        }
        return number;
    }