- ///
- static std::vector<Vertex> vertices_;
- /// used to keep track of which vertices we have seen
- std::vector<bool> visited_;
- ///
- std::queue<int> Q_;
-
+ /// a container for the vertices
+ /// the index into the vector functions as the identifier by which
+ /// these are referenced in the Arrow struct
+ /// the code making use of the Graph must keep track of the relation
+ /// between these indices and the objects they represent. (in the case
+ /// of Format, this is easy, since the Format objects already have ints
+ /// as identifiers.)
+ std::vector<Vertex> vertices_;
+
+ /// a counter that we use to assign id's to the arrows
+ /// FIXME This technique assumes a correspondence between the
+ /// ids of the arrows and ids associated with Converters that
+ /// seems kind of fragile. Perhaps a better solution would be
+ /// to pass the ids as we create the arrows.