Documentation
¶
Overview ¶
Package pagerank implements the *weighted* PageRank algorithm.
Package pagerank implements the *weighted* PageRank algorithm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NumCPU is the number of cpus NumCPU = runtime.NumCPU() )
Functions ¶
This section is empty.
Types ¶
type Graph32 ¶
type Graph32 struct {
Verbose bool
// contains filtered or unexported fields
}
Graph32 holds node and edge data.
func NewGraph32 ¶
NewGraph32 initializes and returns a new graph.
func (*Graph32) Link ¶
Link creates a weighted edge between a source-target node pair. If the edge already exists, the weight is incremented.
type Graph64 ¶
type Graph64 struct {
Verbose bool
// contains filtered or unexported fields
}
Graph64 holds node and edge data.
func NewGraph64 ¶
NewGraph64 initializes and returns a new graph.
func (*Graph64) Link ¶
Link creates a weighted edge between a source-target node pair. If the edge already exists, the weight is incremented.
Click to show internal directories.
Click to hide internal directories.