tools/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Sat, 20 Feb 2010 18:39:03 +0100
changeset 910 f3bc4e9b5f3a
parent 596 ba659d676331
permissions -rw-r--r--
New heuristics for MCF algorithms (#340)
and some implementation improvements.

- A useful heuristic is added to NetworkSimplex to make the
initial pivots faster.
- A powerful global update heuristic is added to CostScaling
and the implementation is reworked with various improvements.
- Better relabeling in CostScaling to improve numerical stability
and make the code faster.
- A small improvement is made in CapacityScaling for better
delta computation.
- Add notes to the classes about the usage of vector<char> instead
of vector<bool> for efficiency reasons.
alpar@574
     1
INCLUDE_DIRECTORIES(
ladanyi@596
     2
  ${PROJECT_SOURCE_DIR}
ladanyi@596
     3
  ${PROJECT_BINARY_DIR}
alpar@574
     4
)
alpar@574
     5
ladanyi@726
     6
LINK_DIRECTORIES(
ladanyi@726
     7
  ${PROJECT_BINARY_DIR}/lemon
ladanyi@726
     8
)
alpar@574
     9
alpar@574
    10
ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
alpar@574
    11
TARGET_LINK_LIBRARIES(lgf-gen lemon)
alpar@574
    12
alpar@574
    13
ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc)
alpar@574
    14
TARGET_LINK_LIBRARIES(dimacs-to-lgf lemon)
alpar@574
    15
alpar@574
    16
ADD_EXECUTABLE(dimacs-solver dimacs-solver.cc)
alpar@574
    17
TARGET_LINK_LIBRARIES(dimacs-solver lemon)
alpar@574
    18
alpar@574
    19
INSTALL(
alpar@574
    20
  TARGETS lgf-gen dimacs-to-lgf dimacs-solver
alpar@574
    21
  RUNTIME DESTINATION bin
alpar@574
    22
  COMPONENT bin
alpar@574
    23
)
alpar@574
    24
alpar@574
    25
IF(NOT WIN32)
alpar@574
    26
  INSTALL(
ladanyi@596
    27
    PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
ladanyi@596
    28
    DESTINATION bin
ladanyi@726
    29
    COMPONENT bin
ladanyi@726
    30
  )
ladanyi@726
    31
ENDIF()