Frobby 0.10.0
Loading...
Searching...
No Matches
PivotStrategy Class Referenceabstract

#include <PivotStrategy.h>

Inheritance diagram for PivotStrategy:

Public Member Functions

virtual EulerState * doPivot (EulerState &state, const size_t *divCounts)=0
virtual void getName (ostream &out) const =0
virtual void computationCompleted (const PivotEulerAlg &alg)=0
virtual bool shouldTranspose (const EulerState &state) const =0

Detailed Description

A pivot selection strategy for the Euler algorithm.

Member Function Documentation

◆ computationCompleted()

virtual void PivotStrategy::computationCompleted ( const PivotEulerAlg & alg)
pure virtual

Call this function once when computation is complete.

◆ doPivot()

virtual EulerState * PivotStrategy::doPivot ( EulerState & state,
const size_t * divCounts )
pure virtual

Split state. Returns null if state was a base case. Otherwise state and the return value become the two substates. divCounts[var] must be the number of generators that div divides.

◆ getName()

virtual void PivotStrategy::getName ( ostream & out) const
pure virtual

Prints the name of the strategy to out.

◆ shouldTranspose()

virtual bool PivotStrategy::shouldTranspose ( const EulerState & state) const
pure virtual

Returns true if transposing state is adviced.


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