|
My Project
|
Weights simple_density measure with edge probability. More...
#include <density.h>
Public Member Functions | |
| complex_density (double _lambda) | |
| double | operator() (typename graph_t::edge_name_t win, typename graph_t::edge_name_t wout, lui k) const |
Weights simple_density measure with edge probability.
Weighted equation of the simple definition and a ratio of the weights of included edges to the number of possible inside edges.
| complex_density< graph_t >::complex_density | ( | double | _lambda | ) | [inline] |
Constructor
| _lambda | Parameter to control the focus balance between simple_density measure and edge probability (0 - 0.5 work best) |
| double complex_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 >.
1.7.6.1