Changeset 670:926c47568a56 in lemon1.2 for lemon
 Timestamp:
 05/13/09 10:42:26 (11 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/edge_set.h
r660 r670 85 85 ListArcSetBase() : first_arc(1), first_free_arc(1) {} 86 86 87 Node addNode() { 88 LEMON_ASSERT(false, 89 "This graph structure does not support node insertion"); 90 return INVALID; // avoid warning 91 } 92 87 93 Arc addArc(const Node& u, const Node& v) { 88 94 int n; … … 416 422 417 423 ListEdgeSetBase() : first_arc(1), first_free_arc(1) {} 424 425 Node addNode() { 426 LEMON_ASSERT(false, 427 "This graph structure does not support node insertion"); 428 return INVALID; // avoid warning 429 } 418 430 419 431 Edge addEdge(const Node& u, const Node& v) { … … 817 829 SmartArcSetBase() {} 818 830 831 Node addNode() { 832 LEMON_ASSERT(false, 833 "This graph structure does not support node insertion"); 834 return INVALID; // avoid warning 835 } 836 819 837 Arc addArc(const Node& u, const Node& v) { 820 838 int n = arcs.size(); … … 1113 1131 SmartEdgeSetBase() {} 1114 1132 1133 Node addNode() { 1134 LEMON_ASSERT(false, 1135 "This graph structure does not support node insertion"); 1136 return INVALID; // avoid warning 1137 } 1138 1115 1139 Edge addEdge(const Node& u, const Node& v) { 1116 1140 int n = arcs.size();
Note: See TracChangeset
for help on using the changeset viewer.