You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We'll first provide an API to "build" a graph, to which we can then call the validators.
Ideas of graph builder methods:
graphOfNodes(N).edges(U, V)
Need to find a way to specify whether the nodes are numbered 0-based or 1-based. Maybe something like
graphOfOneBasedNodes(N).edges(U, V)
graphOfZeroBasedNodes(N).edges(U, V)
Ideas of graph validators:
.isForest()
.isTree()
.hasNoSelfLoops()
.hasNoMultipleEdges()
Beta Was this translation helpful? Give feedback.
All reactions