|
My Project
|
Interface for densities. More...
#include <density.h>
Public Member Functions | |
| virtual | ~density () |
| virtual double | operator() (typename graph_t::edge_name_t win, typename graph_t::edge_name_t wout, lui k) const =0 |
Interface for densities.
Provides a function to numerically suggest how dense a certain cluster is.
Destructor Empty
| virtual double density< graph_t >::operator() | ( | typename graph_t::edge_name_t | win, |
| typename graph_t::edge_name_t | wout, | ||
| lui | k | ||
| ) | const [pure virtual] |
Calculates a density based on the above numbers.
| win | Sum of weights of edges with both endpoints in cluster |
| wout | Sum of weights of edges with exactly one endpoint in cluster |
| k | Size of the cluster |
Implemented in negative_density< graph_t >, complex_density< graph_t >, and simple_density< graph_t >.
1.7.6.1