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

#include <constraint_solveri.h>

Inheritance diagram for operations_research::ArrayWithOffset< T >:
operations_research::BaseObject

Public Member Functions

 ArrayWithOffset (int64_t index_min, int64_t index_max)
 
 ~ArrayWithOffset () override
 
virtual T Evaluate (int64_t index) const
 
void SetValue (int64_t index, T value)
 
std::string DebugString () const override
 
- Public Member Functions inherited from operations_research::BaseObject
 BaseObject ()
 
 BaseObject (const BaseObject &)=delete
 This type is neither copyable nor movable.
 
BaseObjectoperator= (const BaseObject &)=delete
 
virtual ~BaseObject ()
 

Detailed Description

template<class T>
class operations_research::ArrayWithOffset< T >

Definition at line 2776 of file constraint_solveri.h.

Constructor & Destructor Documentation

◆ ArrayWithOffset()

template<class T >
operations_research::ArrayWithOffset< T >::ArrayWithOffset ( int64_t index_min,
int64_t index_max )
inline

Definition at line 2778 of file constraint_solveri.h.

◆ ~ArrayWithOffset()

template<class T >
operations_research::ArrayWithOffset< T >::~ArrayWithOffset ( )
inlineoverride

Definition at line 2785 of file constraint_solveri.h.

Member Function Documentation

◆ DebugString()

template<class T >
std::string operations_research::ArrayWithOffset< T >::DebugString ( ) const
inlineoverridevirtual

Reimplemented from operations_research::BaseObject.

Definition at line 2799 of file constraint_solveri.h.

◆ Evaluate()

template<class T >
virtual T operations_research::ArrayWithOffset< T >::Evaluate ( int64_t index) const
inlinevirtual

Definition at line 2787 of file constraint_solveri.h.

◆ SetValue()

template<class T >
void operations_research::ArrayWithOffset< T >::SetValue ( int64_t index,
T value )
inline

Definition at line 2793 of file constraint_solveri.h.


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