![]() |
CMR
1.3.0
|
#include <fstream>
#include <iomanip>
#include <cmr/total_unimodularity.hpp>
#include <cmr/matroid_decomposition.hpp>
#include <cmr/unimodularity.hpp>
#include <cmr/smith_normal_form.hpp>
Functions | |
void | print_violator (const tu::integer_matrix &matrix, const tu::submatrix_indices &violator) |
int | run_decomposition (const std::string &file_name, bool show_certificates, tu::log_level level) |
int | run_column_enumeration (const std::string &file_name) |
int | run_submatrix (const std::string &file_name) |
bool | extract_option (char c, char &algorithm, bool &certs, tu::log_level &level, bool &help) |
int | main (int argc, char **argv) |
bool extract_option | ( | char | c, |
char & | algorithm, | ||
bool & | certs, | ||
tu::log_level & | level, | ||
bool & | help | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Possible parameters
void print_violator | ( | const tu::integer_matrix & | matrix, |
const tu::submatrix_indices & | violator | ||
) |
int run_column_enumeration | ( | const std::string & | file_name | ) |
Open the file
Read height and width
Read matrix entries
int run_decomposition | ( | const std::string & | file_name, |
bool | show_certificates, | ||
tu::log_level | level | ||
) |
Open the file
Read height and width
Read matrix entries
int run_submatrix | ( | const std::string & | file_name | ) |
Open the file
Read height and width
Read matrix entries