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>