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

Description Usage Arguments Value

View source: R/tempnetwork-tempflow-predicates.R

Description

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

Usage

1
2
3
## S3 method for class 'tempnetwork'
reachable(tempNetwork, startPoint, endPoint,
  safe = TRUE)

Arguments

tempNetwork

A 'tempnetwork'-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 of the given 'tempnetwork'-object.

Value

Is TRUE, if there exists a path in 'tempflow'-object of the given 'tempnetwork'-object starting from "startPoint" and ending at "endPoint", else FALSE will be returned.


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