tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cluster.c File Reference
#include <assert.h>
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "common.h"
#include "cluster.h"
#include "normal.h"
#include "random.h"
#include "util.h"
#include "tm.h"
Include dependency graph for cluster.c:

Functions

static float * extractMoments (float *data, int num_elts, int num_moments)
 
static void zscoreTransform (float **data, int numObjects, int numAttributes)
 
int cluster_exec (int nthreads, int numObjects, int numAttributes, float **attributes, int use_zscore_transform, int min_nclusters, int max_nclusters, float threshold, int *best_nclusters, float ***cluster_centres, int *cluster_assign)
 

Function Documentation

int cluster_exec ( int  nthreads,
int  numObjects,
int  numAttributes,
float **  attributes,
int  use_zscore_transform,
int  min_nclusters,
int  max_nclusters,
float  threshold,
int *  best_nclusters,
float ***  cluster_centres,
int *  cluster_assign 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static float* extractMoments ( float *  data,
int  num_elts,
int  num_moments 
)
static

Here is the caller graph for this function:

static void zscoreTransform ( float **  data,
int  numObjects,
int  numAttributes 
)
static

Here is the call graph for this function:

Here is the caller graph for this function: