Changes in lemon/core.h [319:5e12d7734036:440:88ed40ad0d4f] in lemon-1.2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/core.h
r319 r440 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-200 85 * Copyright (C) 2003-2009 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 1171 1171 /// Construct a new ConEdgeIt iterating on the edges that 1172 1172 /// connects nodes \c u and \c v. 1173 ConEdgeIt(const Graph& g, Node u, Node v) : _graph(g) {1174 Parent::operator=(findEdge(_graph, u,v));1173 ConEdgeIt(const Graph& g, Node u, Node v) : _graph(g), _u(u), _v(v) { 1174 Parent::operator=(findEdge(_graph, _u, _v)); 1175 1175 } 1176 1176 … … 1184 1184 /// It increments the iterator and gives back the next edge. 1185 1185 ConEdgeIt& operator++() { 1186 Parent::operator=(findEdge(_graph, _graph.u(*this), 1187 _graph.v(*this), *this)); 1186 Parent::operator=(findEdge(_graph, _u, _v, *this)); 1188 1187 return *this; 1189 1188 } 1190 1189 private: 1191 1190 const Graph& _graph; 1191 Node _u, _v; 1192 1192 }; 1193 1193
Note: See TracChangeset
for help on using the changeset viewer.