9 #ifndef _MP_boolean_hpp_
10 #define _MP_boolean_hpp_
63 MP_boolean
operator!(
const MP_boolean& b);
73 MP_boolean
operator&&(
const MP_boolean& e1,
const MP_boolean& e2);
82 MP_boolean
operator||(
const MP_boolean& e1,
const MP_boolean& e2);
92 MP_boolean
alltrue(
const MP_domain& d,
const MP_boolean& b);
111 MP_boolean
operator<=(
const MP_index_exp& e1,
const MP_index_exp& e2);
119 MP_boolean
operator<=(
const Constant& e1,
const Constant& e2);
129 MP_boolean
operator<(
const MP_index_exp& e1,
const MP_index_exp& e2);
137 MP_boolean
operator<(
const Constant& e1,
const Constant& e2);
147 MP_boolean
operator>=(
const MP_index_exp& e1,
const MP_index_exp& e2);
155 MP_boolean
operator>=(
const Constant& e1,
const Constant& e2);
165 MP_boolean
operator>(
const MP_index_exp& e1,
const MP_index_exp& e2);
173 MP_boolean
operator>(
const Constant& e1,
const Constant& e2);
183 MP_boolean
operator==(
const MP_index_exp& e1,
const MP_index_exp& e2);
191 MP_boolean
operator==(
const Constant& e1,
const Constant& e2);
201 MP_boolean
operator!=(
const MP_index_exp& e1,
const MP_index_exp& e2);
209 MP_boolean
operator!=(
const Constant& e1,
const Constant& e2);
friend class MP_domain_base_
MP_boolean alltrue(const MP_domain &d, const MP_boolean &b)
boolean which returns true if all in domain evaluate to true.
Base class for all "boolean" types of data.
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_index_exp &e1, const MP_index_exp &e2)
constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an e...
Reference counted class for all "boolean" types of data.
Utility for doing reference counted pointers.
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...
virtual bool evaluate() const =0
MP_boolean(Boolean_base *r)
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...
Reference counted class for all "constant" types of data.
MP_boolean operator!(const MP_boolean &b)
For computing the logical negation of a booleanThis is used in the normal formation of an expression...
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...
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 &e1, const MP_boolean &e2)
For computing the logical OR of two booleansThis is used in the normal formation of an expression...