COIN-OR::LEMON - Graph Library

Changeset 1913:49fe71fce7fb in lemon-0.x for demo


Ignore:
Timestamp:
01/27/06 09:18:47 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2488
Message:

Making iterable bool map dynamic
Changed interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/graph_orientation.cc

    r1901 r1913  
    7171  def = subMap(f,InDegMap<ListGraph>(g));
    7272 
    73   IterableBoolNodeMap<ListGraph> active(g,false);
     73  IterableBoolMap<ListGraph, Node> active(g,false);
    7474  for(NodeIt n(g);n!=INVALID;++n) active[n]=(def[n]>0);
    7575 
     
    8080 
    8181  Node act;
    82   while((act=IterableBoolNodeMap<ListGraph>::TrueIt(active))!=INVALID) {
     82  while((act=IterableBoolMap<ListGraph, Node>::TrueIt(active))!=INVALID) {
    8383    std::cout << "Process node " << label[act]
    8484              << " (def=" << def[act]
Note: See TracChangeset for help on using the changeset viewer.