Tesseract
3.02
|
Public Member Functions | |
SimpleClusterer (int max_cluster_width) | |
void | Add (int value) |
int | size () const |
void | GetClusters (GenericVector< Cluster > *clusters) |
Definition at line 663 of file paragraphs.cpp.
tesseract::SimpleClusterer::SimpleClusterer | ( | int | max_cluster_width | ) | [inline, explicit] |
Definition at line 665 of file paragraphs.cpp.
: max_cluster_width_(max_cluster_width) {}
void tesseract::SimpleClusterer::Add | ( | int | value | ) | [inline] |
Definition at line 667 of file paragraphs.cpp.
{ values_.push_back(value); }
void tesseract::SimpleClusterer::GetClusters | ( | GenericVector< Cluster > * | clusters | ) |
Definition at line 687 of file paragraphs.cpp.
int tesseract::SimpleClusterer::size | ( | ) | const [inline] |
Definition at line 668 of file paragraphs.cpp.
{ return values_.size(); }