All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
NetworKit::PermanenceCentrality Class Reference

#include <PermanenceCentrality.h>

Public Member Functions

 PermanenceCentrality (const Graph &G, const Partition &P)
 
void run ()
 The generic run method which calls runImpl() and takes care of setting to the appropriate value. More...
 
double getPermanence (node u)
 
double getIntraClustering (node u)
 
- Public Member Functions inherited from NetworKit::Algorithm
 Algorithm ()
 Constructor to the algorithm base class. More...
 
virtual ~Algorithm ()=default
 Virtual default destructor. More...
 
bool hasFinished () const
 Indicates whether an algorithm has completed computation or not. More...
 
void assureFinished () const
 Assure that the algorithm has been run, throws a std::runtime_error otherwise. More...
 
virtual std::string toString () const
 Returns a string with the algorithm's name and its parameters, if there are any. More...
 
virtual bool isParallel () const
 

Additional Inherited Members

- Protected Attributes inherited from NetworKit::Algorithm
bool hasRun
 A boolean variable indicating whether an algorithm has finished its computation or not. More...
 

Constructor & Destructor Documentation

NetworKit::PermanenceCentrality::PermanenceCentrality ( const Graph G,
const Partition P 
)

Member Function Documentation

double NetworKit::PermanenceCentrality::getIntraClustering ( NetworKit::node  u)
double NetworKit::PermanenceCentrality::getPermanence ( NetworKit::node  u)
void NetworKit::PermanenceCentrality::run ( )
virtual

The generic run method which calls runImpl() and takes care of setting to the appropriate value.

Implements NetworKit::Algorithm.


The documentation for this class was generated from the following files: