cluster_engine Class Reference
class wrapper around template cluster engine
More...
#include <mstaccess.h>
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] |
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] |
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: