Changeset 1913:49fe71fce7fb in lemon-0.x for demo
- Timestamp:
- 01/27/06 09:18:47 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2488
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/graph_orientation.cc
r1901 r1913 71 71 def = subMap(f,InDegMap<ListGraph>(g)); 72 72 73 IterableBool NodeMap<ListGraph> active(g,false);73 IterableBoolMap<ListGraph, Node> active(g,false); 74 74 for(NodeIt n(g);n!=INVALID;++n) active[n]=(def[n]>0); 75 75 … … 80 80 81 81 Node act; 82 while((act=IterableBool NodeMap<ListGraph>::TrueIt(active))!=INVALID) {82 while((act=IterableBoolMap<ListGraph, Node>::TrueIt(active))!=INVALID) { 83 83 std::cout << "Process node " << label[act] 84 84 << " (def=" << def[act]
Note: See TracChangeset
for help on using the changeset viewer.