Classes | |
struct | refactor_lessthan |
Public Member Functions | |
CNode * | get_simplification (simplification_level min_level) |
void | set_simplification (CNode *simplified_node, simplification_level level) |
CNode * | refactor () |
CNode * | make_canonical () |
bool | check_canonical () |
CNode * | get_attribute_constraints () |
virtual CNode * | substitute (map< Term *, Term * > &subs)=0 |
CNode * | substitute (Term *(*sub_func)(Term *t)) |
CNode * | substitute (Term *t1, Term *t2) |
CNode * | substitute (Term *(*sub_func)(Term *t, void *data), void *my_data) |
CNode * | substitute (map< CNode *, CNode * > &subs) |
cnode_type | get_type () const |
virtual bool | operator== (const CNode &other)=0 |
virtual string | to_string ()=0 |
string | to_prefix_notation () |
bool | is_leaf () const |
bool | is_literal () const |
bool | is_connective () const |
bool | is_conjunct () const |
bool | is_disjunct () const |
bool | has_quantifier () const |
bool | contains_inequality () |
bool | is_constant () const |
size_t | hash_code () |
void | get_vars (set< string > &vars) |
void | get_vars (set< int > &vars) |
void | get_vars (set< Term * > &vars) |
bool | contains_var (int var_id) |
bool | contains_term (Term *t) |
bool | contains_term (set< Term * > &terms) |
CNode * | rename_variable (int old_var_id, int new_var_id) |
CNode * | rename_variables (map< int, int > &replacements) |
void | get_nested_terms (set< Term * > &terms, bool include_function_subterms, bool include_constants=true) |
CNode * | add_attributes (set< Term * > *which_terms=NULL) |
Term * | contains_term_equality (Term *t) |
void | collect_term_equalities (Term *t, set< Term * > &eqs) |
CNode * | replace_leaves_containing_term (Term *t, CNode *replacement) |
CNode * | replace (CNode *orig, CNode *replacement) |
int | num_leaves_containing_term (Term *t) |
void | get_all_literals (set< CNode * > &literals) |
void | get_all_leaves (set< CNode * > &leaves) |
void | get_literals_containing_term (Term *t, set< CNode * > &leaves) |
CNode * | fold_negated_ilps () |
int | get_size () |
CNode * | evaluate_assignment (map< Term *, SatValue > &assignment) |
CNode * | evaluate_assignment (map< CNode *, bool > &assignments) |
void | get_all_fun_ids (set< int > &ids) |
void | get_all_arguments (int fun_id, int arg_num, set< Term * > &args) |
CNode * | replace_first_argument (map< int, Term * > &fun_id_to_replacement) |
void | get_all_first_arguments (set< int > &fn_ids, map< int, set< Term * > > &fn_id_to_first_arg) |
void | get_all_ilp_terms (set< Term * > &ilp_terms) |
CNode * | rewrite_ilp_neqs (set< Term * > &ilp_terms) |
virtual CNode * | divide (long int c, Term *t) |
CNode * | to_cnf () |
int | num_disjuncts () |
Static Public Member Functions | |
static CNode * | uniquify_cnode (CNode *node) |
static VarMap & | get_varmap () |
static CNode * | true_node () |
static CNode * | false_node () |
static void | clear () |
Public Attributes | |
size_t | hash_c |
cnode_type | node_type |
CNode * | negations_folded |
CNode * | negation |
CNode * | factorization |
Static Public Attributes | |
static VarMap | vm |
static unordered_set< CNode *, std::hash< CNode * > , node_eq > | nodes |
static bool | delete_nodes = true |
static unordered_map< pair < int, CNode * >, CNode * > | simp_map |
Static Protected Member Functions | |
static CNode * | get_node (CNode *node) |
static CNode * | uniquify_cnode_rec (CNode *node) |
Static Protected Attributes | |
static set< CNode * > | to_delete |
Friends | |
class | Term |
class | boost::serialization::access |