Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::NumericalRev< T > Class Template Reference

Subclass of Rev<T> which adds numerical operations. More...

#include <constraint_solver.h>

Inheritance diagram for operations_research::NumericalRev< T >:
operations_research::Rev< T >

Public Member Functions

 NumericalRev (const T &val)
 
void Add (Solver *const s, const T &to_add)
 
void Incr (Solver *const s)
 
void Decr (Solver *const s)
 
- Public Member Functions inherited from operations_research::Rev< T >
 Rev (const T &val)
 
const T & Value () const
 
void SetValue (Solver *const s, const T &val)
 

Detailed Description

template<class T>
class operations_research::NumericalRev< T >

Subclass of Rev<T> which adds numerical operations.

Definition at line 4034 of file constraint_solver.h.

Constructor & Destructor Documentation

◆ NumericalRev()

template<class T >
operations_research::NumericalRev< T >::NumericalRev ( const T & val)
inlineexplicit

Definition at line 4036 of file constraint_solver.h.

Member Function Documentation

◆ Add()

template<class T >
void operations_research::NumericalRev< T >::Add ( Solver *const s,
const T & to_add )
inline

Definition at line 4038 of file constraint_solver.h.

◆ Decr()

template<class T >
void operations_research::NumericalRev< T >::Decr ( Solver *const s)
inline

Definition at line 4044 of file constraint_solver.h.

◆ Incr()

template<class T >
void operations_research::NumericalRev< T >::Incr ( Solver *const s)
inline

Definition at line 4042 of file constraint_solver.h.


The documentation for this class was generated from the following file: