|
My Project
|
Compare two single clusters. More...
#include <distance.h>
Public Member Functions | |
| dist () | |
| ~dist () | |
| template<typename T > | |
| double | operator() (T C1, T C2, int N) |
| dist * | Produce (string s) |
Public Attributes | |
| int | type |
Compare two single clusters.
Base Class for measuring the distance between two single clusters
| dist::dist | ( | ) | [inline] |
Constructor
| dist::~dist | ( | ) | [inline] |
Destructor
| double dist::operator() | ( | T | C1, |
| T | C2, | ||
| int | N | ||
| ) |
Compute the similarity
| C1 | First cluster to compare |
| C2 | Second cluster to compare |
| N | Number of vertices in the network (for calculating 'true negatives') |
Factory function for similarity call
| C1 | cluster list 1 |
| C2 | cluster list 2 |
| N | network size in vertices |
Reimplemented in entropy.
| dist * dist::Produce | ( | string | s | ) |
Factory function
| s | Type of similarity class to create |
Factory Functions for instantiation
| s | type of similarity measure to produce |
| int dist::type |
Class identifier
1.7.6.1