ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include "cluster.h"
#include "pointcloud.h"
#include "triplet.h"
#include <algorithm>
#include <cmath>
#include <iostream>
#include <iterator>
#include <memory>
#include <set>
#include "hclust/fastcluster.h"
Go to the source code of this file.
Functions | |
double | mean (const double *a, size_t m) |
double | sd (const double *a, size_t m) |
void | calculate_distance_matrix (const std::vector< triplet > &triplets, const PointCloud &cloud, double *result, ScaleTripletMetric &triplet_metric) |
void | compute_hc (const PointCloud &cloud, cluster_group &result, const std::vector< triplet > &triplets, double s, double t, bool tauto, double dmax, bool is_dmax, Linkage method, int opt_verbose) |
void | cleanup_cluster_group (cluster_group &cl_group, size_t m, int opt_verbose) |
void | cluster_triplets_to_points (const std::vector< triplet > &triplets, cluster_group &cl_group) |
void | add_clusters (PointCloud &cloud, cluster_group &cl_group, bool gnuplot) |
void add_clusters | ( | PointCloud & | cloud, |
cluster_group & | cl_group, | ||
bool | gnuplot | ||
) |
Definition at line 212 of file cluster.cxx.
void calculate_distance_matrix | ( | const std::vector< triplet > & | triplets, |
const PointCloud & | cloud, | ||
double * | result, | ||
ScaleTripletMetric & | triplet_metric | ||
) |
Definition at line 53 of file cluster.cxx.
void cleanup_cluster_group | ( | cluster_group & | cl_group, |
size_t | m, | ||
int | opt_verbose | ||
) |
Definition at line 165 of file cluster.cxx.
void cluster_triplets_to_points | ( | const std::vector< triplet > & | triplets, |
cluster_group & | cl_group | ||
) |
Definition at line 185 of file cluster.cxx.
void compute_hc | ( | const PointCloud & | cloud, |
cluster_group & | result, | ||
const std::vector< triplet > & | triplets, | ||
double | s, | ||
double | t, | ||
bool | tauto, | ||
double | dmax, | ||
bool | is_dmax, | ||
Linkage | method, | ||
int | opt_verbose | ||
) |
Definition at line 74 of file cluster.cxx.
double mean | ( | const double * | a, |
size_t | m | ||
) |
Definition at line 26 of file cluster.cxx.
double sd | ( | const double * | a, |
size_t | m | ||
) |
Definition at line 36 of file cluster.cxx.