#include <DegRevLexAscOrder.h>
Public Types | |
enum | { order_code = CTypes::dp_asc, baseorder_code = order_code } |
Get order code. More... | |
typedef DegRevLexAscOrder | self |
generic access to current type | |
typedef std::greater< idx_type > | idx_comparer_type |
Define binary predicate for index comparision. | |
define generic property markers | |
typedef valid_tag | symmetry_property |
typedef valid_tag | degorder_property |
typedef valid_tag | totaldegorder_property |
typedef valid_tag | ascending_property |
typedef valid_tag | degrevlexorder_property |
typedef dp_asc_tag | order_tag |
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, size_type) const |
Get leading term (using upper bound). | |
exp_type | leadExp (const poly_type &) const |
Get leading exponent. | |
exp_type | leadExp (const poly_type &, size_type) const |
Get leading exponent (using an upper bound). | |
indirect_iterator | leadIteratorBegin (const poly_type &) const |
Initialize iterator corresponding to leading term. | |
indirect_iterator | leadIteratorEnd () const |
indirect_exp_iterator | leadExpIteratorBegin (const poly_type &) const |
indirect_exp_iterator | leadExpIteratorEnd () const |
Reimplemented from polybori::COrderBase.
Reimplemented from polybori::COrderBase.
Reimplemented from polybori::COrderBase.
typedef std::greater<idx_type> polybori::DegRevLexAscOrder::idx_comparer_type |
Define binary predicate for index comparision.
generic access to current type
Reimplemented from polybori::COrderBase.
Reimplemented from polybori::COrderBase.
polybori::DegRevLexAscOrder::DegRevLexAscOrder | ( | ) | [inline] |
Default Constructor.
polybori::DegRevLexAscOrder::DegRevLexAscOrder | ( | const self & | rhs | ) | [inline] |
Copy Constructor.
polybori::DegRevLexAscOrder::~DegRevLexAscOrder | ( | ) | [inline] |
Destructor.
DegRevLexAscOrder::comp_type polybori::DegRevLexAscOrder::compare | ( | const exp_type & | lhs, | |
const exp_type & | rhs | |||
) | const [virtual] |
Comparison of exponent vectors.
Implements polybori::COrderBase.
References polybori::deg_lex_compare(), and PBORI_TRACE_FUNC.
DegRevLexAscOrder::comp_type polybori::DegRevLexAscOrder::compare | ( | const monom_type & | lhs, | |
const monom_type & | rhs | |||
) | const [virtual] |
Comparison of monomials.
Implements polybori::COrderBase.
References polybori::deg_lex_compare(), and PBORI_TRACE_FUNC.
DegRevLexAscOrder::comp_type polybori::DegRevLexAscOrder::compare | ( | idx_type | lhs, | |
idx_type | rhs | |||
) | const [virtual] |
Comparison of indices corresponding to variables.
Implements polybori::COrderBase.
References polybori::generic_compare_3way(), and PBORI_TRACE_FUNC.
DegRevLexAscOrder::monom_type polybori::DegRevLexAscOrder::lead | ( | const poly_type & | poly, | |
size_type | bound | |||
) | const [virtual] |
Get leading term (using upper bound).
Implements polybori::COrderBase.
References polybori::dd_cached_degree(), polybori::dd_recursive_degree_lead(), polybori::BoolePolynomial::diagram(), polybori::COrderBase::monom(), polybori::BoolePolynomial::navigation(), and PBORI_TRACE_FUNC.
DegRevLexAscOrder::monom_type polybori::DegRevLexAscOrder::lead | ( | const poly_type & | poly | ) | const [virtual] |
Get leading term.
Implements polybori::COrderBase.
References polybori::dd_recursive_degree_lead(), polybori::BoolePolynomial::diagram(), polybori::COrderBase::monom(), polybori::BoolePolynomial::navigation(), and PBORI_TRACE_FUNC.
DegRevLexAscOrder::exp_type polybori::DegRevLexAscOrder::leadExp | ( | const poly_type & | poly, | |
size_type | bound | |||
) | const [virtual] |
Get leading exponent (using an upper bound).
Implements polybori::COrderBase.
References polybori::dd_cached_degree(), polybori::dd_recursive_degree_leadexp(), polybori::BoolePolynomial::diagram(), polybori::BoolePolynomial::navigation(), PBORI_TRACE_FUNC, and polybori::BooleExponent::reserve().
DegRevLexAscOrder::exp_type polybori::DegRevLexAscOrder::leadExp | ( | const poly_type & | poly | ) | const [virtual] |
Get leading exponent.
Implements polybori::COrderBase.
References polybori::dd_recursive_degree_leadexp(), polybori::BoolePolynomial::deg(), polybori::BoolePolynomial::diagram(), polybori::BoolePolynomial::navigation(), PBORI_TRACE_FUNC, and polybori::BooleExponent::reserve().
DegRevLexAscOrder::indirect_exp_iterator polybori::DegRevLexAscOrder::leadExpIteratorBegin | ( | const poly_type & | poly | ) | const [virtual] |
Implements polybori::COrderBase.
References polybori::BoolePolynomial::diagram(), polybori::BoolePolynomial::navigation(), and PBORI_TRACE_FUNC.
DegRevLexAscOrder::indirect_exp_iterator polybori::DegRevLexAscOrder::leadExpIteratorEnd | ( | ) | const [virtual] |
DegRevLexAscOrder::indirect_iterator polybori::DegRevLexAscOrder::leadIteratorBegin | ( | const poly_type & | poly | ) | const [virtual] |
Initialize iterator corresponding to leading term.
Implements polybori::COrderBase.
References polybori::BoolePolynomial::diagram(), polybori::BoolePolynomial::navigation(), and PBORI_TRACE_FUNC.
DegRevLexAscOrder::indirect_iterator polybori::DegRevLexAscOrder::leadIteratorEnd | ( | ) | const [virtual] |