sim.field.network.stats.actorcentrality
Class PowerPrestige
java.lang.Object
sim.field.network.stats.actorcentrality.NodeIndex
sim.field.network.stats.actorcentrality.PowerPrestige
public class PowerPrestige
- extends NodeIndex
Bonacich's Power Centrality
C(alpha, beta)=alpha (I - beta R)^-1 R 1
where
- R = adjacency matrix (can be valued);
- I = identity matrix;
- 1 = all 1s;
- beta = attenuation parameter (a.k.a. decay rate);
- alpha = scaling vector, set to normalize the score;
"The coefficient alpha acts as a scaling parameter, and is set here (following
Bonacich (1987)) such that the sum of squared scores is equal to the number of
vertices. This allows 1 to be used as a reference value for the ``middle'' of
the centrality range"
(R documentation).
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 |
PowerPrestige
public PowerPrestige(Network network,
EdgeMetric metric)
PowerPrestige
public PowerPrestige(Network network,
double beta,
EdgeMetric metric)
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()
- Specified by:
getMaxValue
in class NodeIndex