org.graphstream.algorithm.measure
Class VariationOfInformation

java.lang.Object
  extended by org.graphstream.stream.SinkAdapter
      extended by org.graphstream.algorithm.measure.CommunityMeasure
          extended by org.graphstream.algorithm.measure.CommunityRelativeMeasure
              extended by org.graphstream.algorithm.measure.NormalizedMutualInformation
                  extended by 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
VariationOfInformation(String marker)
           
VariationOfInformation(String marker, String referenceMarker)
           
 
Method Summary
 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
 
Methods inherited from class org.graphstream.stream.SinkAdapter
edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, nodeAttributeRemoved, stepBegins
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariationOfInformation

public VariationOfInformation(String marker)

VariationOfInformation

public VariationOfInformation(String marker,
                              String referenceMarker)
Method Detail

compute

public void compute()
Description copied from class: NormalizedMutualInformation
Compute the new NMI measure value.

Specified by:
compute in interface Algorithm
Overrides:
compute in class NormalizedMutualInformation
See Also:
Algorithm.init(Graph)


Copyright © 2011. All Rights Reserved.