dot-hasSubpaths: Subpaths Inclusion Checker

Description Usage Arguments Details Value See Also

Description

Given a data frame of forbidden paths f, the function checks that no subpath of any path is included in any other path. It only checks for subpaths of length 3, as it is the minimum combination that can be repeated

Usage

1

Arguments

f

The set of forbidden paths, written as a data frame. Each row represents a path as a sequence of nodes. Each row may be of different size, filling the empty cells with NA. All nodes involved must be part of g, and no forbidden path can be of size 2. This is because the latter is thought as an arc that should not exist in the first place.

Details

Private function that cannot be used by the package's end-users.

Value

TRUE if there is at least one subpath included in another forbidden path, FALSE otherwise.

See Also

Other Private Functions: .comb, .get_arc_attributes, .nodesExists


rsppfp documentation built on May 1, 2019, 10:27 p.m.