Struct AdditiveModel::Context

Nested Relationships

This struct is a nested type of Template Struct AdditiveModel.

Struct Documentation

struct Context

Precomputed tables AND mutable DP scratch, built once by build_context.

Public Members

container::vector<OptRes> results

Per-subset open indices (and scratch) from init_results.

container::vector<size_t> meta_ids

Canonical-subnet ids per subset (CSE only).

container::vector<double> unique_meta_costs

Optimal cost per canonical subnet id, populated during the DP (CSE only).