# HG changeset patch # User alpar # Date 1094713781 0 # Node ID 738abd9d1262af88dc21e3fa307a1caa97a3be51 # Parent 157115b5814a00b9c66106e915e94692171c3837 Improved docs. diff -r 157115b5814a -r 738abd9d1262 src/hugo/list_graph.h --- a/src/hugo/list_graph.h Thu Sep 09 07:09:11 2004 +0000 +++ b/src/hugo/list_graph.h Thu Sep 09 07:09:41 2004 +0000 @@ -25,15 +25,13 @@ /// \addtogroup graphs /// @{ -// class SymListGraph; - ///A list graph class. ///This is a simple and fast erasable graph implementation. /// ///It conforms to the graph interface documented under - ///the description of \ref GraphSkeleton. - ///\sa \ref GraphSkeleton. + ///the description of \ref ErasableGraphSkeleton. + ///\sa \ref ErasableGraphSkeleton. class ListGraph { //Nodes are double linked. @@ -42,7 +40,6 @@ { int first_in,first_out; int prev, next; - // NodeT() {} }; //Edges are double linked. //The free edges are only single linked using the "next_in" field. @@ -51,8 +48,6 @@ int head, tail; int prev_in, prev_out; int next_in, next_out; - //FIXME: is this necessary? - // EdgeT() : next_in(-1), next_out(-1) prev_in(-1), prev_out(-1) {} }; std::vector nodes; diff -r 157115b5814a -r 738abd9d1262 src/test/test_tools.h --- a/src/test/test_tools.h Thu Sep 09 07:09:11 2004 +0000 +++ b/src/test/test_tools.h Thu Sep 09 07:09:41 2004 +0000 @@ -34,10 +34,16 @@ /// template struct PetStruct { - ///. - std::vector outer, inner; - ///. - std::vector outcir, incir, chords; + ///Vector containing the outer nodes. + std::vector outer; + ///Vector containing the inner nodes. + std::vector inner; + ///Vector containing the edges of the inner circle. + std::vector incir; + ///Vector containing the edges of the outer circle. + std::vector outcir; + ///Vector containing the chord edges. + std::vector chords; }; @@ -45,7 +51,7 @@ ///Adds a Petersen graph to \c G. ///Adds a Petersen graph to \c G. -///The nodes end edges will be listed in the return structure. +///\return The nodes end edges og the generated graph. template PetStruct addPetersen(Graph &G,int num=5)