Versions in this module Expand all Collapse all v1 v1.1.3 Apr 4, 2023 v1.1.2 Apr 4, 2023 v1.1.1 Nov 24, 2022 v1.1.0 Nov 24, 2022 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