MCPcopy Create free account
hub / github.com/DoNewsCode/core / edgesFrom

Method edgesFrom

dag/graph.go:36–36  ·  view source on GitHub ↗

edgesFrom returns a list of integers that each represents a node that has an edge from node u.

(u int)

Source from the content-addressed store, hash-verified

34 // edgesFrom returns a list of integers that each
35 // represents a node that has an edge from node u.
36 edgesFrom(u int) []int
37}
38
39// IsAcyclic uses depth-first search to find cycles

Callers 2

isAcyclicFunction · 0.65
TestDag_addEdgesFunction · 0.65

Implementers 1

DAGdag/dag.go

Calls

no outgoing calls

Tested by 1

TestDag_addEdgesFunction · 0.52