centrality

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InDegree

func InDegree(id uint32, graph *graphs.Directed) int

func Markov

func Markov(g *graphs.Directed, threshold float64, maxIters int) map[uint32]float64

func Normalize

func Normalize(title string) string

func OutDegree

func OutDegree(id uint32, graph *graphs.Directed) int

Types

type ClosenessHarmonicResult added in v0.2.0

type ClosenessHarmonicResult struct {
	Closeness, Harmonic float64
}

func ClosenessHarmonic

func ClosenessHarmonic(id uint32, graph *graphs.Directed) ClosenessHarmonicResult

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL