12 #ifndef DI_FOUNDCLUSTERS_HXX
13 #define DI_FOUNDCLUSTERS_HXX
15 #ifndef GUI_ALIVIEW_HXX
25 #ifndef _GLIBCXX_VECTOR
28 #ifndef _GLIBCXX_ALGORITHM
31 #ifndef _GLIBCXX_STRING
38 #define cl_assert(cond) arb_assert(cond)
89 void propose_description(
const std::string& newDesc) {
131 propose_description(create_description(ct));
134 if (accept && next_desc) {
145 less = other.lessByOrder_forward(*
this,
ClusterOrder(sortBy^SORT_REVERSE));
148 less = lessByOrder_forward(other, sortBy);
195 return found == end ? -1 : distance(begin, found);
201 return size_t(pos)<ids.size() ? ids.at(pos) : 0;
207 weighted_filter(weighted_filter_),
218 else if (newOrder != criteria[0]) {
219 criteria[1] = criteria[0];
220 criteria[0] = newOrder;
227 return found == known_clusters.end() ?
ClusterPtr() : found->second;
256 #error di_foundclusters.hxx included twice
257 #endif // DI_FOUNDCLUSTERS_HXX
GBDATA * get_representative() const
GBDATA * get_gb_main() const
const DBItemSet & get_members() const
size_t count(ClusterSubset subset)
AliDataPtr format(AliDataPtr data, const size_t wanted_len, GB_ERROR &error)
const char * get_list_display(const DisplayFormat *format) const
double get_mean_distance() const
return string(buffer, length)
KnownClusters::const_iterator KnownClustersIter
void changeSortOrder(ClusterOrder newOrder)
void update_cluster_selection_list()
ID idAtPos(int pos, ClusterSubset subset)
AW_root * get_aw_root() const
void update_description(const ARB_countedTree *ct)
SmartPtr< Cluster > ClusterPtr
void add(ClusterPtr clus, ClusterSubset subset)
std::string get_upgroup_info(const ARB_countedTree *ct, const ARB_tree_predicate &keep_group_name, const std::string &separator)
void scan_display_widths(DisplayFormat &format) const
std::set< GBDATA * > DBItemSet
AW_root * get_aw_root() const
const ClusterIDs & get_clusterIDs(ClusterSubset subset)
std::vector< ID > ClusterIDs
int get_pos(ClusterPtr cluster, ClusterSubset subset)
bool less(const copy< T > &t1, const copy< T > &t2)
GBDATA * get_gb_main() const
void clear(ClusterSubset subset)
std::map< ID, ClusterPtr > KnownClusters
void accept_proposed(bool accept)
char * originalGroupName(const char *groupname)
ClusterIDs::const_iterator ClusterIDsIter
ClusterPtr clusterWithID(ID id) const
ClustersData(WeightedFilter &weighted_filter_)
size_t get_member_count() const
bool lessByOrder(const Cluster &other, ClusterOrder sortBy) const
WeightedFilter & weighted_filter
AW_selection_list * clusterList
void mark_all_members(ClusterMarkMode mmode) const