Frobby 0.10.0
Loading...
Searching...
No Matches
BigattiBaseCase Class Reference

#include <BigattiBaseCase.h>

Public Member Functions

 BigattiBaseCase (const TermTranslator &translator)
bool genericBaseCase (const BigattiState &state)
bool baseCase (const BigattiState &state)
void output (bool plus, const Term &term)
void feedOutputTo (CoefBigTermConsumer &consumer, bool inCanonicalOrder)
void setPrintDebug (bool value)
void setComputeUnivariate (bool value)
size_t getTotalBaseCasesEver () const
size_t getTotalTermsOutputEver () const
size_t getTotalTermsInOutput () const

Detailed Description

This class handles the base cases for the Hilbert-Poincare series by Bigatti et.al.

Constructor & Destructor Documentation

◆ BigattiBaseCase()

BigattiBaseCase::BigattiBaseCase ( const TermTranslator & translator)

Initialize this object to handle the computation of Hilbert-Poincare series numerator polynomials in a polynomial ring with varCount variables.

Member Function Documentation

◆ baseCase()

bool BigattiBaseCase::baseCase ( const BigattiState & state)

Returns true if state is a base case slice without considering genericity.

◆ feedOutputTo()

void BigattiBaseCase::feedOutputTo ( CoefBigTermConsumer & consumer,
bool inCanonicalOrder )

Feed the output Hilbert-Poincare numerator polynomial computed so far to the consumer. This is done in canonical order if inCanonicalOrder is true.

◆ genericBaseCase()

bool BigattiBaseCase::genericBaseCase ( const BigattiState & state)

Returns ture if state is a base case slice while also considering genericity. This generalizes the functionality of baseCase().

◆ getTotalBaseCasesEver()

size_t BigattiBaseCase::getTotalBaseCasesEver ( ) const

Returns the total number of base cases this object has seen.

◆ getTotalTermsInOutput()

size_t BigattiBaseCase::getTotalTermsInOutput ( ) const

Returns the number of terms in the output polynomial right now.

◆ getTotalTermsOutputEver()

size_t BigattiBaseCase::getTotalTermsOutputEver ( ) const

Returns the total number of terms this object has output. This can be substantially more than the number of terms in the output polynomial, since the sum of two terms can be just one term or even zero.

◆ output()

void BigattiBaseCase::output ( bool plus,
const Term & term )

Add +term or -term to the output polynomial when plus is true or false respectively.

◆ setComputeUnivariate()

void BigattiBaseCase::setComputeUnivariate ( bool value)

Use the fine grading if value is false, otherwise grade each variable by the same variable t.

◆ setPrintDebug()

void BigattiBaseCase::setPrintDebug ( bool value)

Starts to print debug output on what happens if value is true.


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