@Override
    public void configure(String parameters) {
        if (parameters.isEmpty()) {
            return;
        }
        List<String> values = Op.split(parameters, " ", true);
        final int required = 2;
        if (values.size() < required) {
            throw new RuntimeException(MessageFormat.format(
                    "[configuration error] activation {0} requires {1} parameters",
                    this.getClass().getSimpleName(), required));
        }

        setComparison(Comparison.fromOperator(values.get(0)));
        setValue(Op.toDouble(values.get(1)));
    }
@ Override public void configure ( String parameters ) { if ( parameters . isEmpty ( ) ) { return ; } List < String > values = Op . split ( parameters , " " , true ) ; final int required = 2 ; if ( values . size ( ) < required ) { throw new RuntimeException ( MessageFormat . format ( "[configuration error] activation {0} requires {1} parameters" , this . getClass ( ) . getSimpleName ( ) , required ) ) ; } setComparison ( Comparison . fromOperator ( values . get ( 0 ) ) ) ; setValue ( Op . toDouble ( values . get ( 1 ) ) ) ; }
Configures the activation method with the comparison operator and the
threshold.

@param parameters is the comparison operator and threshold