My Project
|
Ratio of internal weights to internal+external weights. More...
#include <density.h>
Public Member Functions | |
double | operator() (typename graph_t::edge_name_t win, typename graph_t::edge_name_t wout, lui k) const |
Ratio of internal weights to internal+external weights.
Not really useful
double simple_density< graph_t >::operator() | ( | typename graph_t::edge_name_t | win, |
typename graph_t::edge_name_t | wout, | ||
lui | k | ||
) | const [inline, 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 |
Implements density< graph_t >.