check_edge_exists.tempnetwork: The corresponding entries in "pointNameList",...

Description Usage Arguments Value

View source: R/tempnetwork-inputchecker.R

Description

The corresponding entries in "pointNameList", "startTVertexNameList" and "endTVertexNameList", form a (graph,start-vertex,end-vertex)-pair. It will be checked that there exists an edge in between the start- and end-vertex in the specified graph from the graph-list of the given 'tempnetwork'-object.

Usage

1
2
3
## S3 method for class 'tempnetwork'
check_edge_exists(tempNetwork, pointNameList,
  startTVertexNameList, endTVertexNameList)

Arguments

tempNetwork

A 'tempnetwork'-object.

pointNameList

A vector of strings, representing the names of graphs in the graph-list of the given 'tempnetwork'-object.

startTVertexNameList

A vector of strings, representing the names of vertices in graphs from the graph-list of the given 'tempnetwork'-object. It has same length as the vector "pointNameList".

endTVertexNameList

A vector of strings, representing the names of vertices in graphs from the graph-list of the given 'tempnetwork'-object. It has same length as the vector "pointNameList".

Value

The boolean value TRUE, if between every specified (graph,start-vertex,end-vertex)-pair, there exists an edge in between the start- and end-vertex in the specified graph from the graph-list of the given 'tempnetwork'-object.


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