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

Public Member Functions

 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 968 of file group_search.cxx.

Constructor & Destructor Documentation

DupNameCriterion::DupNameCriterion ( DupNameCriterionType  exact,
GB_CASE  sens_ 
)
inlineexplicit

Definition at line 978 of file group_search.cxx.

References DNC_WHOLENAME, and gs_assert.

DupNameCriterion::DupNameCriterion ( DupNameCriterionType  wordwise,
GB_CASE  sens_,
int  min_words_,
const WordSet ignored_words_,
const char wordSeparators_ 
)
inline

Definition at line 986 of file group_search.cxx.

References DNC_WORDWISE, GB_IGNORE_CASE, gs_assert, and string_to_lower().

Member Function Documentation

DupNameCriterionType DupNameCriterion::get_name_type ( ) const
inline

Definition at line 1002 of file group_search.cxx.

Referenced by wordwise_name_matching().

bool DupNameCriterion::wordwise_name_matching ( ) const
inline

Definition at line 1003 of file group_search.cxx.

References DNC_WORDWISE, and get_name_type().

Referenced by Clusterer::calc_max_used_words(), and DupCriteria::is_inferable().

GB_CASE DupNameCriterion::get_sensitivity ( ) const
inline

Definition at line 1005 of file group_search.cxx.

const char* DupNameCriterion::get_word_separators ( ) const
inline

Definition at line 1006 of file group_search.cxx.

const WordSet& DupNameCriterion::get_ignored_words ( ) const
inline

Definition at line 1008 of file group_search.cxx.

int DupNameCriterion::get_min_wanted_words ( ) const
inline
void DupNameCriterion::set_min_wanted_words ( int  words)
inline

Definition at line 1011 of file group_search.cxx.

Referenced by Clusterer::findBestClusterBasedOnWords().

int DupNameCriterion::name_matches_wordwise ( const GroupInfo gi1,
const GroupInfo gi2 
) const
inline
int DupNameCriterion::name_matches ( const GroupInfo gi1,
const GroupInfo gi2 
) const
inline

Definition at line 1041 of file group_search.cxx.

References DNC_WHOLENAME, GroupInfo::name, and name_matches_wordwise().


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