Basic Examples (2)
Determine all shortest paths on a random graph:
Verify that the output above is indeed directed and acyclic:
Scope (3)
Explore traversal maps of a Petersen graph:
Add another Graph-exploring reference point and compare possible pairwise dance moves:
Check to see that edges are lost only on odd cycles:
Compare what happens when different initial conditions are chosen:
Options (3)
Acyclic directed graphs can be plotted as causal graphs by setting VertexCoordinates to Automatic:
Plot a few more causal graphs:
Resolve conflicted edges by specifying a CollisionFunction:
Check non-uniqueness of path lengths:
Properties and Relations (2)
The transformation acts as the identity on rows of the GraphDistanceMatrix:
Using Identity as the CollisionFunction returns the same output as DirectedGraph with "Acyclic" conversion:
Possible Issues (3)
Specifying multiple reference points can divide the graph into disconnected components:
Inputs with disconnected components may return only one component:
This can be fixed by specifying initial vertices on each component:
The function will balk at nonsense inputs:
Neat Examples (2)
Count possible walks on all Petersen graph outputs:
List a sequence that does not have an entry in the OEIS:
Plot the possibly new sequence:
Conjecture the form of a linear recurrence:
Compare with depictions to try and formulate a proof argument:
Resolve conflicted edges in a square grid:
Calculate part of a numerical triangle associated with the Schroeder numbers (cf. OEIS A033877):