Description Usage Arguments Details Value
Checks whether a given connection matrix is acyclic. The function is recursive and shrinks the search space until a solution is found.
1 |
DAG |
A matrix where the non zero elements what connections exist. The rows indicate the node where the edge is going to, and the columns indicates the node where the edge is coming from. |
node_name |
A string indicating the identifier of the node from which cyclicity is checked. |
visited_nodes |
A list of strings indicating all the nodes that have been visited in the recursive loop. |
This is an internal function called by verify_dag()
A boolean indicating whether a cycle is detected (TRUE), or not (FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.