Learn R Programming

SEMID (version 0.3.2)

getTrekSystem: Determines if a trek system exists in the mixed graph.

Description

Determines if a trek system exists in the mixed graph.

Usage

getTrekSystem(this, fromNodes, toNodes, avoidEdgesOnRight)

# S3 method for MixedGraphFixedOrder getTrekSystem(this, fromNodes, toNodes, avoidEdgesOnRight = NULL)

# S3 method for MixedGraph getTrekSystem(this, fromNodes, toNodes, avoidEdgesOnRight = NULL)

Arguments

this

the mixed graph object

fromNodes

the start nodes

toNodes

the end nodes

avoidEdgesOnRight

a collection of edges in the graph that should not be used on any right hand side of any trek in the trek system.