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_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]

desrtuctor

Definition at line 42 of file mstaccess.h.


Member Function Documentation

virtual size_t cluster_client::size (  )  const [pure virtual]

returns the size of array of object prepared for clustering

Referenced by cluster_engine_impl::size().

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]

just for notification what's going on inside the clustering engine

Parameters:
msg  notification message

Referenced by cluster_engine_impl::notify().


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


© Copyright Terimber 2003-.