Some more tests.
authoralpar
Mon, 26 Apr 2004 17:36:49 +0000
changeset 426675bfb074509
parent 425 4fbe868c1fb4
child 427 a677104e946a
Some more tests.
src/work/alpar/list_graph_demo.cc
     1.1 --- a/src/work/alpar/list_graph_demo.cc	Mon Apr 26 17:33:51 2004 +0000
     1.2 +++ b/src/work/alpar/list_graph_demo.cc	Mon Apr 26 17:36:49 2004 +0000
     1.3 @@ -119,6 +119,9 @@
     1.4  		<< " em=" << em[e]
     1.5  		<< " sm=" << sm[e] << "\n";
     1.6      
     1.7 +    //Delete all nodes
     1.8 +    NodeIt n;
     1.9 +    while(G.valid(G.first(n))) G.erase(n);
    1.10    }
    1.11  
    1.12    // Tests for NodeSet and EdgeSet