dim_to_lgf.cc File Reference


Detailed Description

This program converts various DIMACS formats to the LEMON Graph Format (LGF).

   Usage:
     ./tools/dim_to_lgf
        --mincostflow|-mcf|--maxflow|-mf|--shortestpath|-sp|--capacitated|-cap|--plain|-pl
        [--help|-h|-help] [--input|-i str] [--output|-o str] [--version|-v]
   Where:
     --capacitated|-cap
        set the type of the graph to "capacitated" graph
     --help|-h|-help
        Print a short help message
     --input|-i str
        use FILE as input instead of standard input
     --maxflow|-mf
        set the type of the graph to "maxflow" graph
     --mincostflow|-mcf
        set the type of the graph to "mincostflow" graph
     --output|-o str
        use FILE as output instead of standard output
     --plain|-pl
        set the type of the graph to "plain" graph
     --shortestpath|-sp
        set the type of the graph to "shortestpath" graph
     --version|-v
        show version information
   
#include <iostream>
#include <fstream>
#include <cstring>
#include <lemon/smart_graph.h>
#include <lemon/dimacs.h>
#include <lemon/graph_writer.h>
#include <lemon/arg_parser.h>

Generated on Thu Jun 4 04:03:10 2009 for LEMON by  doxygen 1.5.9