Changeset 1554:572bc7d0d3e2 in lemon-0.x for demo
- Timestamp:
- 07/13/05 16:17:13 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2050
- Location:
- demo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/Makefile.am
r1528 r1554 13 13 hello_lemon \ 14 14 sub_graph_adaptor_demo \ 15 descriptor_map_demo \ 15 16 coloring 16 17 … … 49 50 lp_maxflow_demo_SOURCES = lp_maxflow_demo.cc 50 51 lp_maxflow_demo_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) 52 53 descriptor_map_demo_SOURCES = descriptor_map_demo.cc -
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 1 17 #include <lemon/list_graph.h> 2 18 #include <lemon/graph_utils.h> 19 #include <lemon/graph_writer.h> 3 20 #include <lemon/xy.h> 21 #include <lemon/graph_to_eps.h> 4 22 5 #include < lemon/graph_to_eps.h>23 #include <iostream> 6 24 7 25 #include <cstdlib> … … 51 69 52 70 // Generating a graph 53 71 72 std::cout << "Generating graph: " << std::endl; 73 54 74 Graph graph; 55 75 … … 79 99 } 80 100 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 81 106 // Make postscript from the graph. 82 107
Note: See TracChangeset
for help on using the changeset viewer.