public double countDistanceDelta(Organism organism2) {
        double delta;
        int E = this.getNumberExcess(organism2);
        int D = this.getNumberDisjoint(organism2);
        double W = this.averageWeigthDiff(organism2);
        int N;
        if (this.getGenome().getNumberGenes() >= organism2.getGenome().getNumberGenes()) {
            N = this.getGenome().getNumberGenes();
        } else {
            N = organism2.getGenome().getNumberGenes();
        }
        delta = NeatClass.p_excess_coeff * E / N + NeatClass.p_disjoint_coeff * D / N + NeatClass.p_mutdiff_coeff * W;
        return (delta);
    }