|
NetOptim 1.2.8
|
Internal implementation helpers shared by the netoptim algorithms. More...
#include <cstddef>#include <digraphx/neg_cycle.hpp>#include <type_traits>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | netoptim_detail::graph_traits< Graph > |
| Type trait deriving Node / Edge / Cycle from any supported graph container. More... | |
Namespaces | |
| namespace | netoptim_detail |
Concepts | |
| concept | netoptim_detail::HasKeyType |
| concept | netoptim_detail::OracleFeas |
| Feasibility oracle: assess x and produce a cutting plane if infeasible. | |
| concept | netoptim_detail::OracleOptim |
| Optimality oracle: assess x against a best-so-far value g. | |
| concept | netoptim_detail::HasMakeWeightFn |
| Detect an optional make_weight_fn(x) fast path on an edge oracle. | |
Functions | |
| template<typename Graph, typename T, typename Fn1, typename Fn2, typename Mapping> | |
| auto | netoptim_detail::parametric_search (const Graph &gra, T &r_opt, Fn1 &&distrance, Fn2 &&zero_cancel, Mapping &&dist, size_t max_iters) |
| Template Method: parametric max-problem search skeleton. | |
| template<typename Fn, typename Edge, typename Arr> | |
| auto | netoptim_detail::make_get_weight (Fn &fn, const Arr &xval) |
| Build the per-edge weight callable used by Howard's method. | |
Internal implementation helpers shared by the netoptim algorithms.
This header centralises the graph type trait (Adapter pattern), the parametric search skeleton (Template Method pattern), and the oracle concepts (Strategy contract) used across the public headers. It is an implementation detail of the library; the public API is unaffected.