ARB
|
#include <di_foundclusters.hxx>
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 char * | get_list_display (const DisplayFormat *format) const |
const DBItemSet & | get_members () const |
void | mark_all_members (ClusterMarkMode mmode) const |
GBDATA * | get_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 |
Definition at line 70 of file di_foundclusters.hxx.
Cluster::Cluster | ( | ClusterTree * | ct | ) |
Definition at line 43 of file DI_foundclusters.cxx.
References calc_mean_dist_to(), cl_assert, CS_IS_CLUSTER, TwoLeafs::first(), NULp, and TwoLeafs::second().
|
inline |
Definition at line 114 of file di_foundclusters.hxx.
|
inline |
Definition at line 116 of file di_foundclusters.hxx.
Referenced by ClustersData::add(), ClustersData::get_pos(), group_clusters(), ClustersData::remove(), store_selected_cluster(), and ClustersData::update_cluster_selection_list().
|
inline |
Definition at line 118 of file di_foundclusters.hxx.
Referenced by GroupBuilder::find_best_matching_subtree(), get_list_display(), and scan_display_widths().
void Cluster::scan_display_widths | ( | DisplayFormat & | format | ) | const |
Definition at line 321 of file DI_foundclusters.cxx.
References DisplayFormat::announce(), get_member_count(), and max.
Referenced by ClustersData::update_cluster_selection_list().
const char * Cluster::get_list_display | ( | const DisplayFormat * | format | ) | const |
Definition at line 326 of file DI_foundclusters.cxx.
References GBS_global_string(), DisplayFormat::get_format(), and get_member_count().
Referenced by ClustersData::update_cluster_selection_list(), and GroupBuilder::update_group().
|
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().
|
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 | ||
) |
Definition at line 212 of file DI_foundclusters.cxx.
References cl_assert, GBS_global_string(), TreeNode::get_leaf_count(), get_upgroup(), TreeNode::is_leaf(), NULp, and ARB_countedTree::relative_position_in().
Referenced by GroupBuilder::generate_group_name().
|
inline |
Definition at line 128 of file di_foundclusters.hxx.
Referenced by GroupBuilder::generate_group_name().
|
inline |
Definition at line 130 of file di_foundclusters.hxx.
Referenced by GroupBuilder::update_group().
|
inline |
Definition at line 133 of file di_foundclusters.hxx.
References NULp.
Referenced by accept_proposed_names().
|
inline |
Definition at line 142 of file di_foundclusters.hxx.
References arb_test::less(), and SORT_REVERSE.
Referenced by SortClusterIDsBy::operator()().