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

Usage

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

Arguments

tempFlow

A 'tempflow'-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.

Value

Is TRUE, if there exists an either a path from "inpPoint1" to "inpPoint2" or a path from "inpPoint2" to "inpPoint1".


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