.. index:: single: capacity_scaling
.. _capacity_scaling/0:

.. rst-class:: right

**object**

``capacity_scaling``
====================

Capacity-scaling maximum flow using the ``avltree`` dictionary.

| **Availability:** 
|    ``logtalk_load(flow_networks(loader))``

| **Author:** Paulo Moura
| **Version:** 1:0:0
| **Date:** 2026-11-16

| **Compilation flags:**
|    ``static, context_switching_calls``


| **Extends:**
|    ``public`` :ref:`capacity_scaling(avltree) <capacity_scaling/1>`

| **Remarks:**
|    (none)

| **Inherited public predicates:**
|     :ref:`max_flow_protocol/0::max_flow/5`  :ref:`max_flow_protocol/0::min_cut/5`  :ref:`max_flow_protocol/0::min_cuts/5`  :ref:`max_flow_protocol/0::multi_source_max_flow/5`  :ref:`max_flow_protocol/0::node_capacity_max_flow/6`  :ref:`max_flow_protocol/0::sink_closest_min_cut/5`  :ref:`max_flow_protocol/0::unique_min_cut/4`  

.. contents::
   :local:
   :backlinks: top

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)

.. seealso::

   :ref:`capacity_scaling(Dictionary) <capacity_scaling/1>`, :ref:`dinic <dinic/0>`

