A cycle is a path starting and ending in the same node and containing at least one other node. A acyclic graph contains no cycles.
IsAcyclic(arcSources, arcTargets, numNodes)
A logical
stating if the graph is acyclic
Vector corresponding to the source nodes of a graph's edges
Vector corresponding to the destination nodes of a graph's edges
The number of nodes in the graph
See https://lemon.cs.elte.hu/pub/doc/1.3.1/a00616.html#ga14c191b2133a1dd23e1527f074c821c0 for more information.