ARB
Public Member Functions | List of all members
Clusterer Class Reference

Public Member Functions

 Clusterer (GBDATA *gb_main, SmartPtr< QueriedGroups > groups_, SmartPtr< DupCriteria > criteria_)
 
int max_cluster_start_index () const
 
void buildInferableClusterStartingWith (int start_idx, GroupCluster &cluster)
 
void findBestClusterBasedOnWords (int wanted_words, GroupCluster &best, arb_progress &progress_cluster, int &first_cluster_found_from_index)
 
bool already_delivered (int idx) const
 
void deliverCluster (const GroupCluster &ofCluster, QueriedGroups &toResult)
 
void find_and_deliverTo (QueriedGroups &toResult)
 
void deliverRest (QueriedGroups &toResult)
 
int calc_max_used_words (bool ignore_delivered)
 

Detailed Description

Definition at line 1219 of file group_search.cxx.

Constructor & Destructor Documentation

Clusterer::Clusterer ( GBDATA gb_main,
SmartPtr< QueriedGroups groups_,
SmartPtr< DupCriteria criteria_ 
)
inline

Definition at line 1315 of file group_search.cxx.

Member Function Documentation

int Clusterer::max_cluster_start_index ( ) const
inline

Definition at line 1325 of file group_search.cxx.

References DupCriteria::min_cluster_size(), and QueriedGroups::size().

Referenced by find_and_deliverTo().

void Clusterer::buildInferableClusterStartingWith ( int  start_idx,
GroupCluster cluster 
)
void Clusterer::findBestClusterBasedOnWords ( int  wanted_words,
GroupCluster best,
arb_progress progress_cluster,
int first_cluster_found_from_index 
)
bool Clusterer::already_delivered ( int  idx) const
inline
void Clusterer::deliverCluster ( const GroupCluster ofCluster,
QueriedGroups toResult 
)
inline
void Clusterer::find_and_deliverTo ( QueriedGroups toResult)
void Clusterer::deliverRest ( QueriedGroups toResult)
inline
int Clusterer::calc_max_used_words ( bool  ignore_delivered)
inline

The documentation for this class was generated from the following file: