topologicalOrder | R Documentation |
Looks for topological ordering of vertices with respect to directed edges.
topologicalOrder(graph, warn = TRUE)
isTopological(graph, v)
graph |
a |
warn |
logical: should a cyclic graph return a warning? |
v |
an ordering of the vertices |
isTopological
tests for an ordering being
topological. If the graph is cyclic, it returns NA
, with or
without a warning depending on the value of warn
.
isTopological()
: Check if ordering is topological
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.