permlib  0.2.9
Library for permutation computations
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
permlib::OrderedSorter< ORDER > Class Template Reference

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

#include <base_sorter.h>

Inheritance diagram for permlib::OrderedSorter< ORDER >:

Public Member Functions

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

Protected Member Functions

 OrderedSorter (unsigned int size)
 constructor for direct vector usage More...
 
 OrderedSorter (ORDER order)
 constructor for reference use
 

Protected Attributes

unsigned int 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

◆ OrderedSorter()

template<class ORDER>
permlib::OrderedSorter< ORDER >::OrderedSorter ( unsigned int  size)
inlineexplicitprotected

constructor for direct vector usage

Parameters
sizesize of domain which the order applies to

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