Documentation ¶
Index ¶
- type Dag
- func (dag *Dag) AddEdge(from, to int)
- func (dag *Dag) GetInEdges(to int) []int
- func (dag *Dag) GetOutEdges(from int) []int
- func (dag *Dag) HasNext() bool
- func (dag *Dag) InDegree(i int) int
- func (dag *Dag) Next() []int
- func (dag *Dag) OutDegree(i int) int
- func (dag *Dag) Print() (bytes.Buffer, error)
- type Vertex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.