Class VariationOfInformation
java.lang.Object
org.graphstream.stream.SinkAdapter
org.graphstream.algorithm.measure.CommunityMeasure
org.graphstream.algorithm.measure.CommunityRelativeMeasure
org.graphstream.algorithm.measure.NormalizedMutualInformation
org.graphstream.algorithm.measure.VariationOfInformation
- All Implemented Interfaces:
Algorithm
,DynamicAlgorithm
,org.graphstream.stream.AttributeSink
,org.graphstream.stream.ElementSink
,org.graphstream.stream.Sink
public class VariationOfInformation extends NormalizedMutualInformation
-
Constructor Summary
Constructors Constructor Description VariationOfInformation(String marker)
VariationOfInformation(String marker, String referenceMarker)
-
Method Summary
Modifier and Type Method Description void
compute()
Compute the new NMI measure value.Methods inherited from class org.graphstream.algorithm.measure.CommunityRelativeMeasure
nodeAdded, nodeAttributeChanged, nodeRemoved
Methods inherited from class org.graphstream.algorithm.measure.CommunityMeasure
edgeAdded, edgeRemoved, getLastComputedValue, getMeasure, graphCleared, init, nodeAttributeAdded, terminate
-
Constructor Details
-
Method Details
-
compute
public void compute()Description copied from class:NormalizedMutualInformation
Compute the new NMI measure value.- Specified by:
compute
in interfaceAlgorithm
- Overrides:
compute
in classNormalizedMutualInformation
- See Also:
Algorithm.init(Graph)
-