X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FGraph.h;h=2f5de3de36fd6812eee65ed114a771e7ffcf9b33;hb=b80e9503feea2e66c0bcc2b45b413aad1a9a61e2;hp=50d8bf855da73919e7ac67a5f3bdfc77f6ad2ee3;hpb=4685a3e5a8ad3a4e519b8e3645922c9df2095f62;p=lyx.git diff --git a/src/Graph.h b/src/Graph.h index 50d8bf855d..2f5de3de36 100644 --- a/src/Graph.h +++ b/src/Graph.h @@ -49,17 +49,17 @@ private: /// bool bfs_init(int, bool clear_visited, std::queue & Q); /// these represent the arrows connecting the nodes of the graph. - /// this is the basic representation of the graph: as a bunch of + /// this is the basic representation of the graph: as a bunch of /// arrows. struct Arrow { /// - Arrow(int f, int t, int i): + Arrow(int f, int t, int i): from(f), to(t), id(i) {} /// the vertex at the tail of the arrow int from; /// the vertex at the head int to; - /// an id for this arrow, e.g., for use in describing paths + /// an id for this arrow, e.g., for use in describing paths /// through the graph int id; }; @@ -87,7 +87,7 @@ private: /// of Format, this is easy, since the Format objects already have ints /// as identifiers.) std::vector 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