Learn R Programming

SEMID (version 0.4.1)

flowBetween: 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 FlowGraph flowBetween(this, sources, sinks)

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).

Arguments

this

the flow graph object

sources

the nodes from which flow should start.

sinks

the nodes at which the flow should end.