COIN-OR::LEMON - Graph Library

Changeset 1909:2d806130e700 in lemon-0.x for test/test_tools.h


Ignore:
Timestamp:
01/26/06 16:42:13 (14 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2484
Message:

Undir -> U transition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_tools.h

    r1875 r1909  
    134134}
    135135
    136 ///Structure returned by \ref addUndirPetersen().
     136///Structure returned by \ref addUPetersen().
    137137
    138 ///Structure returned by \ref addUndirPetersen().
     138///Structure returned by \ref addUPetersen().
    139139///
    140 template<class Graph> struct UndirPetStruct
     140template<class Graph> struct UPetStruct
    141141{
    142142  ///Vector containing the outer nodes.
     
    145145  std::vector<typename Graph::Node> inner;
    146146  ///Vector containing the edges of the inner circle.
    147   std::vector<typename Graph::UndirEdge> incir;
     147  std::vector<typename Graph::UEdge> incir;
    148148  ///Vector containing the edges of the outer circle.
    149   std::vector<typename Graph::UndirEdge> outcir;
     149  std::vector<typename Graph::UEdge> outcir;
    150150  ///Vector containing the chord edges.
    151   std::vector<typename Graph::UndirEdge> chords;
     151  std::vector<typename Graph::UEdge> chords;
    152152};
    153153
     
    158158
    159159template<typename Graph>
    160 UndirPetStruct<Graph> addUndirPetersen(Graph &G,int num=5)
     160UPetStruct<Graph> addUPetersen(Graph &G,int num=5)
    161161{
    162   UndirPetStruct<Graph> n;
     162  UPetStruct<Graph> n;
    163163
    164164  for(int i=0;i<num;i++) {
Note: See TracChangeset for help on using the changeset viewer.