X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=nodestack.h;h=941178d7be453267b7556a1226c4883a11128d9e;hb=dc9c89654982c64264dfee7b1ea23e9a5e88e18e;hp=47c72678aa13cffb9294e6a7d842860136e37baf;hpb=ffb2033ac6b31407810703b65ae0fbaeb9c0da59;p=model-checker.git diff --git a/nodestack.h b/nodestack.h index 47c7267..941178d 100644 --- a/nodestack.h +++ b/nodestack.h @@ -56,6 +56,7 @@ public: /* return true = backtrack set is empty */ bool backtrack_empty() const; + void clear_backtracking(); void explore_child(ModelAction *act, enabled_type_t *is_enabled); /* return false = thread was already in backtrack */ bool set_backtrack(thread_id_t id); @@ -71,7 +72,7 @@ public: * occurred previously in the stack. */ Node * get_parent() const { return parent; } - bool add_future_value(struct future_value& fv); + bool add_future_value(struct future_value fv); struct future_value get_future_value() const; bool increment_future_value(); bool future_value_empty() const;