Description Usage Arguments Value Author(s) Examples
View source: R/edgeDeletedSubgraphs.R
This method lists all edge-deleted subgraphs of a given graph.
1 |
gs |
a list of or a single graph, either as a graphNEL object or as an adjacency matrix. |
This method returns a flat list of all unique subgraphs which can be constructed from the input graph(s) by removing a single edge. The individual graphs are output as adjacency matrices.
Lavanya Sivakumar, Michael Schutte <michi@uiae.at>
1 2 3 4 5 6 | library(graph)
set.seed(123)
g <- randomEGraph(as.character(1:8), 0.55)
one.eds <- edgeDeletedSubgraphs(g)
two.eds <- edgeDeletedSubgraphs(one.eds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.