![]() |
ATLAS Offline Software
|
#include <munkres.h>
Public Types | |
| enum | markertype { kStar = 1 , kPrime = 2 } |
| typedef std::vector< double > | vec_type |
| typedef std::vector< vec_type > | matrix_type |
| typedef std::pair< int, int > | coords |
| typedef std::vector< int > | result_type |
Public Member Functions | |
| munkres (matrix_type costs) | |
| void | printcosts () |
| result_type | run (vec_type &costvector, bool debug=false) |
Private Member Functions | |
| void | step_one () |
| void | step_two () |
| void | step_three () |
| void | step_four () |
| void | step_five () |
| void | step_six () |
| void | printmask () |
| void | printmatrix (const matrix_type &) |
| void | find_a_zero (int &row, int &col) |
| int | find_in_row (const int row, markertype what) |
| int | find_in_col (const int col, markertype what) |
| double | find_min_uncov () |
| void | augment_path (const std::vector< coords > &path) |
| void | erase_primes_and_covers () |
Private Attributes | |
| matrix_type | m_costmatrix |
| matrix_type | m_costs_orig |
| matrix_type | m_maskmatrix |
| int | m_step |
| std::vector< bool > | m_rowIsCovered |
| std::vector< bool > | m_colIsCovered |
| const int | m_dim |
| typedef std::pair<int,int> munkres::coords |
| typedef std::vector<vec_type > munkres::matrix_type |
| typedef std::vector<int> munkres::result_type |
| typedef std::vector<double> munkres::vec_type |
| enum munkres::markertype |
| munkres::munkres | ( | matrix_type | costs | ) |
Definition at line 8 of file munkres.cxx.
Definition at line 183 of file munkres.cxx.
|
private |
Definition at line 196 of file munkres.cxx.
|
private |
Definition at line 126 of file munkres.cxx.
|
private |
Definition at line 143 of file munkres.cxx.
|
private |
Definition at line 137 of file munkres.cxx.
|
private |
Definition at line 247 of file munkres.cxx.
|
private |
Definition at line 275 of file munkres.cxx.
| munkres::result_type munkres::run | ( | vec_type & | costvector, |
| bool | debug = false ) |
Definition at line 20 of file munkres.cxx.
|
private |
Definition at line 206 of file munkres.cxx.
|
private |
Definition at line 149 of file munkres.cxx.
|
private |
Definition at line 71 of file munkres.cxx.
|
private |
Definition at line 259 of file munkres.cxx.
|
private |
Definition at line 109 of file munkres.cxx.
|
private |
Definition at line 86 of file munkres.cxx.
|
private |
|
private |
|
private |