tesseract
3.03
|
Public Member Functions | |
SimpleClusterer (int max_cluster_width) | |
void | Add (int value) |
int | size () const |
void | GetClusters (GenericVector< Cluster > *clusters) |
Definition at line 651 of file paragraphs.cpp.
tesseract::SimpleClusterer::SimpleClusterer | ( | int | max_cluster_width | ) | [inline, explicit] |
Definition at line 653 of file paragraphs.cpp.
: max_cluster_width_(max_cluster_width) {}
void tesseract::SimpleClusterer::Add | ( | int | value | ) | [inline] |
Definition at line 655 of file paragraphs.cpp.
{ values_.push_back(value); }
void tesseract::SimpleClusterer::GetClusters | ( | GenericVector< Cluster > * | clusters | ) |
Definition at line 675 of file paragraphs.cpp.
int tesseract::SimpleClusterer::size | ( | ) | const [inline] |
Definition at line 656 of file paragraphs.cpp.
{ return values_.size(); }