Template Function sequant::opt::detail::solve_single_term¶
Defined in File cost_model.hpp
Function Documentation¶
-
template<class Model, typename TIdxs>
container::vector<typename Model::State> sequant::opt::detail::solve_single_term(Model const &m, TensorNetwork const &network, TIdxs const &tidxs, typename Model::Context &ctx)¶ Fills the per-subset State table bottom-up via the model’s hooks.
The driver owns only what every single-term DP shares: the subset lattice (subsets in increasing order) and the bipartition enumeration. The model supplies the per-objective recurrence through leaf/init/relax/finalize.