public static int getType(Neuron n){
        if(n instanceof InputNeuron_Add)
            return 1;
        if(n instanceof OutputNeuron_Add)
            return 2;
        if(n instanceof Neuron_Add)
            return 3;
        if(n instanceof DistanceThresholdChecker)
            return 4;
        if(n instanceof PitChecker)
            return 5;
        if(n instanceof HorizontalChecker)
            return 6;
        if(n instanceof VerticalChecker)
            return 7;
        return 3; //default
    }