getHalfTrekSystem: Determines if a half-trek system exists in the mixed graph.

Description Usage Arguments Value

View source: R/MixedGraph.R

Description

Determines if a half-trek system exists in the mixed graph.

Usage

1
2
3
4
5
6
7
getHalfTrekSystem(this, fromNodes, toNodes)

## S3 method for class 'MixedGraphFixedOrder'
getHalfTrekSystem(this, fromNodes, toNodes)

## S3 method for class 'MixedGraph'
getHalfTrekSystem(this, fromNodes, toNodes)

Arguments

this

the mixed graph object

fromNodes

the nodes from which the half-trek system should start. If length(fromNodes) > length(toNodes) will find if there exists any half-trek system from any subset of fromNodes of size length(toNodes) to toNodes.

toNodes

the nodes where the half-trek system should end.

Value

a list with two named components, systemExists (TRUE if a system exists, FALSE otherwise) and activeFrom (the subset of fromNodes from which the maximal half-trek system was started).


SEMID documentation built on May 21, 2019, 9:03 a.m.