Changeset 986:e997802b855c in lemon-0.x for src/work/peter/edgepathgraph_test.cc
- Timestamp:
- 11/13/04 13:53:28 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1376
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/peter/edgepathgraph_test.cc
r921 r986 136 136 PEdgeIt f; 137 137 138 cout << "Edge " << EPGr.id(EPGr. tail(e)) << " - " << EPGr.id(EPGr.head(e)) << " in actual layer is";138 cout << "Edge " << EPGr.id(EPGr.source(e)) << " - " << EPGr.id(EPGr.target(e)) << " in actual layer is"; 139 139 if(EPGr.edgepath[e]) 140 140 { … … 142 142 for(EPGr.edgepath[e]->first(f); EPGr.edgepath[e]->valid(f); EPGr.edgepath[e]->next(f)) 143 143 { 144 cout << " " << EPGr2.id(EPGr2. tail(f)) << "-" << EPGr2.id(EPGr2.head(f));144 cout << " " << EPGr2.id(EPGr2.source(f)) << "-" << EPGr2.id(EPGr2.target(f)); 145 145 } 146 //cout << EPGr2.id(EPGr2. head(f)) << endl;146 //cout << EPGr2.id(EPGr2.target(f)) << endl; 147 147 cout << endl; 148 148 } … … 170 170 for(EdgeIt e(EPGr.actuallayer);EPGr.actuallayer.valid(e);EPGr.actuallayer.next(e)) 171 171 { 172 cout << EPGr.id(EPGr. tail(e)) << "-" << EPGr.id(EPGr.head(e)) << ":" << actlaymap[e] << " ";172 cout << EPGr.id(EPGr.source(e)) << "-" << EPGr.id(EPGr.target(e)) << ":" << actlaymap[e] << " "; 173 173 } 174 174 cout << endl; … … 176 176 for(ListGraph::EdgeIt e(EPGr2.actuallayer);EPGr2.actuallayer.valid(e);EPGr2.actuallayer.next(e)) 177 177 { 178 cout << EPGr2.id(EPGr2. tail(e)) << "-" << EPGr2.id(EPGr2.head(e)) << ":" << sublaymap[e] << " ";178 cout << EPGr2.id(EPGr2.source(e)) << "-" << EPGr2.id(EPGr2.target(e)) << ":" << sublaymap[e] << " "; 179 179 } 180 180 cout << endl; … … 191 191 for(EdgeIt e(EPGr.actuallayer);EPGr.actuallayer.valid(e);EPGr.actuallayer.next(e)) 192 192 { 193 cout << EPGr.id(EPGr. tail(e)) << "-" << EPGr.id(EPGr.head(e)) << ":" << actlaymap[e] << " ";193 cout << EPGr.id(EPGr.source(e)) << "-" << EPGr.id(EPGr.target(e)) << ":" << actlaymap[e] << " "; 194 194 } 195 195 cout << endl; … … 197 197 for(ListGraph::EdgeIt e(EPGr2.actuallayer);EPGr2.actuallayer.valid(e);EPGr2.actuallayer.next(e)) 198 198 { 199 cout << EPGr2.id(EPGr2. tail(e)) << "-" << EPGr2.id(EPGr2.head(e)) << ":" << sublaymap[e] << " ";199 cout << EPGr2.id(EPGr2.source(e)) << "-" << EPGr2.id(EPGr2.target(e)) << ":" << sublaymap[e] << " "; 200 200 } 201 201 cout << endl;
Note: See TracChangeset
for help on using the changeset viewer.