OKlibrary  0.2.1.6
OKlib::Programming::Utilities::OrderRelations::Colexicographical_comparison< Container > Class Template Reference

Predicate-functor for colexicographical comparison of containers. More...

#include <OrderConstructions.hpp>

Inheritance diagram for OKlib::Programming::Utilities::OrderRelations::Colexicographical_comparison< Container >:
binary_function

List of all members.

Public Member Functions

bool operator() (const Container &A, const Container &B) const

Detailed Description

template<class Container>
class OKlib::Programming::Utilities::OrderRelations::Colexicographical_comparison< Container >

Predicate-functor for colexicographical comparison of containers.

The Maxima-specification is colex_lessp_l in ComputerAlgebra/Combinatorics/Lisp/Enumeration/Order.mac.

Todo:

Generalise to Ranges

Write tests

Definition at line 65 of file OrderConstructions.hpp.


Member Function Documentation

template<class Container >
bool OKlib::Programming::Utilities::OrderRelations::Colexicographical_comparison< Container >::operator() ( const Container &  A,
const Container &  B 
) const [inline]

Definition at line 67 of file OrderConstructions.hpp.


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