#include <IpFilter.hpp>
This class contains all filter entries. The entries are stored as the corner point, including the margin.
Public Member Functions | |
bool | Acceptable (std::vector< Number > vals) const |
Check acceptability of given coordinates with respect to the filter. | |
void | AddEntry (std::vector< Number > vals, Index iteration) |
Add filter entry for given coordinates. | |
void | Clear () |
Delete all filter entries. | |
void | Print (const Journalist &jnlst) |
Print current filter entries. | |
Constructors/Destructors | |
Filter (Index dim) | |
Default Constructor. | |
~Filter () | |
Default Destructor. | |
Wrappers for 2-dimensional filter. | |
bool | Acceptable (Number val1, Number val2) const |
void | AddEntry (Number val1, Number val2, Index iteration) |
~Filter | ( | ) | [inline] |
bool Acceptable | ( | std::vector< Number > | vals | ) | const |
Check acceptability of given coordinates with respect to the filter.
Returns true, if pair is acceptable
References DBG_ASSERT, and DBG_START_METH.
Referenced by Filter::Acceptable(), and FilterLSAcceptor::IsAcceptableToCurrentFilter().
Add filter entry for given coordinates.
This will also delete all dominated entries in the current filter.
References DBG_ASSERT, and DBG_START_METH.
Referenced by Filter::AddEntry().
References Filter::Acceptable().
References Filter::AddEntry().
void Clear | ( | ) |
Delete all filter entries.
References DBG_START_METH.
Referenced by AdaptiveMuUpdate::InitializeImpl(), FilterLSAcceptor::Reset(), and Filter::~Filter().
void Print | ( | const Journalist & | jnlst | ) |
Print current filter entries.
References DBG_START_METH, fkinkryx::i, Ipopt::J_DETAILED, Ipopt::J_LINE_SEARCH, Ipopt::J_VECTOR, Journalist::Printf(), and Journalist::ProduceOutput().
Referenced by FilterLSAcceptor::InitThisLineSearch().