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

Detailed Description

template<typename T>
class operations_research::ssmf_internal::BoundedAllocator< T >

Definition at line 354 of file space_saving_most_frequent.h.

#include <space_saving_most_frequent.h>

Public Member Functions

 BoundedAllocator (size_t max_size)
 ~BoundedAllocator ()
bool full () const
bool empty () const
Ptr< T > New ()
void Return (Ptr< T > ptr)
void DisposeAll ()

Constructor & Destructor Documentation

◆ BoundedAllocator()

template<typename T>
operations_research::ssmf_internal::BoundedAllocator< T >::BoundedAllocator ( size_t max_size)
inlineexplicit

Definition at line 356 of file space_saving_most_frequent.h.

◆ ~BoundedAllocator()

Definition at line 363 of file space_saving_most_frequent.h.

Member Function Documentation

◆ DisposeAll()

template<typename T>
void operations_research::ssmf_internal::BoundedAllocator< T >::DisposeAll ( )
inline

Definition at line 389 of file space_saving_most_frequent.h.

◆ empty()

template<typename T>
bool operations_research::ssmf_internal::BoundedAllocator< T >::empty ( ) const
inline

Definition at line 369 of file space_saving_most_frequent.h.

◆ full()

template<typename T>
bool operations_research::ssmf_internal::BoundedAllocator< T >::full ( ) const
inline

Definition at line 367 of file space_saving_most_frequent.h.

◆ New()

template<typename T>
Ptr< T > operations_research::ssmf_internal::BoundedAllocator< T >::New ( )
inline

Definition at line 371 of file space_saving_most_frequent.h.

◆ Return()

template<typename T>
void operations_research::ssmf_internal::BoundedAllocator< T >::Return ( Ptr< T > ptr)
inline

Definition at line 378 of file space_saving_most_frequent.h.


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