category

max_flow_common(Dictionary)

  • Dictionary - Dictionary object used by the flow network.

Maximum flow and minimum cut predicates shared by the maximum flow algorithm objects. Importing objects must define the maximize/5 predicate.

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

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

maximize/5

Runs the maximum flow algorithm returning the flow value and the final residual dictionary. Must be defined by the importing objects.

Compilation flags:
static
Template:
maximize(Network,Source,Sink,Value,Residual)
Mode and number of proofs:
maximize(+compound,+ground,+ground,-integer,-compound) - one

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)