| rip | R Documentation |
Given a decomposable graph, this functions finds a perfect numbering on the vertices using maximum cardinality search, and hereafter returns a list with two elements: "C" - A RIP-ordering of the cliques and "S" - A RIP ordering of the separators.
rip(adj, check = TRUE)
adj |
A named adjacency list of a decomposable graph |
check |
Boolean: check if adj is decomposable |
A list with cliques and separators of adj
mcs, is_decomposable
x <- list(a = c("b", "d"), b = c("a", "c", "d"), c = c("b", "d"), d = c("a", "c", "b"))
y <- rip(x)
# Cliques:
y$C
# Separators:
y$S
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.