graph.maxflow: Maximum flow in a graph

View source: R/flow.R

graph.maxflowR Documentation

Maximum flow in a graph

Description

[Deprecated]

graph.maxflow() was renamed to max_flow() to create a more consistent API.

Usage

graph.maxflow(graph, source, target, capacity = NULL)

Arguments

graph

The input graph.

source

The id of the source vertex.

target

The id of the target vertex (sometimes also called sink).

capacity

Vector giving the capacity of the edges. If this is NULL (the default) then the capacity edge attribute is used. Note that the weight edge attribute is not used by this function.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.