is_DAG: Directed acyclic graphs

Description Usage Arguments Details Value Author(s) See Also

Description

This function tests whether the given graph is a DAG, a directed acyclic graph.

Usage

1
	is_DAG(arcs_mat)

Arguments

arcs_mat

A matrix that determines the arcs.

Details

is_dag checks whether there is a directed cycle in the graph. If not, the graph is a DAG.

Value

A logical vector of length one.

Author(s)

Jae-seong Yoo <praster1@gmail.com>

See Also

is_acyclic


BNDataGenerator documentation built on May 1, 2019, 8:04 p.m.