My Project
|
Repeated Random Walks Implementation. More...
#include <RRW.h>
Public Member Functions | |
RRW (string a) | |
~RRW () | |
void | calculate () |
Static Public Member Functions | |
static bool | RRWComp (map< lui, map< lui, R > > *component, void *instance) |
Repeated Random Walks Implementation.
Expects java implementation in same directory
Constructor
Set simple parameters.
args | Algorithm arguments |
Implementation Wrapper Calls implementation on each connected component of network
Wrapper function to implement repeated random walks.
Implements ClusterAlg< R >.
template bool RRW< R >::RRWComp | ( | map< lui, map< lui, R > > * | component, |
void * | instance | ||
) | [static] |
Actual Implementation
component | Connected component of the network to run the algorithm on |
instance | Clustering Algorithm instance |
Repeated Random Walks implementation to run on each connected component
component | Connected component of the network |
instance | Pointer to RRW clustering algorithm instance to save communities to (function is static) |