Definition at line 39 of file 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 Add |
( |
double |
lower_bound, |
|
|
double |
upper_bound, |
|
|
bool |
is_integer, |
|
|
absl::string_view |
name |
|
) |
| |
◆ AdvanceCheckpointInDiff()
| void AdvanceCheckpointInDiff |
( |
Diff & |
diff | ) |
const |
◆ contains()
| bool contains |
( |
VariableId |
id | ) |
const |
|
inline |
◆ Delete()
| void Delete |
( |
VariableId |
id, |
|
|
const iterator_range< DiffIter > & |
diffs |
|
) |
| |
◆ diff_is_empty()
| bool diff_is_empty |
( |
const Diff & |
diff | ) |
const |
|
inline |
◆ ensure_next_id_at_least()
| void ensure_next_id_at_least |
( |
VariableId |
minimum | ) |
|
|
inline |
◆ is_integer()
| bool is_integer |
( |
VariableId |
id | ) |
const |
|
inline |
◆ lower_bound()
| double lower_bound |
( |
VariableId |
id | ) |
const |
|
inline |
◆ name()
| const std::string & name |
( |
VariableId |
id | ) |
const |
|
inline |
◆ next_id()
| VariableId next_id |
( |
| ) |
const |
|
inline |
◆ Proto()
| VariablesProto Proto |
( |
| ) |
const |
◆ set_integer()
| void set_integer |
( |
VariableId |
id, |
|
|
bool |
is_integer, |
|
|
const iterator_range< DiffIter > & |
diffs |
|
) |
| |
◆ set_lower_bound()
| void set_lower_bound |
( |
VariableId |
id, |
|
|
double |
lower_bound, |
|
|
const iterator_range< DiffIter > & |
diffs |
|
) |
| |
◆ set_upper_bound()
| void set_upper_bound |
( |
VariableId |
id, |
|
|
double |
upper_bound, |
|
|
const iterator_range< DiffIter > & |
diffs |
|
) |
| |
◆ size()
◆ SortedVariables()
| std::vector< VariableId > SortedVariables |
( |
| ) |
const |
◆ Update()
◆ upper_bound()
| double upper_bound |
( |
VariableId |
id | ) |
const |
|
inline |
◆ Variables()
| std::vector< VariableId > Variables |
( |
| ) |
const |
◆ VariablesFrom()
| std::vector< VariableId > VariablesFrom |
( |
VariableId |
start | ) |
const |
The documentation for this class was generated from the following files: