FlatLpMeta struct
#include <gtopt/linear_problem.hpp>
Scene-invariant label metadata, bundled behind a shared_ptr.
col_labels_meta / row_labels_meta carry the structural (class_name, variable/constraint_name, uid, context) tuples that LabelMaker needs to synthesise human-readable labels on demand. They depend only on the LP structure (which columns/rows exist), never on the per-scenario numeric values, so all (scene) cells of a phase with an identical structural fingerprint can share one copy. In compress mode these are the dominant resident cost (the name strings), preserved uncompressed by compress_flat_lp; sharing them across a phase's scenes is the point of PlanningLP's cross-scene dedup. Held via shared_ptr<const FlatLpMeta> so the bundle is immutable once built.
Public variables
- std::vector<SparseColLabel> col_labels_meta
- std::vector<SparseRowLabel> row_labels_meta