object

flow_network(Dictionary)

  • Dictionary - Dictionary object (e.g., avltree, rbtree, bintree, or splaytree).

Flow network construction and inspection. The network is an opaque term. Each input arc is stored as a residual pair of arcs: a forward arc with identifier 2*I and a reverse arc with identifier 2*I+1 (I being the zero-based position of the arc in the input list), where the reverse arc has zero initial residual capacity and the negated cost. The parametric object parameter is the dictionary object used for the representation and must be the same one used by the flow algorithm objects.

Availability:
logtalk_load(flow_networks(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-11-16
Compilation flags:
static, context_switching_calls
Remarks:
(none)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)