Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
// doxy/ or-tools/ src/ constraint_solver/ |
#include <constraint_solver.h>
Public Member Functions | |
Rev (const T &val) | |
const T & | Value () const |
void | SetValue (Solver *const s, const T &val) |
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 3584 of file constraint_solver.h.
operations_research::Rev< T >::Rev | ( | const T & | val | ) | [inline, explicit] |
Definition at line 3586 of file constraint_solver.h.
const T& operations_research::Rev< T >::Value | ( | ) | const [inline] |
Definition at line 3588 of file constraint_solver.h.
void operations_research::Rev< T >::SetValue | ( | Solver *const | s, | |
const T & | val | |||
) | [inline] |
Definition at line 3590 of file constraint_solver.h.