PolyBoRi
Public Member Functions | Protected Attributes
polybori::groebner::PolynomialSugar Class Reference

This class defines PolynomialSugar. More...

#include <PolynomialSugar.h>

List of all members.

Public Member Functions

 PolynomialSugar (const Polynomial &poly)
 PolynomialSugar (const Polynomial &poly, 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

Detailed Description

This class defines PolynomialSugar.


Constructor & Destructor Documentation

References PBORI_ASSERT.

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

References PBORI_ASSERT.


Member Function Documentation

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

References PBORI_ASSERT.

Todo:
optimize that using length optimization

References PBORI_ASSERT.

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


Member Data Documentation


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