Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <constraint_solver.h>
Public Member Functions | |
Rev (const T &val) | |
const T & | Value () const |
void | SetValue (Solver *const s, const T &val) |
This class adds reversibility to a POD type. It contains the stamp optimization. i.e. the SaveValue call is done only once per node of the search tree. Please note that actual stamps always starts at 1, thus an initial value of 0 will always trigger the first SaveValue.
Definition at line 4011 of file constraint_solver.h.
|
inlineexplicit |
Definition at line 4013 of file constraint_solver.h.
|
inline |
Definition at line 4017 of file constraint_solver.h.
|
inline |
Definition at line 4015 of file constraint_solver.h.