lemon/bits/graph_adaptor_extender.h
changeset 1201 1f4f01870c1e
parent 1130 0759d974de81
equal deleted inserted replaced
9:544d34b64245 10:b9c6666f5686
    83         return *this;
    83         return *this;
    84       }
    84       }
    85 
    85 
    86     };
    86     };
    87 
    87 
    88     LemonRangeWrapper1<NodeIt, Adaptor> nodes() {
    88     LemonRangeWrapper1<NodeIt, Adaptor> nodes() const {
    89       return LemonRangeWrapper1<NodeIt, Adaptor>(*this);
    89       return LemonRangeWrapper1<NodeIt, Adaptor>(*this);
    90     }
    90     }
    91 
    91 
    92     class ArcIt : public Arc {
    92     class ArcIt : public Arc {
    93       const Adaptor* _adaptor;
    93       const Adaptor* _adaptor;
   109         return *this;
   109         return *this;
   110       }
   110       }
   111 
   111 
   112     };
   112     };
   113 
   113 
   114     LemonRangeWrapper1<ArcIt, Adaptor> arcs() {
   114     LemonRangeWrapper1<ArcIt, Adaptor> arcs() const {
   115       return LemonRangeWrapper1<ArcIt, Adaptor>(*this);
   115       return LemonRangeWrapper1<ArcIt, Adaptor>(*this);
   116     }
   116     }
   117 
   117 
   118 
   118 
   119     class OutArcIt : public Arc {
   119     class OutArcIt : public Arc {
   267         return *this;
   267         return *this;
   268       }
   268       }
   269 
   269 
   270     };
   270     };
   271 
   271 
   272     LemonRangeWrapper1<NodeIt, Adaptor> nodes() {
   272     LemonRangeWrapper1<NodeIt, Adaptor> nodes() const {
   273       return LemonRangeWrapper1<NodeIt, Adaptor>(*this);
   273       return LemonRangeWrapper1<NodeIt, Adaptor>(*this);
   274     }
   274     }
   275 
   275 
   276 
   276 
   277     class ArcIt : public Arc {
   277     class ArcIt : public Arc {
   294         return *this;
   294         return *this;
   295       }
   295       }
   296 
   296 
   297     };
   297     };
   298 
   298 
   299     LemonRangeWrapper1<ArcIt, Adaptor> arcs() {
   299     LemonRangeWrapper1<ArcIt, Adaptor> arcs() const {
   300       return LemonRangeWrapper1<ArcIt, Adaptor>(*this);
   300       return LemonRangeWrapper1<ArcIt, Adaptor>(*this);
   301     }
   301     }
   302 
   302 
   303 
   303 
   304     class OutArcIt : public Arc {
   304     class OutArcIt : public Arc {
   376         return *this;
   376         return *this;
   377       }
   377       }
   378 
   378 
   379     };
   379     };
   380 
   380 
   381     LemonRangeWrapper1<EdgeIt, Adaptor> edges() {
   381     LemonRangeWrapper1<EdgeIt, Adaptor> edges() const {
   382       return LemonRangeWrapper1<EdgeIt, Adaptor>(*this);
   382       return LemonRangeWrapper1<EdgeIt, Adaptor>(*this);
   383     }
   383     }
   384 
   384 
   385 
   385 
   386     class IncEdgeIt : public Edge {
   386     class IncEdgeIt : public Edge {