Class UnaryOr
- All Implemented Interfaces:
FixedPointConstants
Operator U(n) = U(n) | U(j)
-
Field Summary
Fields inherited from interface FixedPointConstants
CHANGED, CHANGED_AND_FIXED, CHANGED_MASK, FIXED_MASK, NOT_CHANGED, NOT_CHANGED_AND_FIXED, SIDE_EFFECT_MASK -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyteevaluate(@Nullable BooleanVariable lhs, BooleanVariable rhs) Evaluate this equation, setting a new value for the left-hand side.inthashCode()static UnaryOrinstance()toString()Methods inherited from class UnaryOperator
evaluate, isIdentity, makeEquation
-
Method Details
-
instance
-
evaluate
public byte evaluate(@Nullable BooleanVariable lhs, BooleanVariable rhs) throws IllegalArgumentException Description copied from class:UnaryOperatorEvaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluatein classUnaryOperator<BooleanVariable>- Returns:
- a constant defined by
FixedPointConstantsthat reflects whether the lhs value changed - Throws:
IllegalArgumentException
-
toString
- Specified by:
toStringin classAbstractOperator<BooleanVariable>
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractOperator<BooleanVariable>
-
equals
- Specified by:
equalsin classAbstractOperator<BooleanVariable>
-