deleteOneOfTwoVertices: Given a choice of two vertices to remove, remove the vertex...

Description Usage Arguments Value

Description

Given a choice of two vertices to remove, remove the vertex with the shortest path to a third "target" vertex.

Usage

1
deleteOneOfTwoVertices(g, v1, v2, target)

Arguments

g

A graph object representing a petri-net style reaction network

v1

a vertex name.

v2

a vertex name.

target

a vertex name.

Value

g modified such that either v1, v2 is removed, or neither is removed.


robertness/pathflow documentation built on May 25, 2017, 5:22 a.m.