The hyperbolic index is an index that considers all closed walks of even or odd length on induced neighborhoods of a vertex.

hyperbolic_index(g, type = "odd")

## Arguments

g igraph object. string. 'even' if only even length walks should be considered. 'odd' (Default) if only odd length walks should be used.

## Value

A vector containing centrality scores.

## Details

The hyperbolic index is an illustrative index that should not be used for any serious analysis. Its purpose is to show that with enough mathematical trickery, any desired result can be obtained when centrality indices are used.

## Examples


library(igraph)

g <- graph.empty(n=11,directed = FALSE)
#>  [8]  8.585124  8.585124 16.291922  7.755459