test/Makefile.am
author Peter Kovacs <kpeter@inf.elte.hu>
Thu, 12 Nov 2009 23:26:13 +0100
changeset 806 fa6f37d7a25b
parent 770 432c54cec63c
child 799 6be1f9bd2ac0
permissions -rw-r--r--
Entirely rework CapacityScaling (#180)

- Use the new interface similarly to NetworkSimplex.
- Rework the implementation using an efficient internal structure
for handling the residual network. This improvement made the
code much faster (up to 2-5 times faster on large graphs).
- Handle GEQ supply type (LEQ is not supported).
- Handle negative costs for arcs of finite capacity.
(Note that this algorithm cannot handle arcs of negative cost
and infinite upper bound, thus it returns UNBOUNDED if such
an arc exists.)
- Extend the documentation.
     1 if USE_VALGRIND
     2 TESTS_ENVIRONMENT=$(top_srcdir)/scripts/valgrind-wrapper.sh
     3 endif
     4 
     5 EXTRA_DIST += \
     6 	test/CMakeLists.txt
     7 
     8 noinst_HEADERS += \
     9 	test/graph_test.h \
    10 	test/test_tools.h
    11 
    12 check_PROGRAMS += \
    13 	test/adaptors_test \
    14 	test/bellman_ford_test \
    15 	test/bfs_test \
    16 	test/circulation_test \
    17 	test/connectivity_test \
    18 	test/counter_test \
    19 	test/dfs_test \
    20 	test/digraph_test \
    21 	test/dijkstra_test \
    22 	test/dim_test \
    23 	test/edge_set_test \
    24 	test/error_test \
    25 	test/euler_test \
    26 	test/gomory_hu_test \
    27 	test/graph_copy_test \
    28 	test/graph_test \
    29 	test/graph_utils_test \
    30 	test/hao_orlin_test \
    31 	test/heap_test \
    32 	test/kruskal_test \
    33 	test/maps_test \
    34 	test/matching_test \
    35 	test/min_cost_arborescence_test \
    36 	test/min_cost_flow_test \
    37 	test/min_mean_cycle_test \
    38 	test/path_test \
    39 	test/preflow_test \
    40 	test/radix_sort_test \
    41 	test/random_test \
    42 	test/suurballe_test \
    43 	test/test_tools_fail \
    44 	test/test_tools_pass \
    45 	test/time_measure_test \
    46 	test/unionfind_test
    47 
    48 test_test_tools_pass_DEPENDENCIES = demo
    49 
    50 if HAVE_LP
    51 check_PROGRAMS += test/lp_test
    52 endif HAVE_LP
    53 if HAVE_MIP
    54 check_PROGRAMS += test/mip_test
    55 endif HAVE_MIP
    56 
    57 TESTS += $(check_PROGRAMS)
    58 XFAIL_TESTS += test/test_tools_fail$(EXEEXT)
    59 
    60 test_adaptors_test_SOURCES = test/adaptors_test.cc
    61 test_bellman_ford_test_SOURCES = test/bellman_ford_test.cc
    62 test_bfs_test_SOURCES = test/bfs_test.cc
    63 test_circulation_test_SOURCES = test/circulation_test.cc
    64 test_counter_test_SOURCES = test/counter_test.cc
    65 test_connectivity_test_SOURCES = test/connectivity_test.cc
    66 test_dfs_test_SOURCES = test/dfs_test.cc
    67 test_digraph_test_SOURCES = test/digraph_test.cc
    68 test_dijkstra_test_SOURCES = test/dijkstra_test.cc
    69 test_dim_test_SOURCES = test/dim_test.cc
    70 test_edge_set_test_SOURCES = test/edge_set_test.cc
    71 test_error_test_SOURCES = test/error_test.cc
    72 test_euler_test_SOURCES = test/euler_test.cc
    73 test_gomory_hu_test_SOURCES = test/gomory_hu_test.cc
    74 test_graph_copy_test_SOURCES = test/graph_copy_test.cc
    75 test_graph_test_SOURCES = test/graph_test.cc
    76 test_graph_utils_test_SOURCES = test/graph_utils_test.cc
    77 test_heap_test_SOURCES = test/heap_test.cc
    78 test_kruskal_test_SOURCES = test/kruskal_test.cc
    79 test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc
    80 test_lp_test_SOURCES = test/lp_test.cc
    81 test_maps_test_SOURCES = test/maps_test.cc
    82 test_mip_test_SOURCES = test/mip_test.cc
    83 test_matching_test_SOURCES = test/matching_test.cc
    84 test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc
    85 test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc
    86 test_min_mean_cycle_test_SOURCES = test/min_mean_cycle_test.cc
    87 test_path_test_SOURCES = test/path_test.cc
    88 test_preflow_test_SOURCES = test/preflow_test.cc
    89 test_radix_sort_test_SOURCES = test/radix_sort_test.cc
    90 test_suurballe_test_SOURCES = test/suurballe_test.cc
    91 test_random_test_SOURCES = test/random_test.cc
    92 test_test_tools_fail_SOURCES = test/test_tools_fail.cc
    93 test_test_tools_pass_SOURCES = test/test_tools_pass.cc
    94 test_time_measure_test_SOURCES = test/time_measure_test.cc
    95 test_unionfind_test_SOURCES = test/unionfind_test.cc