public void ajErrorOutputNode() {
        setMisalignment(this.getPotential() * (1 - this.getPotential()) * (this.getAnswer() - this.getPotential()));

        //Adjustment of synaptic weights on the output layer
        double lErr = this.getMisalignment();
        for (int t = 0; t < this.getIncomingLinksNumber(); t++) {
            double oldWeight = this.getIncomingLink(t).getWeight();
            double out = this.getIncomingLink(t).getIn_node().getPotential();
            double newWeight = oldWeight + NeatClass.p_training_coefficient * lErr * out;
            this.getIncomingLink(t).setWeight(newWeight);
        }

    }