comparable.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 there exists an either a path from "inpPoint1" to "inpPoint2" or a path from "inpPoint2" to "inpPoint1" in 'tempflow'-object of the given 'tempnetwork'-object. A point is not comparable to itself, without the existence of a loop.

Usage

1
2
3
## S3 method for class 'tempnetwork'
comparable(tempNetwork, inpPoint1, inpPoint2,
  safe = TRUE)

Arguments

tempNetwork

A 'tempnetwork'-object.

inpPoint1

The point-name (or point-id).

inpPoint2

The point-name (or point-id).

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 an either a path from "inpPoint1" to "inpPoint2" or a path from "inpPoint2" to "inpPoint1" in 'tempflow'-object of the given 'tempnetwork'-object.


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