get_cliques_and_separators: Get Cliques and Separators of a graph

View source: R/graphs_functions.R

get_cliques_and_separatorsR Documentation

Get Cliques and Separators of a graph

Description

Finds all cliques, separators, and (recursively) separators of separators in a graph.

Usage

get_cliques_and_separators(
  graph,
  sortIntoLayers = FALSE,
  includeSingletons = FALSE
)

Arguments

graph

An [igraph::graph] object

Value

A list of vertex sets that represent the cliques and (recursive) separators of graph, ordered such that separators come before cliques they separate.


graphicalExtremes documentation built on Nov. 14, 2023, 1:07 a.m.