My Project
Public Member Functions
moves Class Reference

'Best Moves' similarity More...

#include <distance.h>

Inheritance diagram for moves:
dist

List of all members.

Public Member Functions

 moves ()
template<typename T >
double operator() (T C1, T C2)

Detailed Description

'Best Moves' similarity

Using the 'Best Moves' distance - # of steps to get from one cluster to the other where each step is either an addition of a vertex in one cluster or a removal in the other


Constructor & Destructor Documentation

moves::moves ( ) [inline]

Constructor


Member Function Documentation

template<typename T >
double moves::operator() ( C1,
C2 
) [inline]

Compute the similarity

Parameters:
C1First cluster to compare
C2Second cluster to compare
Returns:
|C1| + |C2| - 2 * |C1 and C2|

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs