prime_mst

package
v0.0.0-...-8859e38 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrimeMST

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

PrimeMST is a data type for computing the minimum spanning tree/forest in an edge weighted undirected graph using Prime’s algorithm with an indexed binary heap

func (*PrimeMST) Edges

func (mst *PrimeMST) Edges() []edge.Edge

func (*PrimeMST) Weight

func (mst *PrimeMST) Weight() float64

Jump to

Keyboard shortcuts

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