Changeset 1716:d8c28868f074 in lemon0.x for test
 Timestamp:
 10/07/05 13:05:35 (15 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2243
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

test/test_tools.h
r1435 r1716 130 130 } 131 131 132 ///Structure returned by \ref add SymPetersen().132 ///Structure returned by \ref addUndirPetersen(). 133 133 134 ///Structure returned by \ref add SymPetersen().134 ///Structure returned by \ref addUndirPetersen(). 135 135 /// 136 template<class Graph> struct SymPetStruct136 template<class Graph> struct UndirPetStruct 137 137 { 138 138 ///Vector containing the outer nodes. … … 141 141 std::vector<typename Graph::Node> inner; 142 142 ///Vector containing the edges of the inner circle. 143 std::vector<typename Graph:: SymEdge> incir;143 std::vector<typename Graph::UndirEdge> incir; 144 144 ///Vector containing the edges of the outer circle. 145 std::vector<typename Graph:: SymEdge> outcir;145 std::vector<typename Graph::UndirEdge> outcir; 146 146 ///Vector containing the chord edges. 147 std::vector<typename Graph:: SymEdge> chords;147 std::vector<typename Graph::UndirEdge> chords; 148 148 }; 149 149 150 ///Adds a Petersen graph to the symmetric\c G.150 ///Adds a Petersen graph to the undirected \c G. 151 151 152 ///Adds a Petersen graph to the symmetric\c G.152 ///Adds a Petersen graph to the undirected \c G. 153 153 ///\return The nodes and edges of the generated graph. 154 154 155 155 template<typename Graph> 156 SymPetStruct<Graph> addSymPetersen(Graph &G,int num=5)156 UndirPetStruct<Graph> addUndirPetersen(Graph &G,int num=5) 157 157 { 158 SymPetStruct<Graph> n;158 UndirPetStruct<Graph> n; 159 159 160 160 for(int i=0;i<num;i++) {
Note: See TracChangeset
for help on using the changeset viewer.