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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Digraph

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

func NewDigraph

func NewDigraph(sizeV int) *Digraph

func (*Digraph) AddEdge

func (dg *Digraph) AddEdge(v, w int)

func (*Digraph) AdjacencyList

func (dg *Digraph) AdjacencyList(v int) []int

func (*Digraph) Edges

func (dg *Digraph) Edges() int

func (*Digraph) Indegree

func (dg *Digraph) Indegree(v int) int

func (*Digraph) Outdegree

func (dg *Digraph) Outdegree(v int) int

func (*Digraph) Reverse

func (dg *Digraph) Reverse() *Digraph

func (*Digraph) Vertices

func (dg *Digraph) Vertices() int

Jump to

Keyboard shortcuts

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