57 return !(B->evaluate());
67 return left->evaluate() && right->evaluate();
77 return left->evaluate() || right->evaluate();
104 bool evaluate()
const;
113 bool evaluate()
const;
124 bool evaluate()
const;
132 bool evaluate()
const;
140 bool evaluate()
const;
148 bool evaluate()
const;
204 using namespace flopc;
215 return (
left->evaluate() <=
right->evaluate());
218 return (
left->evaluate() <
right->evaluate());
221 return (
left->evaluate() >=
right->evaluate());
224 return (
left->evaluate() >
right->evaluate());
227 return (
left->evaluate() ==
right->evaluate());
230 return (
left->evaluate() !=
right->evaluate());
Boolean_less(const Constant &e1, const Constant &e2)
MP_boolean operator&&(const MP_boolean &e1, const MP_boolean &e2)
For computing the logical AND of two booleansThis is used in the normal formation of an expression...
MP_boolean operator!=(const MP_index_exp &e1, const MP_index_exp &e2)
constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an e...
MP_boolean operator>=(const MP_index_exp &e1, const MP_index_exp &e2)
constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an e...
MP_boolean operator!(const MP_boolean &b)
For computing the logical negation of a booleanThis is used in the normal formation of an expression...
Base class for all "boolean" types of data.
MP_boolean operator||(const MP_boolean &e1, const MP_boolean &e2)
For computing the logical OR of two booleansThis is used in the normal formation of an expression...
MP_boolean operator<=(const MP_index_exp &e1, const MP_index_exp &e2)
constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an e...
Representation of an index.This is one of the main public interface classes. It is used to iterate th...
Internal representation of a "set".
MP_boolean operator>(const MP_index_exp &e1, const MP_index_exp &e2)
constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an e...
Utility for doing reference counted pointers.
Boolean_alltrue(const MP_domain &d, const MP_boolean &b)
Boolean_not_equal(const Constant &e1, const Constant &e2)
Comparison(const Constant &e1, const Constant &e2)
Boolean_negate(const MP_boolean &b)
Representation of an expression involving an index.This is one of the main public interface classes...
MP_boolean operator<(const MP_index_exp &e1, const MP_index_exp &e2)
constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an e...
Boolean_equal(const Constant &e1, const Constant &e2)
Boolean_or(const MP_boolean &e1, const MP_boolean &e2)
const int outOfBound
Distinct return value on conditions where an index goes out of bounds.
Boolean_greater(const Constant &e1, const Constant &e2)
Boolean_lessEq(const Constant &e1, const Constant &e2)
Reference counted class for all "boolean" types of data.This contains counters to ConstantBase pointe...
Range over which some other constuct is defined.This is one of the main public interface classes...
Reference counted class for all "constant" types of data.
MP_boolean alltrue(const MP_domain &d, const MP_boolean &b)
boolean which returns true if all in domain evaluate to true.This is used in the normal formation of ...
MP_boolean operator==(const MP_index_exp &e1, const MP_index_exp &e2)
constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an e...
Boolean_and(const MP_boolean &e1, const MP_boolean e2)
Boolean_Constant(const Constant &c)
Boolean_greaterEq(const Constant &e1, const Constant &e2)
Boolean_SUBSETREF(SUBSETREF &c)