.hasSubpaths {rsppfp} | R Documentation |
Subpaths Inclusion Checker
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
.hasSubpaths(f)
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
|
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