Frobby  0.9.5
Public Member Functions | Private Attributes | List of all members
IrreducibleIdealDecoder Class Reference
Inheritance diagram for IrreducibleIdealDecoder:
Frobby::IdealConsumer

Public Member Functions

 IrreducibleIdealDecoder (IdealConsumer *consumer)
 
 ~IrreducibleIdealDecoder ()
 
virtual void idealBegin (size_t varCount)
 Called before output of a monomial ideal. More...
 
virtual void idealEnd ()
 Called after output of a monomial ideal. More...
 
virtual void consume (mpz_ptr *exponentVector)
 For output of a generator of the ideal. More...
 
- Public Member Functions inherited from Frobby::IdealConsumer
virtual ~IdealConsumer ()
 The provided implementation does nothing. More...
 

Private Attributes

size_t _varCount
 
IdealConsumer * _consumer
 
vector< mpz_ptr > _term
 
mpz_class _zero
 

Detailed Description

Todo:
: This seems redundant with IdealSplitter.

Investigate.

Definition at line 325 of file frobby.cpp.

Constructor & Destructor Documentation

◆ IrreducibleIdealDecoder()

IrreducibleIdealDecoder::IrreducibleIdealDecoder ( IdealConsumer *  consumer)
inline

Definition at line 327 of file frobby.cpp.

◆ ~IrreducibleIdealDecoder()

IrreducibleIdealDecoder::~IrreducibleIdealDecoder ( )
inline

Definition at line 334 of file frobby.cpp.

Member Function Documentation

◆ consume()

virtual void IrreducibleIdealDecoder::consume ( mpz_ptr *  exponentVector)
inlinevirtual

For output of a generator of the ideal.

exponentVector is an array containing the exponents of the generator.

The parameter exponentVector and its entries must not be altered or deallocated, and no reference to them can be retained after the consume method has returned. If the output must be stored, then a copy must be made.

Implements Frobby::IdealConsumer.

Definition at line 348 of file frobby.cpp.

◆ idealBegin()

virtual void IrreducibleIdealDecoder::idealBegin ( size_t  varCount)
inlinevirtual

Called before output of a monomial ideal.

varCount is the number of variables of the ring within which the output ideal lies. The provided implementation does nothing.

Reimplemented from Frobby::IdealConsumer.

Definition at line 337 of file frobby.cpp.

◆ idealEnd()

virtual void IrreducibleIdealDecoder::idealEnd ( )
inlinevirtual

Called after output of a monomial ideal.

The provided implementation does nothing.

Reimplemented from Frobby::IdealConsumer.

Definition at line 344 of file frobby.cpp.

Member Data Documentation

◆ _consumer

IdealConsumer* IrreducibleIdealDecoder::_consumer
private

Definition at line 366 of file frobby.cpp.

◆ _term

vector<mpz_ptr> IrreducibleIdealDecoder::_term
private

Definition at line 367 of file frobby.cpp.

◆ _varCount

size_t IrreducibleIdealDecoder::_varCount
private

Definition at line 365 of file frobby.cpp.

◆ _zero

mpz_class IrreducibleIdealDecoder::_zero
private

Definition at line 368 of file frobby.cpp.


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