permlib::OrderedSorter< ORDER > Class Template Reference

A sorter that sorts a sequence with respect to a given input ordering. More...

#include <base_sorter.h>

List of all members.

Public Member Functions

bool operator() (ulong a, ulong b) const
 true iff a preceeds b in given sequence
bool operator() (ulong a, ulong b) const
 true iff a preceeds b in given sequence

Protected Member Functions

 OrderedSorter (uint size)
 constructor for direct vector usage
 OrderedSorter (ORDER order)
 constructor for reference use
 OrderedSorter (uint size)
 constructor for direct vector usage
 OrderedSorter (ORDER order)
 constructor for reference use

Protected Attributes

uint m_size
 size of domain which the order applies to
ORDER m_order
 array which defines the order of points

Detailed Description

template<class ORDER>
class permlib::OrderedSorter< ORDER >

A sorter that sorts a sequence with respect to a given input ordering.


Constructor & Destructor Documentation

template<class ORDER>
permlib::OrderedSorter< ORDER >::OrderedSorter ( uint  size  )  [inline, explicit, protected]

constructor for direct vector usage

Parameters:
size size of domain which the order applies to
template<class ORDER>
permlib::OrderedSorter< ORDER >::OrderedSorter ( uint  size  )  [inline, explicit, protected]

constructor for direct vector usage

Parameters:
size size of domain which the order applies to

The documentation for this class was generated from the following files:
Generated on Fri Jun 18 21:59:57 2010 for PermLib by  doxygen 1.6.3