ARB
Classes | Functions
DI_foundclusters.cxx File Reference
#include "di_foundclusters.hxx"
#include "di_clustertree.hxx"
#include <aw_window.hxx>
#include <aw_select.hxx>
#include <cmath>
Include dependency graph for DI_foundclusters.cxx:

Go to the source code of this file.

Classes

class  DisplayFormat
 
class  SortClusterIDsBy
 

Functions

static AP_FLOAT calc_mean_dist_to (const ClusterTree *distance_to, const LeafRelations *distances)
 
static stringget_downgroups (const ARB_countedTree *ct, const ARB_tree_predicate &keep_group_name, size_t &group_members)
 
static const charget_upgroup (const ARB_countedTree *ct, const ARB_tree_predicate &keep_group_name, const ARB_countedTree *&upgroupPtr, bool reuse_original_name)
 
charoriginalGroupName (const char *groupname)
 

Function Documentation

static AP_FLOAT calc_mean_dist_to ( const ClusterTree *  distance_to,
const LeafRelations distances 
)
static

Definition at line 24 of file DI_foundclusters.cxx.

References cl_assert, TwoLeafs::first(), and TwoLeafs::second().

Referenced by Cluster::Cluster().

static string* get_downgroups ( const ARB_countedTree ct,
const ARB_tree_predicate keep_group_name,
size_t &  group_members 
)
static
static const char* get_upgroup ( const ARB_countedTree ct,
const ARB_tree_predicate keep_group_name,
const ARB_countedTree *&  upgroupPtr,
bool  reuse_original_name 
)
static
char* originalGroupName ( const char groupname)