Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::MatrixOrFunction< ScalarType, Evaluator, square > Class Template Reference

#include <vector_or_function.h>

Public Member Functions

 MatrixOrFunction (Evaluator evaluator)
 
void Reset (Evaluator evaluator)
 
ScalarType operator() (int i, int j) const
 
bool Check () const
 

Detailed Description

template<typename ScalarType, typename Evaluator, bool square = false>
class operations_research::MatrixOrFunction< ScalarType, Evaluator, square >

Template to abstract the access to STL functions or vector-base matrix values.

Definition at line 53 of file vector_or_function.h.

Constructor & Destructor Documentation

◆ MatrixOrFunction()

template<typename ScalarType , typename Evaluator , bool square = false>
operations_research::MatrixOrFunction< ScalarType, Evaluator, square >::MatrixOrFunction ( Evaluator evaluator)
inlineexplicit

Definition at line 55 of file vector_or_function.h.

Member Function Documentation

◆ Check()

template<typename ScalarType , typename Evaluator , bool square = false>
bool operations_research::MatrixOrFunction< ScalarType, Evaluator, square >::Check ( ) const
inline

Definition at line 59 of file vector_or_function.h.

◆ operator()()

template<typename ScalarType , typename Evaluator , bool square = false>
ScalarType operations_research::MatrixOrFunction< ScalarType, Evaluator, square >::operator() ( int i,
int j ) const
inline

Definition at line 58 of file vector_or_function.h.

◆ Reset()

template<typename ScalarType , typename Evaluator , bool square = false>
void operations_research::MatrixOrFunction< ScalarType, Evaluator, square >::Reset ( Evaluator evaluator)
inline

Definition at line 57 of file vector_or_function.h.


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