Class KatzCentrality<U>

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

public class KatzCentrality<U>
extends MatrixBasedVertexMetric<U>
Finds the Katz centrality of the nodes, which estimates the importance of a node considering the paths between the node and the rest of the network. Katz centrality of the nodes.

Reference: Katz, L. A new status index derived from sociometric analysis. Psychometrika 18(1), pp. 33-43 (1953)

  • Field Details

    • orient

      private final EdgeOrientation orient
      The orientation of the paths.
    • alpha

      private final double alpha
      A dumping factor.
  • Constructor Details

    • KatzCentrality

      public KatzCentrality​(MatrixLibrary library, EdgeOrientation orient, double alpha)
      Constructor.
      Parameters:
      library - the matrix library to use.
      orient - the orientation to choose for the adjacency matrix.
      alpha - the dumping factor for paths at large distances.
    • KatzCentrality

      public KatzCentrality​(MatrixLibrary library, double alpha)
      Constructor. By default, it considers the paths leading to the user.
      Parameters:
      library - the matrix library to use.
      alpha - the dumping factor for paths at large distances.
    • KatzCentrality

      public KatzCentrality​(EdgeOrientation orient, double alpha)
      Constructor. It uses the default matrix libraries.
      Parameters:
      orient - the orientation to choose for the adjacency matrix.
      alpha - the dumping factor for paths at large distances.
    • KatzCentrality

      public KatzCentrality​(double alpha)
      Constructor. It uses the default matrix libraries and considers the paths leading to the users.
      Parameters:
      alpha - the dumping factor for paths at large distances.
  • Method Details