My Project
Public Member Functions | Static Public Member Functions
RRW< R > Class Template Reference

Repeated Random Walks Implementation. More...

#include <RRW.h>

Inheritance diagram for RRW< R >:
ClusterAlg< R >

List of all members.

Public Member Functions

 RRW (string a)
 ~RRW ()
void calculate ()

Static Public Member Functions

static bool RRWComp (map< lui, map< lui, R > > *component, void *instance)

Detailed Description

template<typename R>
class RRW< R >

Repeated Random Walks Implementation.

Expects java implementation in same directory


Constructor & Destructor Documentation

template<typename R >
RRW< R >::RRW ( string  a) [inline]

Constructor

Set simple parameters.

Parameters:
argsAlgorithm arguments
template<typename R >
RRW< R >::~RRW ( ) [inline]

Destructor

Empty


Member Function Documentation

template<typename R >
template void RRW< R >::calculate ( ) [virtual]

Implementation Wrapper Calls implementation on each connected component of network

Wrapper function to implement repeated random walks.

Implements ClusterAlg< R >.

template<typename R >
template bool RRW< R >::RRWComp ( map< lui, map< lui, R > > *  component,
void *  instance 
) [static]

Actual Implementation

Parameters:
componentConnected component of the network to run the algorithm on
instanceClustering Algorithm instance
Returns:
true

Repeated Random Walks implementation to run on each connected component

Parameters:
componentConnected component of the network
instancePointer to RRW clustering algorithm instance to save communities to (function is static)
Returns:
true

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