reachable.tempflow: Is a function that takes a 'tempflow'-object and two...

Description Usage Arguments Value

View source: R/tempflow-predicates.R

Description

Is a function that takes a 'tempflow'-object and two point-names (or point-ids) and tests whether one point ("endPoint") can be reached from the other ("startPoint"). A point can not reach itself, without the existence of a loop.

Usage

1
2
## S3 method for class 'tempflow'
reachable(tempFlow, startPoint, endPoint, safe = TRUE)

Arguments

tempFlow

A 'tempflow'-object.

startPoint

The point-name (or point-id) of the start-point.

endPoint

The point-name (or point-id) of the end-point.

safe

If TRUE, it will be tested, whether the given point-names (or point-ids) are present in the 'tempflow'-object.

Value

Is TRUE, if there exists a path starting from "startPoint" and ending at "endPoint", else FALSE will be returned.


KonstantinRK/tempnetwork documentation built on Dec. 23, 2019, 6:40 p.m.