#include <LexOrder.h>
Public Types | |
typedef std::less< idx_type > | idx_comparer_type |
Define binary predicate for index comparision. | |
Public Member Functions | |
LexOrder () | |
Default Constructor. | |
LexOrder (const self &rhs) | |
Copy Constructor. | |
~LexOrder () | |
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) const |
exp_type | leadExp (const poly_type &) const |
Get leading exponent. | |
exp_type | leadExp (const poly_type &poly, deg_type) const |
typedef std::less<idx_type> polybori::LexOrder::idx_comparer_type |
Define binary predicate for index comparision.
polybori::LexOrder::LexOrder | ( | ) | [inline] |
Default Constructor.
polybori::LexOrder::LexOrder | ( | const self & | rhs | ) | [inline] |
Copy Constructor.
polybori::LexOrder::~LexOrder | ( | ) | [inline] |
Destructor.
LexOrder::comp_type polybori::LexOrder::compare | ( | idx_type | lhs, | |
idx_type | rhs | |||
) | const [virtual] |
Comparison of indices corresponding to variables.
Implements polybori::COrderingBase.
References polybori::generic_compare_3way(), and PBORI_TRACE_FUNC.
LexOrder::comp_type polybori::LexOrder::compare | ( | const monom_type & | lhs, | |
const monom_type & | rhs | |||
) | const [virtual] |
Comparison of monomials.
Implements polybori::COrderingBase.
References polybori::lex_compare(), and PBORI_TRACE_FUNC.
LexOrder::comp_type polybori::LexOrder::compare | ( | const exp_type & | lhs, | |
const exp_type & | rhs | |||
) | const [virtual] |
Comparison of exponent vectors.
Implements polybori::COrderingBase.
References polybori::lex_compare(), and PBORI_TRACE_FUNC.
LexOrder::monom_type polybori::LexOrder::lead | ( | const poly_type & | poly | ) | const [virtual] |
Get leading term.
Implements polybori::COrderingBase.
References polybori::dd_lex_lead(), polybori::COrderingBase::monom(), polybori::BoolePolynomial::navigation(), PBORI_TRACE_FUNC, and polybori::BoolePolynomial::ring().
monom_type polybori::LexOrder::lead | ( | const poly_type & | poly, | |
deg_type | ||||
) | const [inline, virtual] |
Leading monomial with bound (just the ordinary leading monomial)
leadExp
, ignores second argument Implements polybori::COrderingBase.
LexOrder::exp_type polybori::LexOrder::leadExp | ( | const poly_type & | poly | ) | const [virtual] |
Get leading exponent.
Implements polybori::COrderingBase.
References polybori::BoolePolynomial::firstBegin(), polybori::BoolePolynomial::firstEnd(), polybori::BoolePolynomial::isConstant(), polybori::BoolePolynomial::lexLeadDeg(), PBORI_TRACE_FUNC, and polybori::BooleExponent::reserve().
Leading exponent with bound (just the ordinary leading monomial)
leadExp
, ignores second argument Implements polybori::COrderingBase.