permlib  0.2.6
Library for permutation computations
 All Classes Functions Variables Typedefs Enumerations Friends
Public Member Functions | Static Public Member Functions
permlib::BaseSorterByReference Class Reference

A sorter that sorts a sequence (e.g. $\Omega$) with respect to a given input ordering (e.g. a base) More...

#include <base_sorter.h>

Inheritance diagram for permlib::BaseSorterByReference:
permlib::OrderedSorter< const std::vector< unsigned long > & > binary_function

List of all members.

Public Member Functions

 BaseSorterByReference (const std::vector< unsigned long > &order)
 constructor

Static Public Member Functions

template<class InputIterator >
static std::vector< unsigned long > createOrder (unsigned int size, InputIterator begin, InputIterator end)
 constructs an ordering array with the same parameters as BaseSorter for use with BaseSorterByReference

Detailed Description

A sorter that sorts a sequence (e.g. $\Omega$) with respect to a given input ordering (e.g. a base)

This class uses a reference to a given ordering array to determine the order of elements


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