lp_label_store.hpp file
Name / label subsystem of an LP matrix.
Value aggregate holding the name-to-index maps and the structural label metadata captured from a FlatLinearProblem after flatten, plus the compressed backups and string pool used by the low-memory path. Extracted from LinearInterface as step 3 of decomposing that class (mirrors the MatrixStats precedent).
Behaviour is preserved verbatim — this is a pure data grouping:
- The COW-shared maps / frozen flatten-time metadata are
shared_ptr-wrapped andmutableso shallow clones share state via atomic incref and const lazy-materialisation caches can write. post_flatten_col_labels_meta/post_flatten_row_labels_metaare PER-INSTANCE plain value vectors — nevershared_ptr, nevermutable. A copy ofLpLabelStorevalue-copies them, so each clone owns its own post-flatten history independently of the source, matching the aperture-clone semantics.
Namespaces
- namespace gtopt
Classes
- struct gtopt::LabelHash
- struct gtopt::LpLabelStore