Interface CommunityMetric<U>
- Type Parameters:
U- type of the users.
- All Known Implementing Classes:
AggregateIndividualCommMetric,CommunityDegreeGini,CommunityDestinySize,CommunityEdgeGini,CommunitySizeGini,ComplementaryCommunityMetric,CompleteCommunityDegreeGini,CompleteCommunityEdgeGini,DiceCommunityEdgeGini,DiceCompleteCommunityEdgeGini,DiceInterCommunityEdgeGini,DiceSemiCompleteCommunityEdgeGini,InterCommunityDegreeGini,InterCommunityEdgeGini,Modularity,ModularityComplement,NumCommunities,SemiCompleteCommunityEdgeGini,SizeNormalizedCommunityDegreeGini,SizeNormalizedCommunityEdgeGini,SizeNormalizedCompleteCommunityDegreeGini,SizeNormalizedCompleteCommunityEdgeGini,SizeNormalizedInterCommunityDegreeGini,SizeNormalizedInterCommunityEdgeGini,SizeNormalizedSemiCompleteCommunityEdgeGini,WeakTies
public interface CommunityMetric<U>
Global metric that depends on the communities of the graph.
-
Method Summary
Modifier and Type Method Description doublecompute(Graph<U> graph, Communities<U> comm)Computes the value of the metric in the graph.
-
Method Details
-
compute
Computes the value of the metric in the graph.- Parameters:
graph- Graph.comm- Communities of the graph.- Returns:
- the value of the metric.
-