d_wrs_deg4: Definite-WRS for maximum degree 4 graphs

Description Usage Arguments

View source: R/d_wrs_deg4.R

Description

This function is a polynomial time algorithm for checking the morality of undirected graphs with maximum degree 4. The algorithm has been proved to be correct. It either removes a simplicial node or a simplicial clique, depending on situations like node degree, and K3 stack length etc.

Usage

1
d_wrs_deg4(G, debug = F)

Arguments

G

A given undirected graph stored in an adjacency matrix format.

debug

A boolean argument to show steps of the backtracking algorithm.


kelvinyangli/wrsgraph documentation built on Sept. 6, 2019, 10 a.m.