Changes in / [235:b46d2787e9c2:239:7b7e3f20bcec] in lemon
- Location:
- lemon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lgf_writer.h
r220 r237 935 935 bool local_os; 936 936 937 Graph& _graph;937 const Graph& _graph; 938 938 939 939 std::string _nodes_caption; -
lemon/list_graph.h
r235 r239 843 843 844 844 public: 845 operator Edge() const { return edgeFromId(id / 2); } 845 operator Edge() const { 846 return id != -1 ? edgeFromId(id / 2) : INVALID; 847 } 846 848 847 849 Arc() {} -
lemon/smart_graph.h
r220 r238 466 466 467 467 public: 468 operator Edge() const { return edgeFromId(_id / 2); } 468 operator Edge() const { 469 return _id != -1 ? edgeFromId(_id / 2) : INVALID; 470 } 469 471 470 472 Arc() {}
Note: See TracChangeset
for help on using the changeset viewer.