Changeset 1909:2d806130e700 in lemon-0.x for test/test_tools.h
- Timestamp:
- 01/26/06 16:42:13 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2484
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/test_tools.h
r1875 r1909 134 134 } 135 135 136 ///Structure returned by \ref addU ndirPetersen().136 ///Structure returned by \ref addUPetersen(). 137 137 138 ///Structure returned by \ref addU ndirPetersen().138 ///Structure returned by \ref addUPetersen(). 139 139 /// 140 template<class Graph> struct U ndirPetStruct140 template<class Graph> struct UPetStruct 141 141 { 142 142 ///Vector containing the outer nodes. … … 145 145 std::vector<typename Graph::Node> inner; 146 146 ///Vector containing the edges of the inner circle. 147 std::vector<typename Graph::U ndirEdge> incir;147 std::vector<typename Graph::UEdge> incir; 148 148 ///Vector containing the edges of the outer circle. 149 std::vector<typename Graph::U ndirEdge> outcir;149 std::vector<typename Graph::UEdge> outcir; 150 150 ///Vector containing the chord edges. 151 std::vector<typename Graph::U ndirEdge> chords;151 std::vector<typename Graph::UEdge> chords; 152 152 }; 153 153 … … 158 158 159 159 template<typename Graph> 160 U ndirPetStruct<Graph> addUndirPetersen(Graph &G,int num=5)160 UPetStruct<Graph> addUPetersen(Graph &G,int num=5) 161 161 { 162 U ndirPetStruct<Graph> n;162 UPetStruct<Graph> n; 163 163 164 164 for(int i=0;i<num;i++) {
Note: See TracChangeset
for help on using the changeset viewer.