Filter Class Reference
A type that describes an optimisation filter. More...
#include <Filter.hpp>
Public Types | |
using | Point = std::vector< double > |
A type that describes an entry point of an optimisation filter. | |
Public Member Functions | |
Filter () | |
Construc a default Filter instance. | |
auto | clear () -> void |
Clear the filter by removing all its points. | |
auto | acceptable (const Point &point) const -> bool |
Check if a given point is acceptable to the filter. More... | |
auto | extend (const Point &point) -> void |
Extend the filter with a new point. More... | |
Static Public Member Functions | |
static auto | dominated (const Point &a, const Point &b) -> bool |
Check if a point is dominated by another. More... | |
Detailed Description
A type that describes an optimisation filter.
Member Function Documentation
◆ acceptable()
auto acceptable | ( | const Point & | point | ) | const -> bool |
Check if a given point is acceptable to the filter.
- Parameters
-
point The point to be checked
◆ extend()
auto extend | ( | const Point & | point | ) | -> void |
Extend the filter with a new point.
This method not only inserts a new point to the filter, but also removes all existent dominated points with respect to the new one.
- Parameters
-
point The point to be inserted in the filter
◆ dominated()
Check if a point is dominated by another.
Check if point a
is dominated by b
, that is, if a
> b
componentwise.
The documentation for this class was generated from the following files:
- Reaktoro/Optimization/Filter.hpp
- Reaktoro/Optimization/Filter.cpp