COIN-OR::LEMON - Graph Library

Changeset 1554:572bc7d0d3e2 in lemon-0.x for demo/descriptor_map_demo.cc


Ignore:
Timestamp:
07/13/05 16:17:13 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2050
Message:

Demo displays information on the screen
Added to Makefile.am

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/descriptor_map_demo.cc

    r1553 r1554  
     1/* -*- C++ -*-
     2 * demo/descriptor_map_demo.cc - Part of LEMON, a generic C++ optimization library
     3 *
     4 * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     5 * (Egervary Research Group on Combinatorial Optimization, EGRES).
     6 *
     7 * Permission to use, modify and distribute this software is granted
     8 * provided that this copyright notice appears in all copies. For
     9 * precise terms see the accompanying LICENSE file.
     10 *
     11 * This software is provided "AS IS" with no warranty of any kind,
     12 * express or implied, and with no claim as to its suitability for any
     13 * purpose.
     14 *
     15 */
     16
    117#include <lemon/list_graph.h>
    218#include <lemon/graph_utils.h>
     19#include <lemon/graph_writer.h>
    320#include <lemon/xy.h>
     21#include <lemon/graph_to_eps.h>
    422
    5 #include <lemon/graph_to_eps.h>
     23#include <iostream>
    624
    725#include <cstdlib>
     
    5169 
    5270  // Generating a graph
    53  
     71
     72  std::cout << "Generating graph: " << std::endl;
     73
    5474  Graph graph;
    5575 
     
    7999  }
    80100
     101  GraphWriter<Graph>(std::cout, graph).run();
     102
     103  std::cout << std::endl;
     104  std::cout << "Postscript file: descriptor_map_demo.eps" << std::endl;
     105
    81106  // Make postscript from the graph.
    82107   
Note: See TracChangeset for help on using the changeset viewer.