Stokhos Development
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Stokhos::LexographicLess< term_type, compare_type > Class Template Reference

A comparison functor implementing a strict weak ordering based lexographic ordering. More...

#include <Stokhos_ProductBasisUtils.hpp>

List of all members.

Public Types

typedef term_type product_element_type
typedef term_type::ordinal_type ordinal_type
typedef term_type::element_type element_type

Public Member Functions

 LexographicLess (const compare_type &cmp_=compare_type())
 Constructor.
bool operator() (const term_type &a, const term_type &b) const
 Determine if a is less than b.

Protected Member Functions

bool equal (const element_type &a, const element_type &b) const
 Determine if two elements a and b are equal.

Protected Attributes

compare_type cmp
 Element comparison functor.

Detailed Description

template<typename term_type, typename compare_type = std::less<typename term_type::element_type>>
class Stokhos::LexographicLess< term_type, compare_type >

A comparison functor implementing a strict weak ordering based lexographic ordering.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator