Frobby 0.10.0
Loading...
Searching...
No Matches
HilbertSlice Class Reference
Inheritance diagram for HilbertSlice:
Collaboration diagram for HilbertSlice:

Public Member Functions

 HilbertSlice (HilbertStrategy &strategy)
 HilbertSlice (HilbertStrategy &strategy, const Ideal &ideal, const Ideal &subtract, const Term &multiply, CoefTermConsumer *consumer)
CoefTermConsumer * getConsumer ()
virtual bool baseCase (bool simplified)
virtual Slice & operator= (const Slice &slice)
virtual bool simplifyStep ()
void setToProjOf (const Slice &slice, const Projection &projection, CoefTermConsumer *consumer)
void swap (HilbertSlice &slice)
Public Member Functions inherited from Slice
 Slice (SliceStrategy &strategy)
 Slice (SliceStrategy &strategy, const Ideal &ideal, const Ideal &subtract, const Term &multiply)
size_t getVarCount () const
const Ideal & getIdeal () const
Ideal & getSubtract ()
const Ideal & getSubtract () const
Term & getMultiply ()
const Term & getMultiply () const
const Term & getLcm () const
void print (FILE *file) const
void resetAndSetVarCount (size_t varCount)
void clearIdealAndSubtract ()
void singleDegreeSortIdeal (size_t var)
virtual bool innerSlice (const Term &pivot)
virtual void outerSlice (const Term &pivot)
bool normalize ()
bool adjustMultiply ()
virtual bool simplify ()
virtual void run (TaskEngine &tasks)
virtual void dispose ()

Additional Inherited Members

void setToProjOf (const Slice &slice, const Projection &projection)
void swap (Slice &slice)
bool pruneSubtract ()
bool applyLowerBound ()
Ideal _ideal
Ideal _subtract
Term _multiply
size_t _varCount
Term _lcm
bool _lcmUpdated
size_t _lowerBoundHint
SliceStrategy & _strategy

Member Function Documentation

◆ baseCase()

bool HilbertSlice::baseCase ( bool simplified)
virtual

Returns true if this slice is a base case slice, and in that case produces output in a derivative-specific way. If simplified is true, then the slice must be fully simplified when calling baseCase(), while otherwise there is no such requirement.

Implements Slice.

◆ operator=()

Slice & HilbertSlice::operator= ( const Slice & slice)
virtual

Performs a deep copy of slice into this object.

Implements Slice.

◆ simplifyStep()

bool HilbertSlice::simplifyStep ( )
virtual

Like simplify(), except that only one simplification step is performed. If the return value is true, then the Slice may not be fully simplified yet. Iterating simplifyStep() has the same result as calling simplify(), though the performance characteristics can be worse.

Todo
Is this method actually used, and does it return true iff this object changed?

Implements Slice.


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