A helper class to manage merging of buildings. More...
Public Member Functions | |
merge_map (bmdl_classify< T > *c) | |
Constructor. | |
~merge_map () | |
Destructor - simplify merge map and apply to classifier. | |
unsigned int | translate (unsigned int idx) const |
translate old index to temporary merged index. | |
void | merge (unsigned int idx1, unsigned int idx2) |
merge two indices. | |
Private Attributes | |
bmdl_classify< T > * | classifier_ |
vcl_vector< unsigned int > | idx_map_ |
A helper class to manage merging of buildings.
Definition at line 122 of file bmdl_classify.h.
bmdl_classify< T >::merge_map::merge_map | ( | bmdl_classify< T > * | c | ) |
Constructor.
Definition at line 615 of file bmdl_classify.txx.
bmdl_classify< T >::merge_map::~merge_map | ( | ) |
Destructor - simplify merge map and apply to classifier.
Definition at line 626 of file bmdl_classify.txx.
void bmdl_classify< T >::merge_map::merge | ( | unsigned int | idx1, |
unsigned int | idx2 | ||
) |
merge two indices.
Definition at line 682 of file bmdl_classify.txx.
unsigned int bmdl_classify< T >::merge_map::translate | ( | unsigned int | idx | ) | const |
translate old index to temporary merged index.
Definition at line 674 of file bmdl_classify.txx.
bmdl_classify<T>* bmdl_classify< T >::merge_map::classifier_ [private] |
Definition at line 134 of file bmdl_classify.h.
vcl_vector<unsigned int> bmdl_classify< T >::merge_map::idx_map_ [private] |
Definition at line 135 of file bmdl_classify.h.