|
libcrn
3.9.5
A document image processing library
|
A utility class to create clusters iteratively. More...
#include <CRNIterativeClustering.h>
Public Types | |
| enum | Operation { Operation::None, Operation::Create, Operation::Add, Operation::Merge } |
Public Member Functions | |
| IterativeClustering ()=default | |
| IterativeClustering (const IterativeClustering &)=default | |
| IterativeClustering (IterativeClustering &&)=default | |
| IterativeClustering & | operator= (const IterativeClustering &)=default |
| IterativeClustering & | operator= (IterativeClustering &&)=default |
| const std::vector< std::set< T > > & | GetClusters () const |
| Gets the current clusters. More... | |
| Operation | Associate (const T &v1, const T &v2) |
| Associates two elements and merges clusters if needed. More... | |
| crn::String | ToString () const |
| Prints the clusters to a string. More... | |
A utility class to create clusters iteratively.
A utility class to create clusters iteratively
Definition at line 51 of file CRNIterativeClustering.h.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Create | |
| Add | |
| Merge | |
Definition at line 65 of file CRNIterativeClustering.h.
|
default |
|
default |
|
default |
|
inline |
Associates two elements and merges clusters if needed.
| [in] | v1 | first element |
| [in] | v2 | second element |
Definition at line 72 of file CRNIterativeClustering.h.
|
inline |
Gets the current clusters.
Definition at line 63 of file CRNIterativeClustering.h.
|
default |
|
default |
|
inline |
Prints the clusters to a string.
Definition at line 128 of file CRNIterativeClustering.h.
1.8.6