Class EigenvectorCentrality<U>

java.lang.Object
es.uam.eps.ir.relison.sna.metrics.vertex.MatrixBasedVertexMetric<U>
es.uam.eps.ir.relison.sna.metrics.vertex.EigenvectorCentrality<U>
All Implemented Interfaces:
VertexMetric<U>

public class EigenvectorCentrality<U>
extends MatrixBasedVertexMetric<U>
Finds the eigenvector centrality of the network, which measures the importance of a node based on the importance of its neighbors. It is the solution to equation Ax = kx, where k is the largest eigenvalue of the adjacency matrix A.

Reference: Bonacich, P.F. Power and centrality: A family of measures. American Journal of Sociology 92 (5), pp. 1170-1182 (1987)

  • Field Details

  • Constructor Details

    • EigenvectorCentrality

      public EigenvectorCentrality​(MatrixLibrary library, EdgeOrientation orient)
      Constructor.
      Parameters:
      library - the matrix library to use.
      orient - the orientation to choose for the adjacency matrix.
    • EigenvectorCentrality

      public EigenvectorCentrality​(MatrixLibrary library)
      Constructor. It takes the paths leading to the users (right eigenvector - Orientation OUT).
      Parameters:
      library - the matrix library to use.
    • EigenvectorCentrality

      public EigenvectorCentrality​(EdgeOrientation orient)
      Constructor. It uses the default matrix libraries.
      Parameters:
      orient - the orientation to choose for the adjacency matrix.
    • EigenvectorCentrality

      public EigenvectorCentrality()
      Constructor. It uses the default matrix libraries and considers the paths leading to the users (right eigenvector - Orientation OUT).
  • Method Details