.nodesExists {rsppfp} | R Documentation |
Node Inclusion Checker
Description
Given a graph g
, and a data frame of forbidden paths f
, the function
checks that all nodes used on f
are also present on the graph.
Usage
.nodesExists(g, f)
Arguments
g |
The original graph from which the attributes need to be extracted. This cannot be a G*,
and it must have at least one attribute, besides the |
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 all nodes in f
are present in the graph. Otherwise,
it returns FALSE
.
See Also
Other Private Functions: .comb
,
.get_arc_attributes
,
.hasSubpaths