PolyBoRi
Public Types | Public Member Functions
polybori::DegRevLexAscOrder Class Reference

This class defines ordering related functions. More...

#include <DegRevLexAscOrder.h>

Inheritance diagram for polybori::DegRevLexAscOrder:
polybori::COrderingFacade< DegRevLexAscOrder, dp_asc_tag >

List of all members.

Public Types

typedef std::greater< idx_type > idx_comparer_type
 Define binary predicate for index comparision.

Public Member Functions

 DegRevLexAscOrder ()
 Default Constructor.
 DegRevLexAscOrder (const self &rhs)
 Copy Constructor.
 ~DegRevLexAscOrder ()
 Destructor.
comp_type compare (idx_type, idx_type) const
 Comparison of indices corresponding to variables.
comp_type compare (const monom_type &, const monom_type &) const
 Comparison of monomials.
comp_type compare (const exp_type &, const exp_type &) const
 Comparison of exponent vectors.
monom_type lead (const poly_type &) const
 Get leading term.
monom_type lead (const poly_type &poly, deg_type bound) const
exp_type leadExp (const poly_type &) const
 Get leading exponent.
exp_type leadExp (const poly_type &, deg_type) const

Detailed Description

This class defines ordering related functions.


Member Typedef Documentation

typedef std::greater<idx_type> polybori::DegRevLexAscOrder::idx_comparer_type

Define binary predicate for index comparision.


Constructor & Destructor Documentation

polybori::DegRevLexAscOrder::DegRevLexAscOrder ( ) [inline]

Default Constructor.

polybori::DegRevLexAscOrder::DegRevLexAscOrder ( const self rhs) [inline]

Copy Constructor.

polybori::DegRevLexAscOrder::~DegRevLexAscOrder ( ) [inline]

Destructor.


Member Function Documentation

DegRevLexAscOrder::comp_type polybori::DegRevLexAscOrder::compare ( idx_type  lhs,
idx_type  rhs 
) const

Comparison of indices corresponding to variables.

References PBORI_TRACE_FUNC, and polybori::generic_compare_3way().

DegRevLexAscOrder::comp_type polybori::DegRevLexAscOrder::compare ( const monom_type &  lhs,
const monom_type &  rhs 
) const

Comparison of monomials.

References PBORI_TRACE_FUNC, and polybori::deg_lex_compare().

DegRevLexAscOrder::comp_type polybori::DegRevLexAscOrder::compare ( const exp_type &  lhs,
const exp_type &  rhs 
) const

Comparison of exponent vectors.

References PBORI_TRACE_FUNC, and polybori::deg_lex_compare().

DegRevLexAscOrder::monom_type polybori::DegRevLexAscOrder::lead ( const poly_type &  poly) const

Get leading term.

References PBORI_TRACE_FUNC.

DegRevLexAscOrder::monom_type polybori::DegRevLexAscOrder::lead ( const poly_type &  poly,
deg_type  bound 
) const

Get leading term (using upper bound of the polynomial degree)

Note:
returns lead of the sub-polynomial of degree bound

References PBORI_TRACE_FUNC, polybori::dd_cached_degree(), and polybori::dd_recursive_degree_lead().

DegRevLexAscOrder::exp_type polybori::DegRevLexAscOrder::leadExp ( const poly_type &  poly) const

Get leading exponent.

References PBORI_TRACE_FUNC.

DegRevLexAscOrder::exp_type polybori::DegRevLexAscOrder::leadExp ( const poly_type &  poly,
deg_type  bound 
) const

Get leading exponent (using an upper bound of the polynomial degree)

Note:
See note of the bounded lead

References PBORI_TRACE_FUNC, polybori::dd_cached_degree(), and polybori::dd_recursive_degree_leadexp().


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