demo/Makefile.am
author Peter Kovacs <kpeter@inf.elte.hu>
Wed, 29 Apr 2009 16:54:27 +0200
changeset 689 111698359429
parent 415 fa341dd6ab23
permissions -rw-r--r--
Less map copying in NetworkSimplex (#234)

- The graph is copied in the constructor instead of the init() function.
It must not be modified after the class is constructed.
- The maps are copied once (instead of twice).
- Remove FlowMap, PotentialMap typedefs and flowMap(), pontentialMap()
setter functions.
- flowMap() and potentialMap() query functions copy the values into the
given map (reference) instead of returning a const reference to a
previously constructed map.
ladanyi@611
     1
AM_CXXFLAGS = $(WARNINGCXXFLAGS)
ladanyi@1
     2
ladanyi@611
     3
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
ladanyi@611
     4
LDADD = $(top_builddir)/lemon/libemon.la
ladanyi@1
     5
ladanyi@611
     6
EXTRA_DIST = \
ladanyi@611
     7
	CMakeLists.txt \
ladanyi@611
     8
	digraph.lgf
ladanyi@1
     9
ladanyi@611
    10
noinst_PROGRAMS = \
ladanyi@611
    11
	arg_parser_demo \
ladanyi@611
    12
	graph_to_eps_demo \
ladanyi@611
    13
	lgf_demo
alpar@85
    14
ladanyi@611
    15
arg_parser_demo_SOURCES = arg_parser_demo.cc
ladanyi@611
    16
graph_to_eps_demo_SOURCES = graph_to_eps_demo.cc
ladanyi@611
    17
lgf_demo_SOURCES = lgf_demo.cc