public class NormalizedMutualInformation extends CommunityRelativeMeasure
Constructor and Description |
---|
NormalizedMutualInformation(java.lang.String marker)
New NMI measure, using the given marker for the dynamically performed
assignment, and the default marker for the reference assignment.
|
NormalizedMutualInformation(java.lang.String marker,
java.lang.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, nodeRemoved
edgeAdded, edgeRemoved, getLastComputedValue, getMeasure, graphCleared, init, nodeAttributeAdded, terminate
public NormalizedMutualInformation(java.lang.String marker)
marker
- name of the attribute marking the computed communities.public NormalizedMutualInformation(java.lang.String marker, java.lang.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 Algorithm
compute
in class CommunityRelativeMeasure
Algorithm.init(Graph)