Definition at line 39 of file variable_storage.h.
#include <variable_storage.h>
|
| VariableId | Add (double lower_bound, double upper_bound, bool is_integer, absl::string_view name) |
| double | lower_bound (VariableId id) const |
| double | upper_bound (VariableId id) const |
| bool | is_integer (VariableId id) const |
| const std::string & | name (VariableId id) const |
| template<typename DiffIter> |
| void | set_lower_bound (VariableId id, double lower_bound, const iterator_range< DiffIter > &diffs) |
| template<typename DiffIter> |
| void | set_upper_bound (VariableId id, double upper_bound, const iterator_range< DiffIter > &diffs) |
| template<typename DiffIter> |
| void | set_integer (VariableId id, bool is_integer, const iterator_range< DiffIter > &diffs) |
| template<typename DiffIter> |
| void | Delete (VariableId id, const iterator_range< DiffIter > &diffs) |
| int64_t | size () const |
| VariableId | next_id () const |
| void | ensure_next_id_at_least (VariableId minimum) |
| bool | contains (VariableId id) const |
| std::vector< VariableId > | Variables () const |
| std::vector< VariableId > | SortedVariables () const |
| VariablesProto | Proto () const |
| bool | diff_is_empty (const Diff &diff) const |
| UpdateResult | Update (const Diff &diff) const |
| void | AdvanceCheckpointInDiff (Diff &diff) const |
| std::vector< VariableId > | VariablesFrom (VariableId start) const |
◆ Add()
| VariableId operations_research::math_opt::VariableStorage::Add |
( |
double | lower_bound, |
|
|
double | upper_bound, |
|
|
bool | is_integer, |
|
|
absl::string_view | name ) |
◆ AdvanceCheckpointInDiff()
| void operations_research::math_opt::VariableStorage::AdvanceCheckpointInDiff |
( |
Diff & | diff | ) |
const |
◆ contains()
| bool operations_research::math_opt::VariableStorage::contains |
( |
VariableId | id | ) |
const |
|
inline |
◆ Delete()
template<typename DiffIter>
◆ diff_is_empty()
| bool operations_research::math_opt::VariableStorage::diff_is_empty |
( |
const Diff & | diff | ) |
const |
|
inline |
◆ ensure_next_id_at_least()
| void operations_research::math_opt::VariableStorage::ensure_next_id_at_least |
( |
VariableId | minimum | ) |
|
|
inline |
◆ is_integer()
| bool operations_research::math_opt::VariableStorage::is_integer |
( |
VariableId | id | ) |
const |
|
inline |
◆ lower_bound()
| double operations_research::math_opt::VariableStorage::lower_bound |
( |
VariableId | id | ) |
const |
|
inline |
◆ name()
| const std::string & operations_research::math_opt::VariableStorage::name |
( |
VariableId | id | ) |
const |
|
inline |
◆ next_id()
| VariableId operations_research::math_opt::VariableStorage::next_id |
( |
| ) |
const |
|
inline |
◆ Proto()
| VariablesProto operations_research::math_opt::VariableStorage::Proto |
( |
| ) |
const |
◆ set_integer()
template<typename DiffIter>
| void operations_research::math_opt::VariableStorage::set_integer |
( |
VariableId | id, |
|
|
bool | is_integer, |
|
|
const iterator_range< DiffIter > & | diffs ) |
◆ set_lower_bound()
template<typename DiffIter>
| void operations_research::math_opt::VariableStorage::set_lower_bound |
( |
VariableId | id, |
|
|
double | lower_bound, |
|
|
const iterator_range< DiffIter > & | diffs ) |
◆ set_upper_bound()
template<typename DiffIter>
| void operations_research::math_opt::VariableStorage::set_upper_bound |
( |
VariableId | id, |
|
|
double | upper_bound, |
|
|
const iterator_range< DiffIter > & | diffs ) |
◆ size()
| int64_t operations_research::math_opt::VariableStorage::size |
( |
| ) |
const |
|
inline |
◆ SortedVariables()
| std::vector< VariableId > operations_research::math_opt::VariableStorage::SortedVariables |
( |
| ) |
const |
◆ Update()
◆ upper_bound()
| double operations_research::math_opt::VariableStorage::upper_bound |
( |
VariableId | id | ) |
const |
|
inline |
◆ Variables()
| std::vector< VariableId > operations_research::math_opt::VariableStorage::Variables |
( |
| ) |
const |
◆ VariablesFrom()
| std::vector< VariableId > operations_research::math_opt::VariableStorage::VariablesFrom |
( |
VariableId | start | ) |
const |
The documentation for this class was generated from the following files: