Changeset 2413:21eb3ccdc3df in lemon-0.x for demo/dim_to_dot.cc
- Timestamp:
- 03/22/07 16:40:50 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3244
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/dim_to_dot.cc
r2391 r2413 18 18 19 19 ///\file 20 ///\brief Dim (D imacs) to Dot (Graphviz) converter20 ///\brief Dim (DIMACS) to Dot (Graphviz) converter 21 21 /// 22 /// This program can convert the dimacs format to graphviz dotformat.22 /// This program can convert the DIMACS format to Graphviz format. 23 23 /// 24 /// Use a DIMACS max flow file as stdin.24 /// <tt>dim_to_dot dimacs_max_flow_file > dot_output_file</tt> 25 25 /// 26 /// <tt>dim_to_dot < dimacs_max_flow_file > dot_output_file</tt> 27 /// 28 /// This program makes a dot file from a dimacs max flow file. 29 /// This program can be an aid in making up to date visualized documantation 30 /// of demo programs. 26 /// This program makes a dot file from a DIMACS max flow file. 27 /// This program can be an aid in making up to date visualized 28 /// documantation of demo programs. 31 29 /// 32 30 /// \include dim_to_dot.cc … … 47 45 if(argc<2) 48 46 { 49 std::cerr << "USAGE: sub_graph_adaptor_demoinput_file.dim" << std::endl;47 std::cerr << "USAGE: dim_to_dot input_file.dim" << std::endl; 50 48 std::cerr << "The file 'input_file.dim' has to contain a max flow instance in DIMACS format (e.g. sub_graph_adaptor_demo.dim is such a file)." << std::endl; 51 49 return 0; 52 50 } 53 54 51 55 52 //input stream to read the graph from
Note: See TracChangeset
for help on using the changeset viewer.