public class NormalizedMutualInformation extends CommunityRelativeMeasure
| Constructor and Description |
|---|
NormalizedMutualInformation(String marker)
New NMI measure, using the given marker for the dynamically performed
assignment, and the default marker for the reference assignment.
|
NormalizedMutualInformation(String marker,
String referenceMarker)
New NMI measure, using the given marker for the dynamically performed
assignment, and the given refrenceMarker for the reference assignment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Compute the new NMI measure value.
|
nodeAdded, nodeAttributeChanged, nodeRemovededgeAdded, edgeRemoved, getLastComputedValue, getMeasure, graphCleared, init, nodeAttributeAdded, terminatepublic NormalizedMutualInformation(String marker)
marker - name of the attribute marking the computed communities.public NormalizedMutualInformation(String marker, String referenceMarker)
marker - name of the attribute marking the computed communities.referenceMarker - name of the attribute marking the reference communities.public void compute()
compute in interface Algorithmcompute in class CommunityRelativeMeasureAlgorithm.init(Graph)Copyright © 2015. All rights reserved.