object

edmonds_karp(Dictionary)

  • Dictionary - Dictionary object used by the flow network (e.g., avltree).

Edmonds-Karp maximum flow algorithm (Ford-Fulkerson using shortest augmenting paths found by breadth-first search). Runs in O(V*E^2) time. Mainly intended as a simple reference implementation; see the dinic object for a faster alternative.

Availability:
logtalk_load(flow_networks(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-11-16
Compilation flags:
static, context_switching_calls
Imports:
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)