Versions in this module Expand all Collapse all v0 v0.16.3 Jan 26, 2022 v0.16.2 Dec 1, 2021 v0.16.1 Nov 4, 2021 v0.16.0 Jul 16, 2021 Changes in this version + type Dag struct + Consumed int + NextList []int + V int + VertexList []*Vertex + func NewDag(v int) *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 struct + InDegree int + InEdges []int + OutEdges []int + func NewVertex() *Vertex