Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util::internal::Vector< IndexT, T > Class Template Reference

Detailed Description

template<typename IndexT, typename T>
class util::internal::Vector< IndexT, T >

Definition at line 402 of file graph.h.

#include <graph.h>

Inheritance diagram for util::internal::Vector< IndexT, T >:

Public Member Functions

const T & operator[] (IndexT index) const
T & operator[] (IndexT index)
void resize (IndexT index, const T &value)
void reserve (IndexT index)
void assign (IndexT index, const T &value)
IndexT size () const

Member Function Documentation

◆ assign()

template<typename IndexT, typename T>
void util::internal::Vector< IndexT, T >::assign ( IndexT index,
const T & value )
inline

Definition at line 419 of file graph.h.

◆ operator[]() [1/2]

template<typename IndexT, typename T>
T & util::internal::Vector< IndexT, T >::operator[] ( IndexT index)
inline

Definition at line 407 of file graph.h.

◆ operator[]() [2/2]

template<typename IndexT, typename T>
const T & util::internal::Vector< IndexT, T >::operator[] ( IndexT index) const
inline

Definition at line 404 of file graph.h.

◆ reserve()

template<typename IndexT, typename T>
void util::internal::Vector< IndexT, T >::reserve ( IndexT index)
inline

Definition at line 415 of file graph.h.

◆ resize()

template<typename IndexT, typename T>
void util::internal::Vector< IndexT, T >::resize ( IndexT index,
const T & value )
inline

Definition at line 411 of file graph.h.

◆ size()

template<typename IndexT, typename T>
IndexT util::internal::Vector< IndexT, T >::size ( ) const
inline

Definition at line 423 of file graph.h.


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