adjust_to_subtempflow.tempnetwork: This function takes a 'tempflow'-object that is a subflow of...

Description Usage Arguments Value

View source: R/tempnetwork-basic.R

Description

This function takes a 'tempflow'-object that is a subflow of the 'tempflow'-object currently stored in the given 'tempnetwork'-object and adjusts the given 'tempnetwork'-object to it. This is accomplished by removing those entries from the graph-list of the given 'tempnetwork'-object that are not present in the given reduced 'tempflow'-object and by removing those entries across all the equivalence-classes from the equivalence-relation of the given 'tempnetwork'-object that are not present in the given reduced 'tempflow'-object.

Usage

1
adjust_to_subtempflow.tempnetwork(tempNetwork, subTempFlow, safe = TRUE)

Arguments

tempNetwork

A 'tempnetwork'-object.

safe

If TRUE, it will be ensured that the given 'tempflow'-object is acutually a subtempflow of the 'tempflow'-object of the given 'tempnetwork'-object. Additionally, all tempnetwork conditions will be checked to ensure that the resulting 'tempnetwork'-object satisfies all requirements.

redTempFlow

A 'tempflow'-object that is a sub-tempflow of the 'tempflow'-object of the given 'tempnetwork'-object.

Value

A new 'tempnetwork'-object, containing the given reduced 'tempflow'-object; a graph-list obtained by removing the excess entries from the graph-list of the given 'tempnetwork'-object; an equivalence-relation obtained by removing the excess entries from equivalence-classes of the equivalence-relation provided through the given 'tempnetwork'-object. Additionally, the "tempGraph"-field will be set to NULL.


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