return set;
}
+Element *CSolver::createRangeVar(VarType type, uint64_t lowrange, uint64_t highrange) {
+ Set *s = createRangeSet(type, lowrange, highrange);
+ return getElementVar(s);
+}
+
MutableSet *CSolver::createMutableSet(VarType type) {
MutableSet *set = new MutableSet(type);
allSets.push(set);
}
}
+bool CSolver::isTrue(Boolean *b) {
+ return b->isTrue();
+}
+
+bool CSolver::isFalse(Boolean *b) {
+ return b->isFalse();
+}
+
Boolean *CSolver::applyLogicalOperation(LogicOp op, Boolean **array, uint asize) {
Boolean * newarray[asize];
switch(op) {
Set *createRangeSet(VarType type, uint64_t lowrange, uint64_t highrange);
+ Element *createRangeVar(VarType type, uint64_t lowrange, uint64_t highrange);
+
/** This function creates a mutable set. */
MutableSet *createMutableSet(VarType type);
HappenedBefore getOrderConstraintValue(Order *order, uint64_t first, uint64_t second);
+ bool isTrue(Boolean *b);
+ bool isFalse(Boolean *b);
+
void setUnSAT() { unsat = true; }
bool isUnSAT() { return unsat; }