VAT  3.0
Video Analysis Tool
lap.h
Go to the documentation of this file.
1 #ifndef LAP_MAIN
2 #define LAP_MAIN
3 /************************************************************************
4 *
5 * lap.h
6  version 1.0 - 21 june 1996
7  author Roy Jonker, MagicLogic Optimization Inc.
8 
9  header file for LAP
10 *
11 **************************************************************************/
12 
28 /* Some changes by Joern P. Meier <mail@ionflux.org>:
29 
30  (2006-06-18) - Added a namespace prefix to functions.
31  - Added doxygen documentation.
32  - Added include guards.
33  - Added conditional extern "C" tags.
34  (2006-07-12) - Changed BIG to something bigger to prevent segfaults
35  with matrices containing large values.
36  */
37 
38 /*************** CONSTANTS *******************/
39 
40  #define BIG 2147483647
41 
42 /*************** TYPES *******************/
43 
44  typedef int row;
45  typedef int col;
46  typedef int cost;
47 
48 /*************** FUNCTIONS *******************/
49 
50 #ifdef __cplusplus
51 extern "C"
52 {
53 #endif
54 
66 int LAP_lap(int dim, int **assigncost,
67  int *rowsol, int *colsol, int *u, int *v);
68 
80 void LAP_checklap(int dim, int **assigncost,
81  int *rowsol, int *colsol, int *u, int *v);
82 
83 #ifdef __cplusplus
84 }
85 #endif
86 #endif
int LAP_lap(int dim, int **assigncost, int *rowsol, int *colsol, int *u, int *v)
Definition: lap.c:43
void LAP_checklap(int dim, int **assigncost, int *rowsol, int *colsol, int *u, int *v)
Definition: lap.c:330