polybori::groebner::PolynomialSugar Class Reference

List of all members.

Public Member Functions

 PolynomialSugar (const Polynomial &p)
 PolynomialSugar (const Polynomial &p, int sugar, len_type length)
const BooleMonomiallead () const
const ExponentleadExp () const
deg_type getSugar () const
wlen_type getLengthEstimation () const
bool isZero () const
void add (const Polynomial p2, deg_type sugar2, wlen_type length)
void adjustSugar ()
bool isOne ()
Polynomial value () const
wlen_type eliminationLength () const
void adjustLm ()

Protected Attributes

Monomial lm
len_type length
deg_type sugar
Polynomial p
Exponent exp

Constructor & Destructor Documentation

polybori::groebner::PolynomialSugar::PolynomialSugar ( const Polynomial p  )  [inline]

References length, and sugar.

polybori::groebner::PolynomialSugar::PolynomialSugar ( const Polynomial p,
int  sugar,
len_type  length 
) [inline]

Member Function Documentation

void polybori::groebner::PolynomialSugar::add ( const Polynomial  p2,
deg_type  sugar2,
wlen_type  length 
) [inline]

References BooleEnv::ordering(), and sugar.

void polybori::groebner::PolynomialSugar::adjustLm (  )  [inline]
void polybori::groebner::PolynomialSugar::adjustSugar (  )  [inline]

References sugar.

wlen_type polybori::groebner::PolynomialSugar::eliminationLength (  )  const [inline]

Todo:
optimize that using length optimization

References isZero(), length, and sugar.

Referenced by polybori::groebner::PSCompareByEl::operator()().

wlen_type polybori::groebner::PolynomialSugar::getLengthEstimation (  )  const [inline]

References length.

deg_type polybori::groebner::PolynomialSugar::getSugar (  )  const [inline]
bool polybori::groebner::PolynomialSugar::isOne (  )  [inline]
bool polybori::groebner::PolynomialSugar::isZero (  )  const [inline]

Referenced by eliminationLength().

const BooleMonomial& polybori::groebner::PolynomialSugar::lead (  )  const [inline]
const Exponent& polybori::groebner::PolynomialSugar::leadExp (  )  const [inline]
Polynomial polybori::groebner::PolynomialSugar::value (  )  const [inline]

Member Data Documentation


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

Generated on 25 Oct 2009 for PolyBoRi by  doxygen 1.6.1