edgeDeletedSubgraphs: Edge-deleted subgraphs

Description Usage Arguments Value Author(s) Examples

View source: R/edgeDeletedSubgraphs.R

Description

This method lists all edge-deleted subgraphs of a given graph.

Usage

1

Arguments

gs

a list of or a single graph, either as a graphNEL object or as an adjacency matrix.

Value

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.

Author(s)

Lavanya Sivakumar, Michael Schutte <michi@uiae.at>

Examples

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)

QuACN documentation built on May 2, 2019, 8:18 a.m.