Description Usage Arguments Details Value Author(s) Examples
Functions to convert between from-to representation and standard labeling of the edges for undirected graphs with no self-loops.
1 2 |
i |
Numeric vector. |
ft |
Numeric nx2 or 2xn matrix. |
A standard 1-based node labeling of a graph G=(V,E) is a one-to-one mapping between the integers from 1 to |V| and the nodes in V. A standard 1-based edge labeling of an undirected graph G=(V,E) with no self-loops is the one-to-one mapping between the integers from 1 to |V| choose 2 = |V|*(|V|-1)/2 such that the edge labeled 1 is between nodes 2 and 1, the edge labeled 2 is between nodes 3 and 1, the edge labeled 3 is between nodes 3 and 2, and so on.
For ftM2int
, a numeric vector of length n.
For int2ftM
, a length(i) x 2
matrix.
Wolfgang Huber
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.