ARB
Public Member Functions | List of all members
DupCriteria Class Reference
Inheritance diagram for DupCriteria:
Inheritance graph
[legend]
Collaboration diagram for DupCriteria:
Collaboration graph
[legend]

Public Member Functions

 DupCriteria (bool listDups_, const DupNameCriterion &nameCrit_, DupTreeCriterionType ttype_, int minSize_)
 
DupTreeCriterionType get_tree_type () const
 
bool want_unique_groups () const
 
bool is_inferable () const
 
bool tree_matches (const GBDATA *data1, const GBDATA *data2) const
 
int min_cluster_size () const
 
bool big_enough (const GroupCluster &cluster) const
 
- Public Member Functions inherited from DupNameCriterion
 DupNameCriterion (DupNameCriterionType exact, GB_CASE sens_)
 
 DupNameCriterion (DupNameCriterionType wordwise, GB_CASE sens_, int min_words_, const WordSet &ignored_words_, const char *wordSeparators_)
 
DupNameCriterionType get_name_type () const
 
bool wordwise_name_matching () const
 
GB_CASE get_sensitivity () const
 
const charget_word_separators () const
 
const WordSetget_ignored_words () const
 
int get_min_wanted_words () const
 
void set_min_wanted_words (int words)
 
int name_matches_wordwise (const GroupInfo &gi1, const GroupInfo &gi2) const
 
int name_matches (const GroupInfo &gi1, const GroupInfo &gi2) const
 

Detailed Description

Definition at line 1115 of file group_search.cxx.

Constructor & Destructor Documentation

DupCriteria::DupCriteria ( bool  listDups_,
const DupNameCriterion nameCrit_,
DupTreeCriterionType  ttype_,
int  minSize_ 
)
inline

Definition at line 1121 of file group_search.cxx.

References gs_assert.

Member Function Documentation

DupTreeCriterionType DupCriteria::get_tree_type ( ) const
inline

Definition at line 1130 of file group_search.cxx.

Referenced by Clusterer::buildInferableClusterStartingWith().

bool DupCriteria::want_unique_groups ( ) const
inline

Definition at line 1131 of file group_search.cxx.

bool DupCriteria::is_inferable ( ) const
inline
bool DupCriteria::tree_matches ( const GBDATA data1,
const GBDATA data2 
) const
inline

Definition at line 1147 of file group_search.cxx.

References DLC_ANYWHERE, DLC_DIFF_TREE, and DLC_SAME_TREE.

int DupCriteria::min_cluster_size ( ) const
inline
bool DupCriteria::big_enough ( const GroupCluster cluster) const
inline

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