Description Usage Arguments Value
Given a choice of two vertices to remove, remove the vertex with the shortest path to a third "target" vertex.
1 | deleteOneOfTwoVertices(g, v1, v2, target)
|
g |
A graph object representing a petri-net style reaction network |
v1 |
a vertex name. |
v2 |
a vertex name. |
target |
a vertex name. |
g modified such that either v1, v2 is removed, or neither is removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.