edge_weighted_graph

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EdgeWeightedGraph

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

func NewEdgeWeightedGraph

func NewEdgeWeightedGraph(sizeV int) *EdgeWeightedGraph

func (*EdgeWeightedGraph) AddEdge

func (g *EdgeWeightedGraph) AddEdge(e edge.Edge)

func (*EdgeWeightedGraph) AdjacencyList

func (g *EdgeWeightedGraph) AdjacencyList(v int) []edge.Edge

func (*EdgeWeightedGraph) Degree

func (g *EdgeWeightedGraph) Degree(v int) int

func (*EdgeWeightedGraph) Edges

func (g *EdgeWeightedGraph) Edges() []edge.Edge

func (*EdgeWeightedGraph) EdgesCount

func (g *EdgeWeightedGraph) EdgesCount() int

func (*EdgeWeightedGraph) VerticesCount

func (g *EdgeWeightedGraph) VerticesCount() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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