void clear()
Empties the ring.
void insert(Type elem)
Inserts a new element into the ring.
Base class of all other classes of ABACUS.
The master of the optimization.
int tailOffNLp() const
Returns the number of linear programs considered in the tailing off analysis.
virtual bool tailOff() const
Checks whether there is a tailing-off effect.
int diff(int nLps, double &d) const
Can be used to retrieve the difference between the last and a previous LP-solution in percent.
TailOff(Master *master, int NLp)
An alternative constructor takes the length of the tailing off history from the parameter NLp.
TailOff(Master *master)
The constructor takes the length of the tailing off history from Master::tailOffNLp().
friend std::ostream & operator<<(std::ostream &out, const TailOff &rhs)
The output operator.
Master * master_
A pointer to the corresponding master of the optimization.
~TailOff()
The destructor.
void reset()
Clears the solution history.
AbaRing< double > * lpHistory_
The LP-values considered in the tailing off analysis.
void update(double value)
A new LP-solution value can be stored by calling the function update().
the master of the optimization.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()