+ PredExprSet * get_pred_expressions() { return &pred_expressions; }
+
+ void add_predicate_expr(token_t token, FuncInst * func_inst, bool value);
+ void add_child(Predicate * child);
+ void set_parent(Predicate * parent_pred);
+ void set_exit(Predicate * exit_pred);
+ void add_backedge(Predicate * back_pred) { backedges.add(back_pred); }
+ void set_weight(double weight_) { weight = weight_; }
+ void copy_predicate_expr(Predicate * other);
+
+ Predicate * follow_write_child(FuncInst * inst);
+ ModelVector<Predicate *> * get_children() { return &children; }
+ Predicate * get_parent() { return parent; }
+ Predicate * get_exit() { return exit; }
+ PredSet * get_backedges() { return &backedges; }
+ double get_weight() { return weight; }
+
+ bool is_entry_predicate() { return entry_predicate; }
+ void set_entry_predicate() { entry_predicate = true; }
+
+ /* Whether func_inst does write or not */
+ bool is_write() { return does_write; }
+ void set_write(bool is_write) { does_write = is_write; }
+
+ ConcretePredicate * evaluate(inst_act_map_t * inst_act_map, thread_id_t tid);
+
+ uint32_t get_expl_count() { return exploration_count; }
+ uint32_t get_fail_count() { return failure_count; }
+ uint32_t get_store_visible_count() { return store_visible_count; }
+ uint32_t get_total_checking_count() { return total_checking_count; }
+
+ void incr_expl_count() { exploration_count++; }
+ void incr_fail_count() { failure_count++; }
+ void incr_store_visible_count() { store_visible_count++; }
+ void incr_total_checking_count() { total_checking_count++; }
+
+ uint32_t get_depth() { return depth; }
+ void set_depth(uint32_t depth_) { depth = depth_; }
+
+ void print_predicate();
+ void print_pred_subtree();