CMR  1.3.0
k_modular.h
Go to the documentation of this file.
1 #ifndef CMR_K_MODULAR_H
2 #define CMR_K_MODULAR_H
3 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 #include <cmr/env.h>
17 #include <cmr/matrix.h>
18 
25 CMR_EXPORT
27  CMR* cmr,
28  CMR_CHRMAT* matrix,
29  bool* pisUnimodular
30 );
31 
38 CMR_EXPORT
40  CMR* cmr,
41  CMR_CHRMAT* matrix,
42  bool* pisStronglyUnimodular
43 );
44 
51 CMR_EXPORT
53  CMR* cmr,
54  CMR_CHRMAT* matrix,
55  bool* pisKmodular,
56  size_t* pk
57 );
58 
65 CMR_EXPORT
67  CMR* cmr,
68  CMR_CHRMAT* matrix,
69  bool* pisStronglyKmodular,
70  size_t* pk
71 );
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif /* CMR_UNIMODULAR_H */
78 
Basic functionality of the software library.
CMR_ERROR
Type for return codes of library functions.
Definition: env.h:27
CMR_EXPORT CMR_ERROR CMRtestStrongKmodularity(CMR *cmr, CMR_CHRMAT *matrix, bool *pisStronglyKmodular, size_t *pk)
Tests a matrix for being strongly kmodular.
Definition: k_modular.c:48
CMR_EXPORT CMR_ERROR CMRtestStrongUnimodularity(CMR *cmr, CMR_CHRMAT *matrix, bool *pisStronglyUnimodular)
Tests a matrix for being strongly unimodular.
Definition: k_modular.c:19
CMR_EXPORT CMR_ERROR CMRtestKmodularity(CMR *cmr, CMR_CHRMAT *matrix, bool *pisKmodular, size_t *pk)
Tests a matrix for being k-modular.
Definition: k_modular.c:33
CMR_EXPORT CMR_ERROR CMRtestUnimodularity(CMR *cmr, CMR_CHRMAT *matrix, bool *pisUnimodular)
Tests a matrix for being unimodular.
Definition: k_modular.c:8
Functionality for sparse matrices.
Row-wise representation of sparse char matrix.
Definition: matrix.h:204
Definition: env_internal.h:45