COIN-OR::LEMON - Graph Library

Changeset 459:68e6873f421a in lemon-0.x


Ignore:
Timestamp:
04/28/04 16:17:54 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@609
Message:

dijstra const ref, misc

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/include/dijkstra.h

    r456 r459  
    6969  public :
    7070   
    71     Dijkstra(Graph& _G, LengthMap& _length) :
     71    Dijkstra(const Graph& _G, const LengthMap& _length) :
    7272      G(_G), length(_length), predecessor(_G), pred_node(_G), distance(_G) { }
    7373   
  • src/work/marci/leda/bipartite_matching_leda.cc

    r446 r459  
    122122  stGW::EdgeMap<int> pre_flow(stgw);
    123123  Preflow<stGW, int, ConstMap<stGW::Edge, int>, stGW::EdgeMap<int> >
    124     pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, pre_flow, true);
     124    pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, pre_flow/*, true*/);
    125125  pre_flow_test.run();
    126126  std::cout << "pre flow value: " << max_flow_test.flowValue() << std::endl;
  • src/work/marci/leda/bipartite_matching_leda_gen.cc

    r447 r459  
    117117  //  stGW::EdgeMap<int> pre_flow(stgw);
    118118  Preflow<stGW, int, ConstMap<stGW::Edge, int>, stGW::EdgeMap<int> >
    119     pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, flow, true);
     119    pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, flow/*, true*/);
    120120  pre_flow_test.run();
    121121  std::cout << "HUGO pre flow value: " << pre_flow_test.flowValue() << std::endl;
Note: See TracChangeset for help on using the changeset viewer.