Home | Trees | Indices | Help |
|
---|
|
object --+ | Clustering --+ | OverlappingClustering --+ | object --+ | | | Clustering --+ | | | VertexClustering --+ | OverlappingVertexClustering
Overlapping clustering of the vertex set of a graph.
This class extends OverlappingClustering by linking it to a specific Graph object and by optionally storing the modularity score of the clustering.
Modularity in the case of overlapping communities is defined similarly to the nonoverlapping case, but the statement that ``vertex i and j is in the same community'' (expressed by the Kronecker-delta at the end of the formula in the original paper) is replaced by the statement that ``vertex i and j are both contained by at least one of the communities''.
Note:
since this class is linked to a Graph, destroying the graph by the
del
operator does not free the memory occupied by the
graph if there exists an OverlappingVertexClustering that references the Graph.
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
Creates an overlapping clustering object for a given graph.
|
Recalculates the stored modularity value. This method must be called before querying the modularity score of the
clustering through the class member
To Do: this is pretty slow now, it should eventually be moved to the C layer. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 16 21:30:47 2008 | http://epydoc.sourceforge.net |