STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::parallel_priority_queue< ValueType, CompareType, AllocStrategy, BlockSize, DefaultMemSize, MaxItems >::hint_comparator Struct Reference

Detailed Description

template<class ValueType, class CompareType = std::less<ValueType>, class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, uint64 BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), uint64 DefaultMemSize = 1* 1024L* 1024L* 1024L, uint64 MaxItems = 0>
struct stxxl::parallel_priority_queue< ValueType, CompareType, AllocStrategy, BlockSize, DefaultMemSize, MaxItems >::hint_comparator

Compares the largest value of the block hinted the latest of two external arrays.

Definition at line 2140 of file parallel_priority_queue.h.

+ Collaboration diagram for stxxl::parallel_priority_queue< ValueType, CompareType, AllocStrategy, BlockSize, DefaultMemSize, MaxItems >::hint_comparator:

Public Member Functions

 hint_comparator (const external_arrays_type &eas, const inv_compare_type &compare)
 
bool operator() (const size_t &a, const size_t &b) const
 

Public Attributes

const inv_compare_typem_compare
 
const external_arrays_typem_eas
 

Constructor & Destructor Documentation

template<class ValueType , class CompareType = std::less<ValueType>, class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, uint64 BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), uint64 DefaultMemSize = 1* 1024L* 1024L* 1024L, uint64 MaxItems = 0>
stxxl::parallel_priority_queue< ValueType, CompareType, AllocStrategy, BlockSize, DefaultMemSize, MaxItems >::hint_comparator::hint_comparator ( const external_arrays_type eas,
const inv_compare_type compare 
)
inline

Definition at line 2144 of file parallel_priority_queue.h.

Member Function Documentation

template<class ValueType , class CompareType = std::less<ValueType>, class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, uint64 BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), uint64 DefaultMemSize = 1* 1024L* 1024L* 1024L, uint64 MaxItems = 0>
bool stxxl::parallel_priority_queue< ValueType, CompareType, AllocStrategy, BlockSize, DefaultMemSize, MaxItems >::hint_comparator::operator() ( const size_t &  a,
const size_t &  b 
) const
inline

Definition at line 2148 of file parallel_priority_queue.h.

Member Data Documentation

template<class ValueType , class CompareType = std::less<ValueType>, class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, uint64 BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), uint64 DefaultMemSize = 1* 1024L* 1024L* 1024L, uint64 MaxItems = 0>
const inv_compare_type& stxxl::parallel_priority_queue< ValueType, CompareType, AllocStrategy, BlockSize, DefaultMemSize, MaxItems >::hint_comparator::m_compare

Definition at line 2142 of file parallel_priority_queue.h.

template<class ValueType , class CompareType = std::less<ValueType>, class AllocStrategy = STXXL_DEFAULT_ALLOC_STRATEGY, uint64 BlockSize = STXXL_DEFAULT_BLOCK_SIZE(ValueType), uint64 DefaultMemSize = 1* 1024L* 1024L* 1024L, uint64 MaxItems = 0>
const external_arrays_type& stxxl::parallel_priority_queue< ValueType, CompareType, AllocStrategy, BlockSize, DefaultMemSize, MaxItems >::hint_comparator::m_eas

Definition at line 2141 of file parallel_priority_queue.h.


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