math

package
v0.0.0-...-bacbb72 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAdjacencyDirectedMatrix

func MakeAdjacencyDirectedMatrix(length int, edges IntEdges) [][]bool

Make adjacency directed matrix

func MakeAdjacencyUndirectedMatrix

func MakeAdjacencyUndirectedMatrix(length int, edges IntEdges) [][]bool

Make adjacency undirected matrix

Types

type IntEdges

type IntEdges [][2]int

List of graph edges

func (*IntEdges) IntDFS

func (edges *IntEdges) IntDFS(from, to int) [][]int

Depth-first search for integer values

Jump to

Keyboard shortcuts

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