7 Boolean::Boolean(ASTNodeType _type) :
10 boolVal(BV_UNDEFINED),
14 BooleanVar::BooleanVar(VarType t) :
20 BooleanOrder::BooleanOrder(Order *_order, uint64_t _first, uint64_t _second) :
25 order->constraints.push(this);
28 BooleanPredicate::BooleanPredicate(Predicate *_predicate, Element **_inputs, uint _numInputs, Boolean *_undefinedStatus) :
30 predicate(_predicate),
31 inputs(_inputs, _numInputs),
32 undefStatus(_undefinedStatus) {
33 for (uint i = 0; i < _numInputs; i++) {
34 GETELEMENTPARENTS(_inputs[i])->push(this);
36 initPredicateEncoding(&encoding, this);
39 BooleanLogic::BooleanLogic(CSolver *solver, LogicOp _op, Boolean **array, uint asize) :
42 inputs(array, asize) {
43 solver->allBooleans.push(this);
46 BooleanPredicate::~BooleanPredicate() {
47 deleteFunctionEncoding(&encoding);