.. index:: single: piecewise_costs .. _piecewise_costs/0: .. rst-class:: right **object** ``piecewise_costs`` =================== Convex piecewise-linear integer cost network builder 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:`piecewise_costs(avltree) ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`piecewise_costs/1::build/4`  :ref:`piecewise_costs/1::collapse_flow/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:`piecewise_costs(Dictionary) `, :ref:`successive_shortest_paths `