X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=nodestack.h;h=8df67838c87c362518bdd3100bddcd4663254475;hb=85683f798e0955c43cf6cd8099713c45d9ce882b;hp=1f7d3e4ad3fee660027e974261b8083b3a99e0c3;hpb=c7f10b7c489c0c186bfe34dd1d87ae8b89d501ff;p=model-checker.git diff --git a/nodestack.h b/nodestack.h index 1f7d3e4..8df6783 100644 --- a/nodestack.h +++ b/nodestack.h @@ -98,24 +98,24 @@ private: ModelAction *action; Node *parent; int num_threads; - std::vector< bool, MyAlloc > explored_children; - std::vector< bool, MyAlloc > backtrack; - std::vector< struct fairness_info, MyAlloc< struct fairness_info> > fairness; + std::vector< bool, ModelAlloc > explored_children; + std::vector< bool, ModelAlloc > backtrack; + std::vector< struct fairness_info, ModelAlloc< struct fairness_info> > fairness; int numBacktracks; bool *enabled_array; /** The set of ModelActions that this the action at this Node may read * from. Only meaningful if this Node represents a 'read' action. */ - std::vector< const ModelAction *, MyAlloc< const ModelAction * > > may_read_from; + std::vector< const ModelAction *, ModelAlloc< const ModelAction * > > may_read_from; unsigned int read_from_index; - std::vector< struct future_value, MyAlloc > future_values; - std::vector< promise_t, MyAlloc > promises; - unsigned int future_index; + std::vector< struct future_value, ModelAlloc > future_values; + std::vector< promise_t, ModelAlloc > promises; + int future_index; }; -typedef std::vector< Node *, MyAlloc< Node * > > node_list_t; +typedef std::vector< Node *, ModelAlloc< Node * > > node_list_t; /** * @brief A stack of nodes