Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::VectorWithSparseUsage< T >::View Class Reference

Taking a view allow to cache the never changing addresses. More...

#include <presolve_util.h>

Public Member Functions

 View (int *i, int *pi, T *pv)
 
T & operator[] (int index)
 

Detailed Description

template<typename T>
class operations_research::sat::VectorWithSparseUsage< T >::View

Taking a view allow to cache the never changing addresses.

Definition at line 165 of file presolve_util.h.

Constructor & Destructor Documentation

◆ View()

template<typename T>
operations_research::sat::VectorWithSparseUsage< T >::View::View ( int * i,
int * pi,
T * pv )
inline

Definition at line 167 of file presolve_util.h.

Member Function Documentation

◆ operator[]()

template<typename T>
T & operations_research::sat::VectorWithSparseUsage< T >::View::operator[] ( int index)
inline

[index] was already called.

First call.

Definition at line 172 of file presolve_util.h.


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