sim.field.network.stats.actorcentrality
Class InformationCentrality
java.lang.Object
sim.field.network.stats.actorcentrality.NodeIndex
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.
Fields inherited from class sim.field.network.stats.actorcentrality.NodeIndex |
network |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InformationCentrality
public InformationCentrality(Network network,
EdgeMetric weightFn)
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