1.1 --- a/src/test/test_tools.h Thu Sep 09 07:09:11 2004 +0000
1.2 +++ b/src/test/test_tools.h Thu Sep 09 07:09:41 2004 +0000
1.3 @@ -34,10 +34,16 @@
1.4 ///
1.5 template<class Graph> struct PetStruct
1.6 {
1.7 - ///.
1.8 - std::vector<typename Graph::Node> outer, inner;
1.9 - ///.
1.10 - std::vector<typename Graph::Edge> outcir, incir, chords;
1.11 + ///Vector containing the outer nodes.
1.12 + std::vector<typename Graph::Node> outer;
1.13 + ///Vector containing the inner nodes.
1.14 + std::vector<typename Graph::Node> inner;
1.15 + ///Vector containing the edges of the inner circle.
1.16 + std::vector<typename Graph::Edge> incir;
1.17 + ///Vector containing the edges of the outer circle.
1.18 + std::vector<typename Graph::Edge> outcir;
1.19 + ///Vector containing the chord edges.
1.20 + std::vector<typename Graph::Edge> chords;
1.21 };
1.22
1.23
1.24 @@ -45,7 +51,7 @@
1.25 ///Adds a Petersen graph to \c G.
1.26
1.27 ///Adds a Petersen graph to \c G.
1.28 -///The nodes end edges will be listed in the return structure.
1.29 +///\return The nodes end edges og the generated graph.
1.30
1.31 template<typename Graph>
1.32 PetStruct<Graph> addPetersen(Graph &G,int num=5)