centrality

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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 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

type Normalizer added in v0.3.0

type Normalizer struct {
	// contains filtered or unexported fields
}

func NewNormalizer added in v0.3.0

func NewNormalizer() *Normalizer

func (Normalizer) Normalize added in v0.3.0

func (n Normalizer) Normalize(title string) string

Jump to

Keyboard shortcuts

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