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

#include <di_foundclusters.hxx>

Inheritance diagram for Cluster:
Inheritance graph
[legend]
Collaboration diagram for Cluster:
Collaboration graph
[legend]

Public Member Functions

 Cluster (ClusterTree *ct)
 
 ~Cluster ()
 
ID get_ID () const
 
size_t get_member_count () const
 
void scan_display_widths (DisplayFormat &format) const
 
const charget_list_display (const DisplayFormat *format) const
 
const DBItemSetget_members () const
 
void mark_all_members (ClusterMarkMode mmode) const
 
GBDATAget_representative () const
 
std::string get_upgroup_info (const ARB_countedTree *ct, const ARB_tree_predicate &keep_group_name, const std::string &separator)
 
double get_mean_distance () const
 
void update_description (const ARB_countedTree *ct)
 
void accept_proposed (bool accept)
 
bool lessByOrder (const Cluster &other, ClusterOrder sortBy) const
 

Detailed Description

Definition at line 70 of file di_foundclusters.hxx.

Constructor & Destructor Documentation

Cluster::Cluster ( ClusterTree *  ct)
Cluster::~Cluster ( )
inline

Definition at line 114 of file di_foundclusters.hxx.

Member Function Documentation

ID Cluster::get_ID ( ) const
inline
size_t Cluster::get_member_count ( ) const
inline
void Cluster::scan_display_widths ( DisplayFormat format) const
const char * Cluster::get_list_display ( const DisplayFormat format) const
const DBItemSet& Cluster::get_members ( ) const
inline

Definition at line 122 of file di_foundclusters.hxx.

Referenced by GroupBuilder::find_best_matching_subtree().

void Cluster::mark_all_members ( ClusterMarkMode  mmode) const

Definition at line 233 of file DI_clusters.cxx.

References CMM_ALL, CMM_ALL_BUT_REP, CMM_ONLY_REP, and GB_write_flag().

Referenced by mark_cluster().

GBDATA* Cluster::get_representative ( ) const
inline

Definition at line 125 of file di_foundclusters.hxx.

Referenced by select_representative().

string Cluster::get_upgroup_info ( const ARB_countedTree ct,
const ARB_tree_predicate keep_group_name,
const std::string separator 
)
double Cluster::get_mean_distance ( ) const
inline

Definition at line 128 of file di_foundclusters.hxx.

Referenced by GroupBuilder::generate_group_name().

void Cluster::update_description ( const ARB_countedTree ct)
inline

Definition at line 130 of file di_foundclusters.hxx.

Referenced by GroupBuilder::update_group().

void Cluster::accept_proposed ( bool  accept)
inline

Definition at line 133 of file di_foundclusters.hxx.

References NULp.

Referenced by accept_proposed_names().

bool Cluster::lessByOrder ( const Cluster other,
ClusterOrder  sortBy 
) const
inline

Definition at line 142 of file di_foundclusters.hxx.

References arb_test::less(), and SORT_REVERSE.

Referenced by SortClusterIDsBy::operator()().


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