COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
04/17/04 23:50:48 (17 years ago)
Author:
beckerjc
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@471
Message:

A successful work-around for using const map reference as an output
parameter to Kruskal().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/johanna/kruskal_test.cc

    r349 r352  
    101101
    102102  tree_edge_vec.clear();
    103   SequenceOutput< back_insert_iterator< vector<Edge> > >
    104     vec_filler(back_inserter(tree_edge_vec));
     103//   SequenceOutput< back_insert_iterator< vector<Edge> > >
     104//     vec_filler(back_inserter(tree_edge_vec));
     105//   cout << "Nemkonst koltseggel tarhatekonyabban: "
     106//        << Kruskal(G,
     107//                KruskalMapVec<ECostMap>(G, edge_cost_map),
     108//                vec_filler)
     109//        << endl;
    105110  cout << "Nemkonst koltseggel tarhatekonyabban: "
    106111       << Kruskal(G,
    107112                  KruskalMapVec<ECostMap>(G, edge_cost_map),
    108                   vec_filler)
     113                  makeSequenceOutput(back_inserter(tree_edge_vec))
     114                  )
    109115       << endl;
    110116
Note: See TracChangeset for help on using the changeset viewer.