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

Method order

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

order returns the total number of nodes in the graph

()

Source from the content-addressed store, hash-verified

30type graph interface {
31 // order returns the total number of nodes in the graph
32 order() int
33
34 // edgesFrom returns a list of integers that each
35 // represents a node that has an edge from node u.

Callers 3

IsAcyclicFunction · 0.65
TestDag_AddVertexFunction · 0.65
TestDag_RunFunction · 0.65

Implementers 1

DAGdag/dag.go

Calls

no outgoing calls

Tested by 2

TestDag_AddVertexFunction · 0.52
TestDag_RunFunction · 0.52