ranker

package
v0.0.0-...-7f31ccb Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ranker

type Ranker struct {
	Crawler      *crawler.WebCrawler
	Markov       *matrix.MarkovMatrix
	Exporter     exporter.RexOpts
	Result       map[string]float64
	NumOfResults int
}

func CreateRanker

func CreateRanker(opts RankerOpts) *Ranker

func (*Ranker) GetPageRank

func (r *Ranker) GetPageRank()

type RankerOpts

type RankerOpts struct {
	Crawler      *crawler.WebCrawlerOpts
	Markov       *matrix.MarkovMatrixOpts
	Exporter     *exporter.RexOpts
	NumOfResults int
}

Jump to

Keyboard shortcuts

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