sim.field.network.stats.actorcentrality
Class PowerPrestige

java.lang.Object
  extended by sim.field.network.stats.actorcentrality.NodeIndex
      extended by 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

"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).


Field Summary
 
Fields inherited from class sim.field.network.stats.actorcentrality.NodeIndex
network
 
Constructor Summary
PowerPrestige(Network network, double beta, EdgeMetric metric)
           
PowerPrestige(Network network, EdgeMetric metric)
           
 
Method Summary
 double getMaxValue()
           
 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

PowerPrestige

public PowerPrestige(Network network,
                     EdgeMetric metric)

PowerPrestige

public PowerPrestige(Network network,
                     double beta,
                     EdgeMetric metric)
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()
Specified by:
getMaxValue in class NodeIndex