My Project
Public Member Functions | Public Attributes
dist Class Reference

Compare two single clusters. More...

#include <distance.h>

Inheritance diagram for dist:
entropy moves normalized

List of all members.

Public Member Functions

 dist ()
 ~dist ()
template<typename T >
double operator() (T C1, T C2, int N)
distProduce (string s)

Public Attributes

int type

Detailed Description

Compare two single clusters.

Base Class for measuring the distance between two single clusters


Constructor & Destructor Documentation

dist::dist ( ) [inline]

Constructor

dist::~dist ( ) [inline]

Destructor


Member Function Documentation

template<typename T >
double dist::operator() ( C1,
C2,
int  N 
)

Compute the similarity

Parameters:
C1First cluster to compare
C2Second cluster to compare
NNumber of vertices in the network (for calculating 'true negatives')
Returns:
similarity measure value

Factory function for similarity call

Parameters:
C1cluster list 1
C2cluster list 2
Nnetwork size in vertices

Reimplemented in entropy.

dist * dist::Produce ( string  s)

Factory function

Parameters:
sType of similarity class to create

Factory Functions for instantiation

Parameters:
stype of similarity measure to produce

Member Data Documentation

Class identifier


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