|
Frobby 0.10.0
|
#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 |
This class handles the base cases for the Hilbert-Poincare series by Bigatti et.al.
| 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.
| bool BigattiBaseCase::baseCase | ( | const BigattiState & | state | ) |
Returns true if state is a base case slice without considering genericity.
| 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.
| 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().
| size_t BigattiBaseCase::getTotalBaseCasesEver | ( | ) | const |
Returns the total number of base cases this object has seen.
| size_t BigattiBaseCase::getTotalTermsInOutput | ( | ) | const |
Returns the number of terms in the output polynomial right now.
| 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.
| void BigattiBaseCase::output | ( | bool | plus, |
| const Term & | term ) |
Add +term or -term to the output polynomial when plus is true or false respectively.
| void BigattiBaseCase::setComputeUnivariate | ( | bool | value | ) |
Use the fine grading if value is false, otherwise grade each variable by the same variable t.
| void BigattiBaseCase::setPrintDebug | ( | bool | value | ) |
Starts to print debug output on what happens if value is true.