Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

cluster_engine Class Reference

class wrapper around template cluster engine More...

#include <mstaccess.h>

Inheritance diagram for cluster_engine:

cluster_engine_impl

List of all members.

Public Member Functions

virtual ~cluster_engine ()
 destructor
virtual void do_clustering (const cluster_client *client, double max_vertex_distance, double max_cluster_distance, double avg_cluster_distance)=0
 do the real clustering process typically values (0.8, 2.0, 0.95) for soft clustering typically values (0.5, 0.9, 0.8) for hard clustering
virtual size_t get_clusters_count () const =0
 returns the count of clusters
virtual size_t get_cluster_size (size_t cluster_index) const =0
 returns (if cluster index is in the boundaries) the size of cluster
virtual size_t get_cluster_object (size_t cluster_index, size_t object_index) const =0
 returns (if cluster index is in the boundaries) the intem by index


Detailed Description

class wrapper around template cluster engine

Definition at line 70 of file mstaccess.h.


Constructor & Destructor Documentation

virtual cluster_engine::~cluster_engine (  )  [inline, virtual]

destructor

Definition at line 75 of file mstaccess.h.


Member Function Documentation

virtual void cluster_engine::do_clustering ( const cluster_client client,
double  max_vertex_distance,
double  max_cluster_distance,
double  avg_cluster_distance 
) [pure virtual]

do the real clustering process typically values (0.8, 2.0, 0.95) for soft clustering typically values (0.5, 0.9, 0.8) for hard clustering

Parameters:
max_vertex_distance  max allowed distance between two object in one cluster obj1 -> d1 -> obj2
max_cluster_distance  max allowed aggregated distance in the object chain belonging to the same cluster
avg_cluster_distance  for orphans adoption = (d1 + d2 + ... + dn) / n

Implemented in cluster_engine_impl.

virtual size_t cluster_engine::get_clusters_count (  )  const [pure virtual]

returns the count of clusters

Implemented in cluster_engine_impl.

virtual size_t cluster_engine::get_cluster_size ( size_t  cluster_index  )  const [pure virtual]

returns (if cluster index is in the boundaries) the size of cluster

Parameters:
cluster_index  cluster index

Implemented in cluster_engine_impl.

virtual size_t cluster_engine::get_cluster_object ( size_t  cluster_index,
size_t  object_index 
) const [pure virtual]

returns (if cluster index is in the boundaries) the intem by index

Parameters:
cluster_index  cluster index
object_index  object index

Implemented in cluster_engine_impl.


The documentation for this class was generated from the following file:


© Copyright Terimber 2003-.