1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
# Check maximum flow and related functions
# Test suite for the IGraph library.
# Copyright (C) 2005-2012 Gabor Csardi <csardi.gabor@gmail.com>
# 334 Harvard street, Cambridge, MA 02139 USA
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
AT_BANNER([[Maximum flows and such]])
AT_SETUP([Maximum flow value (igraph_maxflow_value): ])
AT_KEYWORDS([maximum flow maxflow minimum cut])
AT_COMPILE_CHECK([simple/flow.c], [], [simple/ak-4102.max])
AT_CLEANUP
AT_SETUP([Maximum flow (igraph_maxflow): ])
AT_KEYWORDS([maximum flow maxflow minimum cut])
AT_COMPILE_CHECK([simple/flow2.c], [simple/flow2.out], [simple/ak-4102.max])
AT_CLEANUP
AT_SETUP([Minimum cut (igraph_mincut): ])
AT_KEYWORDS([minimum cut Stoer-Wagner])
AT_COMPILE_CHECK([simple/igraph_mincut.c], [simple/igraph_mincut.out])
AT_CLEANUP
AT_SETUP([Even-Tarjan reduction (igraph_even_tarjan_reduction): ])
AT_KEYWORDS([Even Tarjan reduction vertex cut separator])
AT_COMPILE_CHECK([simple/even_tarjan.c])
AT_CLEANUP
AT_SETUP([Dominator tree of a flow graph (igraph_dominator_tree): ])
AT_KEYWORDS([dominator tree])
AT_COMPILE_CHECK([simple/dominator_tree.c],
[simple/dominator_tree.out])
AT_CLEANUP
AT_SETUP([All s-t cuts of a graph (igraph_all_st_cuts): ])
AT_KEYWORDS([s-t cut])
AT_COMPILE_CHECK([simple/igraph_all_st_cuts.c],
[simple/igraph_all_st_cuts.out], [], [INTERNAL])
AT_CLEANUP
AT_SETUP([All minimal s-t cuts of a graph (igraph_all_st_mincuts): ])
AT_KEYWORDS([minimal s-t cut])
AT_COMPILE_CHECK([simple/igraph_all_st_mincuts.c],
[simple/igraph_all_st_mincuts.out])
AT_CLEANUP
AT_SETUP([Gomory-Hu tree (igraph_gomory_hu_tree): ])
AT_KEYWORDS([Gomory-Hu tree])
AT_COMPILE_CHECK([simple/igraph_gomory_hu_tree.c])
AT_CLEANUP
|