47 par_kmedoids::par_kmedoids(MPI_Comm comm)
CAPEK and XCAPEK scalable parallel clustering algorithms.
long get_time_seed()
Returns a seed for random number generators based on the product of sec and usec from gettimeofday()...
double average_dissimilarity()
Get the average dissimilarity of objects w/their medoids for the last run.
void seed_random_uniform(MPI_Comm comm)
Seeds random number generators across all processes with the same number, taken from the time in micr...
MPI_Comm comm
Communicator, the processes of which this partition divides.
double total_dissimilarity(const partition &p, D dist)
Compute the total dissimilarity between all objects and their medoids.
void set_seed(uint32_t seed)
Set the random seed.
par_partition represents a partitioning of a distributed data set.
double best_bic_score
BIC score for the clustering found.
double bic_score()
BIC score for selected clustering.
random_t random
Random number distribution to be used for samples.
double epsilon
Tolerance for convergence tests in kmedoids PAM runs.
void set_epsilon(double epsilon)
Set tolerance for convergence.
Helper functions for taking random samples and seeding RNGs from the system clock.
double total_dissimilarity
Track whether the random seed has been set.