Overture  Version 25
Public Types | Public Member Functions | Friends | List of all members
PriorityBatchQueue< T > Class Template Reference

#include <PriorityQueue.h>

Public Types

typedef
PriorityBatchQueueIterator< T > 
iterator
 
typedef
PriorityBatchQueueConstIterator
< T > 
const_iterator
 

Public Member Functions

 PriorityBatchQueue (real priorityBoundPercent_=.25)
 
 PriorityBatchQueue (const PriorityBatchQueue< T > &pQ)
 
 ~PriorityBatchQueue ()
 
void erase (typename PriorityBatchQueue< T >::iterator &i)
 
double maxPriority () const
 
double minPriority () const
 
PriorityBatchQueue< T >::iterator reprioritize (typename PriorityBatchQueue< T >::iterator &i, double newPriority)
 
PriorityBatchQueue< T >::iterator insert (T &data, double priority)
 
PriorityBatchQueue< T >::iterator begin ()
 
PriorityBatchQueue< T >::iterator end ()
 
PriorityBatchQueue< T >
::const_iterator 
begin () const
 
PriorityBatchQueue< T >
::const_iterator 
end () const
 
void clear ()
 
bool empty () const
 
int size () const
 
int numberOfBatches () const
 

Friends

class PriorityBatchQueueIterator< T >
 
class PriorityBatchQueueConstIterator< T >
 

Member Typedef Documentation

template<class T>
typedef PriorityBatchQueueIterator<T> PriorityBatchQueue< T >::iterator

Constructor & Destructor Documentation

template<class T>
PriorityBatchQueue< T >::PriorityBatchQueue ( real  priorityBoundPercent_ = .25)
inline
template<class T>
PriorityBatchQueue< T >::PriorityBatchQueue ( const PriorityBatchQueue< T > &  pQ)
inline
template<class T>
PriorityBatchQueue< T >::~PriorityBatchQueue ( )
inline

Member Function Documentation

template<class T>
PriorityBatchQueue<T>::iterator PriorityBatchQueue< T >::begin ( )
inline
template<class T>
PriorityBatchQueue<T>::const_iterator PriorityBatchQueue< T >::begin ( ) const
inline
template<class T>
void PriorityBatchQueue< T >::clear ( )
inline
template<class T>
bool PriorityBatchQueue< T >::empty ( ) const
inline
template<class T>
PriorityBatchQueue<T>::iterator PriorityBatchQueue< T >::end ( )
inline
template<class T>
PriorityBatchQueue<T>::const_iterator PriorityBatchQueue< T >::end ( ) const
inline
template<class T>
void PriorityBatchQueue< T >::erase ( typename PriorityBatchQueue< T >::iterator i)
inline
template<class T>
PriorityBatchQueue<T>::iterator PriorityBatchQueue< T >::insert ( T &  data,
double  priority 
)
inline
template<class T>
double PriorityBatchQueue< T >::maxPriority ( ) const
inline
template<class T>
double PriorityBatchQueue< T >::minPriority ( ) const
inline
template<class T>
int PriorityBatchQueue< T >::numberOfBatches ( ) const
inline
template<class T>
PriorityBatchQueue<T>::iterator PriorityBatchQueue< T >::reprioritize ( typename PriorityBatchQueue< T >::iterator i,
double  newPriority 
)
inline
template<class T>
int PriorityBatchQueue< T >::size ( ) const
inline

Friends And Related Function Documentation

template<class T>
friend class PriorityBatchQueueConstIterator< T >
friend
template<class T>
friend class PriorityBatchQueueIterator< T >
friend

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