![]() |
CMR
1.3.0
|
Public Types | |
| typedef signed char | choice_type |
| typedef std::vector< choice_type > | choice_vector_type |
Public Member Functions | |
| ghouila_houri_enumerator (const integer_matrix &matrix) | |
| bool | check_sum () |
| bool | choose_partition (size_t row=0) |
| bool | choose_subset (size_t row=0) |
| bool | check () |
Class to enumerate subset-2-partitions for a ghouila-houri test
| typedef signed char tu::ghouila_houri_enumerator::choice_type |
| typedef std::vector<choice_type> tu::ghouila_houri_enumerator::choice_vector_type |
|
inline |
Constructs an enumerator.
| matrix | The matrix to be tested |
|
inline |
Tests the given matrix for total unimodularity using rows.
|
inline |
Tests a sum induced by a 2-partition of the selected rows
|
inline |
Recursively enumerates both possible choices for a given row.
| row | The given row |
|
inline |
Recursively enumerates all subset-choices for a given row. Finally it starts the enumeration of all the partitions of this subset.
| row | The given row |