src/main/constants/MoConstants.java
// EFFECTS: sets the max and min weights for the neural network
sets the max and min weights for the neural network
sets the max and min weights for the neural network
public static void changeMaxMin(float max, float min) throws IllegalRatio {
        if (min > max) {
            throw new IllegalRatio();
        }
        MAX_WEIGHT = max;
        MIN_WEIGHT = min;
    }
public static void changeMaxMin ( float max , float min ) throws IllegalRatio { if ( min > max ) { throw new IllegalRatio ( ) ; } MAX_WEIGHT = max ; MIN_WEIGHT = min ; }
EFFECTS: sets the max and min weights for the neural network
EFFECTS : sets the max and min weights for the neural network