lemon/euler.h
changeset 2417 113d381c9160
parent 2391 14a343be7a5a
child 2429 fd51b552bcf2
equal deleted inserted replaced
12:20b92f3637fa 13:d588b1414571
    60     typedef typename Graph::EdgeIt EdgeIt;
    60     typedef typename Graph::EdgeIt EdgeIt;
    61     typedef typename Graph::OutEdgeIt OutEdgeIt;
    61     typedef typename Graph::OutEdgeIt OutEdgeIt;
    62     typedef typename Graph::InEdgeIt InEdgeIt;
    62     typedef typename Graph::InEdgeIt InEdgeIt;
    63     
    63     
    64     const Graph &g;
    64     const Graph &g;
    65     typename Graph::NodeMap<OutEdgeIt> nedge;
    65     typename Graph::template NodeMap<OutEdgeIt> nedge;
    66     std::list<Edge> euler;
    66     std::list<Edge> euler;
    67 
    67 
    68   public:
    68   public:
    69     
    69     
    70     ///Constructor
    70     ///Constructor
   152     typedef typename Graph::EdgeIt EdgeIt;
   152     typedef typename Graph::EdgeIt EdgeIt;
   153     typedef typename Graph::OutEdgeIt OutEdgeIt;
   153     typedef typename Graph::OutEdgeIt OutEdgeIt;
   154     typedef typename Graph::InEdgeIt InEdgeIt;
   154     typedef typename Graph::InEdgeIt InEdgeIt;
   155     
   155     
   156     const Graph &g;
   156     const Graph &g;
   157     typename Graph::NodeMap<OutEdgeIt> nedge;
   157     typename Graph::template NodeMap<OutEdgeIt> nedge;
   158     typename Graph::UEdgeMap<bool> visited;
   158     typename Graph::template UEdgeMap<bool> visited;
   159     std::list<Edge> euler;
   159     std::list<Edge> euler;
   160 
   160 
   161   public:
   161   public:
   162     
   162     
   163     ///Constructor
   163     ///Constructor