Learn R Programming

SEMID (version 0.4.1)

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[1,i]->edges[2,i].

newCaps

the new capacities for the edges