Predicate * createPredicateOperator(CSolver *solver, CompOp op, Set ** domain, uint numDomain);
+Predicate * createPredicateTable(CSolver *solver, Table* table, UndefinedBehavior behavior);
+
/** This function creates an empty instance table.*/
Table * createTable(CSolver *solver, Set **domains, uint numDomain, Set * range);
+Table * createTableForPredicate(CSolver *solver, Set **domains, uint numDomain);
/** This function adds an input output relation to a table. */
void addTableEntry(CSolver *solver, Table* table, uint64_t* inputs, uint inputSize, uint64_t result);
/** This function converts a completed table into a function. */
-Function * completeTable(CSolver *, Table *);
+Function * completeTable(CSolver *, Table *, UndefinedBehavior behavior);
/** This function applies a function to the Elements in its input. */
/** This function applies a predicate to the Elements in its input. */
+Boolean * applyPredicateTable(CSolver *, Predicate * predicate, Element ** inputs, uint numInputs, Boolean* undefinedStatus);
+
Boolean * applyPredicate(CSolver *, Predicate * predicate, Element ** inputs, uint numInputs);
/** This function applies a logical operation to the Booleans in its input. */
/** After getting the solution from the SAT solver, client can get the value of a boolean via this function*/
bool getBooleanValue( CSolver* , Boolean* boolean);
-HappenedBefore getOrderConstraintValue(CSolver*, Boolean* orderConstr);
+HappenedBefore getOrderConstraintValue(CSolver*, Order * order, uint64_t first, uint64_t second);
#endif