shortest_hyperpaths | R Documentation |
A hyperpath is a set of hyperedges such that each consecutive pair of hyperedges contain at least vertex in common. A shortest hyperpath between two vertices is the smallest set of hyperedges that form a hyperpath such that one vertex is in the first hyperpath and the other vertex is in the last hyperpath.
shortest_hyperpaths(hype, from, to)
hype |
A hypergraph object. |
from |
The vertex that is the start of the hyperpath. |
to |
The vertex that is the end of the hyperpath, |
A list of shortest hyperpaths between the given vertices.
hype <- example_hype() shortest_hyperpaths(hype, "v1", "v4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.