is_chordal: Test chordality

Description Usage Arguments

View source: R/is_chordal.R

Description

This function tests if a given graph is a chordal graph. A chordal graph is an undirected graph such that any cycle of length greater than 3 must have a chord. It has dependency on the function is_chordal in the igraph package.

Usage

1
is_chordal(graph)

Arguments

graph

A graph that is stored in an adjacency matrix.


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