private Gene matchingGeneSelect_firstMethod(Gene par1, Gene par2) {
        double averWeigth = (par1.getLink().getWeight() + par2.getLink().getWeight()) / 2;
        int x = (Math.random() < 0.5) ? 0 : 1;
        if (x == 0) {
            Link copyLink = new Link(averWeigth, par1.getLink());
            Gene g = new Gene(copyLink, par1.getInnovation_num(), par1.isEnable());
            return g;
        } else {
            Link copyLink = new Link(averWeigth, par2.getLink());
            Gene g = new Gene(copyLink, par2.getInnovation_num(), par2.isEnable());
            return g;
        }
    }