src/main/java/org/thegalactic/context/constraint/categorical/CategoricalStorage.java
public CategoricalStorage reduce(final CategoricalValue value, final boolean truth) {
        if (this.model.equals(value.getModel())) {
            final int index = value.index();
            this.values.set(index, truth && this.values.get(index));
            return this;
        } else {
            throw new IllegalArgumentException(EXCEPTION_VALUE);
        }
    }
/**
     * Reduce truth value.
     *
     * @param value CategoricalValue to reduce
     * @param truth truth value
     *
     * @return this for chaining.
     */
Reduce truth value.
@param value CategoricalValue to reduce
@param truth truth value

@return this for chaining.
Reduce truth value . @param value CategoricalValue to reduce @param truth truth value @return this for chaining .
public CategoricalStorage reduce(final CategoricalValue value, final boolean truth) {
        if (this.model.equals(value.getModel())) {
            final int index = value.index();
            this.values.set(index, truth && this.values.get(index));
            return this;
        } else {
            throw new IllegalArgumentException(EXCEPTION_VALUE);
        }
    }
public CategoricalStorage reduce ( final CategoricalValue value , final boolean truth ) { if ( this . model . equals ( value . getModel ( ) ) ) { final int index = value . index ( ) ; this . values . set ( index , truth && this . values . get ( index ) ) ; return this ; } else { throw new IllegalArgumentException ( EXCEPTION_VALUE ) ; } }
Reduce truth value.
Reduce truth value .