demo/lgf_demo.cc
changeset 209 765619b7cbb2
parent 193 65cba1032f90
child 290 f6899946c1ac
child 293 47fbc814aa31
     1.1 --- a/demo/lgf_demo.cc	Sun Jul 13 16:46:56 2008 +0100
     1.2 +++ b/demo/lgf_demo.cc	Sun Jul 13 19:51:02 2008 +0100
     1.3 @@ -1,6 +1,6 @@
     1.4 -/* -*- C++ -*-
     1.5 +/* -*- mode: C++; indent-tabs-mode: nil; -*-
     1.6   *
     1.7 - * This file is a part of LEMON, a generic C++ optimization library
     1.8 + * This file is a part of LEMON, a generic C++ optimization library.
     1.9   *
    1.10   * Copyright (C) 2003-2008
    1.11   * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.12 @@ -21,7 +21,7 @@
    1.13  ///\brief Demonstrating graph input and output
    1.14  ///
    1.15  /// This program gives an example of how to read and write a digraph
    1.16 -/// and additional maps from/to a stream or a file using the 
    1.17 +/// and additional maps from/to a stream or a file using the
    1.18  /// \ref lgf-format "LGF" format.
    1.19  ///
    1.20  /// The \c "digraph.lgf" file:
    1.21 @@ -42,7 +42,7 @@
    1.22    SmartDigraph g;
    1.23    SmartDigraph::ArcMap<int> cap(g);
    1.24    SmartDigraph::Node s, t;
    1.25 -  
    1.26 +
    1.27    try {
    1.28      digraphReader("digraph.lgf", g). // read the directed graph into g
    1.29        arcMap("capacity", cap).       // read the 'capacity' arc map into cap