Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <atomic_constraint_storage.h>
Public Member Functions | |
Diff (const AtomicConstraintStorage< ConstraintData > &storage) | |
Public Attributes | |
IdType | checkpoint {0} |
absl::flat_hash_set< IdType > | deleted_constraints |
Tracks a "checkpoint" and changes to constraints of a given class that are before the checkpoint. Advancing the checkpoint throws away tracked changes.
An instance of this class is owned by each update tracker of ModelStorage.
Definition at line 81 of file atomic_constraint_storage.h.
|
inlineexplicit |
Definition at line 82 of file atomic_constraint_storage.h.
IdType operations_research::math_opt::AtomicConstraintStorage< ConstraintData >::Diff::checkpoint {0} |
Definition at line 85 of file atomic_constraint_storage.h.
absl::flat_hash_set<IdType> operations_research::math_opt::AtomicConstraintStorage< ConstraintData >::Diff::deleted_constraints |
Definition at line 86 of file atomic_constraint_storage.h.