Documentation ¶
Index ¶
- func YieldAllPaths(l DirectedGraph, from, to int) chan []DirectedEdge
- type BasicDirectedEdge
- type BasicGraph
- func (g *BasicGraph) GetDirectedEdge(i int) DirectedEdge
- func (g *BasicGraph) GetEdge(i int) Edge
- func (g *BasicGraph) GetEdges() []int
- func (g *BasicGraph) GetVertex(i int) Vertex
- func (g *BasicGraph) GetVertices() []int
- func (g *BasicGraph) NumberOfEdges() int
- func (g *BasicGraph) NumberOfVertices() int
- type BasicVertex
- type BoundedLattice
- type DirectedEdge
- type DirectedGraph
- type Edge
- type Graph
- type Lattice
- type Vertex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func YieldAllPaths ¶
func YieldAllPaths(l DirectedGraph, from, to int) chan []DirectedEdge
Types ¶
type BasicDirectedEdge ¶
type BasicDirectedEdge [3]int
func (BasicDirectedEdge) From ¶
func (e BasicDirectedEdge) From() int
func (BasicDirectedEdge) ID ¶
func (e BasicDirectedEdge) ID() int
func (BasicDirectedEdge) To ¶
func (e BasicDirectedEdge) To() int
func (BasicDirectedEdge) Vertices ¶
func (e BasicDirectedEdge) Vertices() []int
type BasicGraph ¶
type BasicGraph struct { Vertices []BasicVertex Edges []BasicDirectedEdge }
func (*BasicGraph) GetDirectedEdge ¶
func (g *BasicGraph) GetDirectedEdge(i int) DirectedEdge
func (*BasicGraph) GetEdge ¶
func (g *BasicGraph) GetEdge(i int) Edge
func (*BasicGraph) GetEdges ¶
func (g *BasicGraph) GetEdges() []int
func (*BasicGraph) GetVertex ¶
func (g *BasicGraph) GetVertex(i int) Vertex
func (*BasicGraph) GetVertices ¶
func (g *BasicGraph) GetVertices() []int
func (*BasicGraph) NumberOfEdges ¶
func (g *BasicGraph) NumberOfEdges() int
func (*BasicGraph) NumberOfVertices ¶
func (g *BasicGraph) NumberOfVertices() int
type BoundedLattice ¶
type DirectedEdge ¶
type DirectedGraph ¶
type DirectedGraph interface { Graph GetDirectedEdge(int) DirectedEdge }
Click to show internal directories.
Click to hide internal directories.