cluster_client Class Reference
temporary external wrapper for clustering
algorithm demonstration
More...
#include <mstaccess.h>
List of all members.
|
Public Member Functions |
virtual | ~cluster_client () |
| desrtuctor
|
virtual size_t | size () const =0 |
| returns the size of array of object prepared for clustering
|
virtual double | distance (size_t from, size_t to) const =0 |
| returned distance may NOT be negative and should be the same for (from, to) and (to, from) index is zero based [0, size() - 1] you can imagine the performance imrovement when virtual call will be replaced by inline function for template implementation
|
virtual void | notify (const char *msg) const =0 |
| just for notification what's going on inside the clustering engine
|
Detailed Description
temporary external wrapper for clustering
algorithm demonstration
abstract class for external clients
Definition at line 38 of file mstaccess.h.
Constructor & Destructor Documentation
virtual cluster_client::~cluster_client |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual size_t cluster_client::size |
( |
|
) |
const [pure virtual] |
virtual double cluster_client::distance |
( |
size_t |
from, |
|
|
size_t |
to | |
|
) |
| | const [pure virtual] |
returned distance may NOT be negative and should be the same for (from, to) and (to, from) index is zero based [0, size() - 1] you can imagine the performance imrovement when virtual call will be replaced by inline function for template implementation
- Parameters:
-
from |
from ident |
to |
to ident |
Referenced by cluster_engine_impl::distance().
virtual void cluster_client::notify |
( |
const char * |
msg |
) |
const [pure virtual] |
The documentation for this class was generated from the following file: