flowBetween: Flow from one set of nodes to another.

View source: R/FlowGraph.R

flowBetweenR Documentation

Flow from one set of nodes to another.

Description

Flow from one set of nodes to another.

Usage

flowBetween(this, sources, sinks)

## S3 method for class 'FlowGraph'
flowBetween(this, sources, sinks)

Arguments

this

the flow graph object

sources

the nodes from which flow should start.

sinks

the nodes at which the flow should end.

Value

a list with two named components, value (the size of the computed flow) and activeSources (a vector representing the subset of sources which have non-zero flow out of them for the found max-flow).


Lucaweihs/SEMID documentation built on July 22, 2023, 7:49 a.m.