Learn R Programming

SEMID (version 0.3.2)

updateEdgeCapacities: Update edge capacities.

Description

Update edge capacities.

Usage

updateEdgeCapacities(this, edges, newCaps)

# S3 method for FlowGraph updateEdgeCapacities(this, edges, newCaps)

Arguments

this

the flow graph object

edges

the vertices to update (as a 2xr matrix with ith row corresponding to the edge edges[i,1]->edges[i,2].

newCaps

the new capacities for the edges