# Changeset 1716:d8c28868f074 in lemon-0.x for test/test_tools.h

Ignore:
Timestamp:
10/07/05 13:05:35 (14 years ago)
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2243
Message:

Sym -> Undir

File:
1 edited

Unmodified
Added
Removed
• ## test/test_tools.h

 r1435 } ///Structure returned by \ref addSymPetersen(). ///Structure returned by \ref addUndirPetersen(). ///Structure returned by \ref addSymPetersen(). ///Structure returned by \ref addUndirPetersen(). /// template struct SymPetStruct template struct UndirPetStruct { ///Vector containing the outer nodes. std::vector inner; ///Vector containing the edges of the inner circle. std::vector incir; std::vector incir; ///Vector containing the edges of the outer circle. std::vector outcir; std::vector outcir; ///Vector containing the chord edges. std::vector chords; std::vector chords; }; ///Adds a Petersen graph to the symmetric \c G. ///Adds a Petersen graph to the undirected \c G. ///Adds a Petersen graph to the symmetric \c G. ///Adds a Petersen graph to the undirected \c G. ///\return The nodes and edges of the generated graph. template SymPetStruct addSymPetersen(Graph &G,int num=5) UndirPetStruct addUndirPetersen(Graph &G,int num=5) { SymPetStruct n; UndirPetStruct n; for(int i=0;i
Note: See TracChangeset for help on using the changeset viewer.