tools/Makefile.am
author Peter Kovacs <kpeter@inf.elte.hu>
Thu, 06 Aug 2009 20:28:28 +0200
changeset 761 5795860737f5
parent 526 28b154307c0d
permissions -rw-r--r--
Traits class + named parameters for MinMeanCycle (#179)

- Add a Traits class defining LargeValue, Tolerance, Path types.
LargeValue is used for internal computations, it is 'long long'
if the length type is integer, otherwise it is 'double'.
- Add named template parameters for LargeValue and Path types.
- Improve numerical stability: remove divisions from the internal
computations. If the arc lengths are integers, then all used
values are integers (except for the cycleMean() query function,
of course).
     1 EXTRA_DIST += \
     2 	tools/CMakeLists.txt
     3 
     4 if WANT_TOOLS
     5 
     6 bin_PROGRAMS += \
     7 	tools/dimacs-solver \
     8 	tools/dimacs-to-lgf \
     9 	tools/lgf-gen
    10 
    11 dist_bin_SCRIPTS += tools/lemon-0.x-to-1.x.sh
    12 
    13 endif WANT_TOOLS
    14 
    15 tools_dimacs_solver_SOURCES = tools/dimacs-solver.cc
    16 tools_dimacs_to_lgf_SOURCES = tools/dimacs-to-lgf.cc
    17 tools_lgf_gen_SOURCES = tools/lgf-gen.cc