enumerate: Enumerate the cliques of a graph

View source: R/list_kcliques.R

enumerateR Documentation

Enumerate the cliques of a graph

Description

Sub Routine enumerate described in doi:10.3390/a12010023.

Usage

enumerate(G, R, P, X, partition, cliques_discovered)

Arguments

G

a k-partite graph, from class graph (package igraph).

R

character vector containing the current clique

P

character vector containing the vertices that can extend the current clique

X

character vector containing the vertices thathave already been considered

partition

a list of character vector containing members of the partition

cliques_discovered

a list of the previously discovered kcliques

Value

A logical: TRUE if the set covers the partition and FALSE if not


RemiMahmoud/kclique documentation built on March 18, 2023, 1:41 p.m.