sim.field.network.stats.actorcentrality
Class InformationCentrality

java.lang.Object
  extended by sim.field.network.stats.actorcentrality.NodeIndex
      extended by sim.field.network.stats.actorcentrality.InformationCentrality

public class InformationCentrality
extends NodeIndex

Actor Information Centrality (Wasserman and Faust, page 195 for undirected and page 201 for directed graphs).

Note that this works for both dichotomous and valued relations (i.e. hops and weights).

It requires a matrix inversion that should be reused by all getMeasure() calls.


Field Summary
 
Fields inherited from class sim.field.network.stats.actorcentrality.NodeIndex
network
 
Constructor Summary
InformationCentrality(Network network, EdgeMetric weightFn)
           
 
Method Summary
 double getMaxValue()
          Sum_{i} getMeasure(i)
 double getValue(int nodeIndex)
           
 double getValue(java.lang.Object node)
           
 
Methods inherited from class sim.field.network.stats.actorcentrality.NodeIndex
getStandardizedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InformationCentrality

public InformationCentrality(Network network,
                             EdgeMetric weightFn)
Method Detail

getValue

public double getValue(java.lang.Object node)
Specified by:
getValue in class NodeIndex

getValue

public double getValue(int nodeIndex)
Overrides:
getValue in class NodeIndex

getMaxValue

public double getMaxValue()
Sum_{i} getMeasure(i)

Specified by:
getMaxValue in class NodeIndex