17 #ifndef TOTAL_DEGREE_COEF_TERM_CONSUMER_GUARD
18 #define TOTAL_DEGREE_COEF_TERM_CONSUMER_GUARD
45 virtual void consume(
const mpz_class& coef,
const Term& term);
TermTranslator handles translation between terms whose exponents are infinite precision integers and ...
Term represents a product of variables which does not include a coefficient.
virtual void consumeRing(const VarNames &names)
virtual void doneConsuming()
TotalDegreeCoefTermConsumer(auto_ptr< CoefBigTermConsumer > consumer, const TermTranslator &translator)
virtual void beginConsuming()
auto_ptr< CoefBigTermConsumer > _consumerOwner
virtual void consume(const mpz_class &coef, const Term &term)
CoefBigTermConsumer & _consumer
const TermTranslator & _translator
A sparse univariate polynomial represented by a hash table mapping terms to coefficients.
Defines the variables of a polynomial ring and facilities IO involving them.