X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=cyclegraph.h;h=d5c6a92af78715de0ff4f2c323a578b7a43f6ff1;hb=7524803854c2de38c0311fe5037e3c17105ccfaa;hp=3f1c9330b4b14631fe70959a0827e70a8d2139bd;hpb=438b20cfc07029629c03b4f219c190cbdb5b9d1b;p=model-checker.git diff --git a/cyclegraph.h b/cyclegraph.h index 3f1c933..d5c6a92 100644 --- a/cyclegraph.h +++ b/cyclegraph.h @@ -9,7 +9,7 @@ #ifndef __CYCLEGRAPH_H__ #define __CYCLEGRAPH_H__ -#include +#include "stl_wrappers.h" #include #include @@ -21,7 +21,7 @@ class Promise; class CycleNode; class ModelAction; -typedef std::vector< const Promise *, ModelAlloc > promise_list_t; +typedef model_vector< const Promise * > promise_list_t; /** @brief A graph of Model Actions for tracking cycles. */ class CycleGraph { @@ -68,6 +68,8 @@ class CycleGraph { bool mergeNodes(CycleNode *node1, CycleNode *node2); HashTable *discovered; + model_vector< const CycleNode * > * queue; + /** @brief A table for mapping ModelActions to CycleNodes */ HashTable actionToNode;