Changeset 2623:90defb96ee61 in lemon0.x for lemon/cost_scaling.h
 Timestamp:
 10/06/08 17:08:17 (11 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@3508
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/cost_scaling.h
r2620 r2623 182 182 bool _local_potential; 183 183 184 // The residual cost map 185 ResidualCostMap<LargeCostMap> _res_cost; 184 186 // The residual graph 185 187 ResGraph *_res_graph; 186 // The residual cost map187 ResidualCostMap<LargeCostMap> _res_cost;188 188 // The reduced cost map 189 189 ReducedCostMap *_red_cost; … … 210 210 const SupplyMap &supply ) : 211 211 _graph(graph), _lower(&lower), _capacity(graph), _orig_cost(cost), 212 _cost(graph), _supply(graph), _flow( 0), _local_flow(false),213 _potential( 0), _local_potential(false), _res_cost(_cost),214 _ excess(graph, 0)212 _cost(graph), _supply(graph), _flow(NULL), _local_flow(false), 213 _potential(NULL), _local_potential(false), _res_cost(_cost), 214 _res_graph(NULL), _red_cost(NULL), _excess(graph, 0) 215 215 { 216 216 // Removing nonzero lower bounds … … 242 242 const SupplyMap &supply ) : 243 243 _graph(graph), _lower(NULL), _capacity(capacity), _orig_cost(cost), 244 _cost(graph), _supply(supply), _flow( 0), _local_flow(false),245 _potential( 0), _local_potential(false), _res_cost(_cost),246 _ excess(graph, 0)244 _cost(graph), _supply(supply), _flow(NULL), _local_flow(false), 245 _potential(NULL), _local_potential(false), _res_cost(_cost), 246 _res_graph(NULL), _red_cost(NULL), _excess(graph, 0) 247 247 { 248 248 // Checking the sum of supply values … … 271 271 Supply flow_value ) : 272 272 _graph(graph), _lower(&lower), _capacity(graph), _orig_cost(cost), 273 _cost(graph), _supply(graph), _flow( 0), _local_flow(false),274 _potential( 0), _local_potential(false), _res_cost(_cost),275 _ excess(graph, 0)273 _cost(graph), _supply(graph), _flow(NULL), _local_flow(false), 274 _potential(NULL), _local_potential(false), _res_cost(_cost), 275 _res_graph(NULL), _red_cost(NULL), _excess(graph, 0) 276 276 { 277 277 // Removing nonzero lower bounds … … 307 307 Supply flow_value ) : 308 308 _graph(graph), _lower(NULL), _capacity(capacity), _orig_cost(cost), 309 _cost(graph), _supply(graph, 0), _flow( 0), _local_flow(false),310 _potential( 0), _local_potential(false), _res_cost(_cost),311 _ excess(graph, 0)309 _cost(graph), _supply(graph, 0), _flow(NULL), _local_flow(false), 310 _potential(NULL), _local_potential(false), _res_cost(_cost), 311 _res_graph(NULL), _red_cost(NULL), _excess(graph, 0) 312 312 { 313 313 _supply[s] = flow_value;
Note: See TracChangeset
for help on using the changeset viewer.