![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
#include <routing_filter_committables.h>
Public Member Functions | |
CommittableValue (const T &value) | |
const T & | Get () const |
const T & | GetCommitted () const |
void | Set (const T &value) |
void | SetAndCommit (const T &value) |
void | Revert () |
void | Commit () |
A vector that allows to revert back to a previously committed state, get the set of changed indices, and get current and committed values.
Definition at line 33 of file routing_filter_committables.h.
|
inlineexplicit |
Definition at line 35 of file routing_filter_committables.h.
|
inline |
Definition at line 50 of file routing_filter_committables.h.
|
inline |
Definition at line 38 of file routing_filter_committables.h.
|
inline |
Definition at line 39 of file routing_filter_committables.h.
|
inline |
Definition at line 48 of file routing_filter_committables.h.
|
inline |
Definition at line 41 of file routing_filter_committables.h.
|
inline |
Definition at line 43 of file routing_filter_committables.h.