is_interval: Check whether graph is interval graph

View source: R/lazarus_count.R

is_intervalR Documentation

Check whether graph is interval graph

Description

Check whether graph is interval graph.

Usage

is_interval(g)

Arguments

g

igraph object

Details

This function is not very efficient since it relies on the clique vertex matrix. More efficient linear time algorithms will be implemented in the future.

Value

Logical scalar, whether graph is an interval graph

Author(s)

David Schoch


schochastics/levelnet documentation built on Feb. 3, 2023, 4:20 a.m.