demo/dim_to_dot.cc
changeset 2209 d3425607d41a
parent 1956 a055123339d5
child 2391 14a343be7a5a
equal deleted inserted replaced
4:105b2bee1061 5:2716be641f62
    14  * express or implied, and with no claim as to its suitability for any
    14  * express or implied, and with no claim as to its suitability for any
    15  * purpose.
    15  * purpose.
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 // Use a DIMACS max flow file as stdin.
    19 ///\file
    20 // dim_to_dot < dimacs_max_flow_file > dot_output_file
    20 ///\brief Dim (Dimacs) to Dot (Graphviz) converter
    21 // This program makes a dot file from a dimacs max flow file. 
    21 ///
    22 // This program can be an aid in making up to date visualized documantation 
    22 /// This program can convert the dimacs format to graphviz dot format.
    23 // of demo programs.
    23 ///
    24 
    24 /// Use a DIMACS max flow file as stdin.
    25 // For later documentation (if marci does not do it)
    25 ///
    26 // Az a graphviz csomag egy egyszeru formatuma, ami egy graphrajzolo csomag.
    26 /// <tt>dim_to_dot < dimacs_max_flow_file > dot_output_file</tt>
    27 // Az EdgeSubGraphAdaptor doksijaban szerepel egy kirajzolt graf. Azt nem
    27 ///
    28 // kezzel csinaltam, hanem a megfelelo dim file-bol ezzel a progival. A
    28 /// This program makes a dot file from a dimacs max flow file. 
    29 // doxygen ugyanis ilyet eszik, igy a juzer vizualisan is latja a grafot a
    29 /// This program can be an aid in making up to date visualized documantation 
    30 // doksiban, es sajat maga is le tudja futtatni az algoritmust, mert ott van
    30 /// of demo programs.
    31 // a kezeben a dim file is. Es mivel ez egy generalt file, ezert ha vmit
    31 ///
    32 // valtoztatunk a dim-en, ezt is konnyu bemasolni. Uff.
    32 /// \include dim_to_dot.cc
    33 
       
    34 
    33 
    35 #include <iostream>
    34 #include <iostream>
    36 #include <fstream>
    35 #include <fstream>
    37 
    36 
    38 #include <lemon/smart_graph.h>
    37 #include <lemon/smart_graph.h>