Changeset 1210:f02396423239 in lemon-0.x for src/work/deba/graph_io_test.cc
- Timestamp:
- 03/11/05 17:29:03 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1630
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/deba/graph_io_test.cc
r1115 r1210 1 1 #include <lemon/smart_graph.h> 2 2 3 #include "map_utils.h"3 #include <lemon/map_utils.h> 4 4 5 6 #include "graph_reader.h" 7 #include "graph_writer.h" 5 #include <lemon/graph_reader.h> 6 #include <lemon/graph_writer.h> 8 7 9 8 #include <iostream> … … 42 41 43 42 try { 44 reader.r ead();45 } catch (IOE xception& e) {43 reader.run(); 44 } catch (IOError& e) { 46 45 cerr << e.what() << endl; 47 46 } catch (Exception e) { … … 79 78 writer.addNode("source", node_ids.inverse()[3]); 80 79 // writer.addEdge("elek", edge_ids.inverse()[6]); 81 writer. write();80 writer.run(); 82 81 83 82 return 0;
Note: See TracChangeset
for help on using the changeset viewer.