isCyclic: Is the adjacency matrix a cyclic graph?

View source: R/auxiliary.r

isCyclicR Documentation

Is the adjacency matrix a cyclic graph?

Description

Tests whether the given graph (given as an adjacency matrix) contains cycles.

Usage

isCyclic(coefs)

Arguments

coefs

a square adjacency matrix.

Value

A logical indicating whether there are cycles in the graph.


miguel-porto/eicm documentation built on May 11, 2023, 7:32 p.m.