#include <ellalgo/cutting_plane.hpp>
template<typename Oracle, typename Space>
BSearchAdaptor class
Template parameters | |
---|---|
Oracle | |
Space |
Constructors, destructors, conversion operators
- BSearchAdaptor(Oracle& omega, Space& space)
- Construct a new bsearch adaptor object.
- BSearchAdaptor(Oracle& omega, Space& space, const Options& options)
- Construct a new bsearch adaptor object.
Public functions
Function documentation
template<typename Oracle, typename Space>
BSearchAdaptor<Oracle, Space>:: BSearchAdaptor(Oracle& omega,
Space& space)
Construct a new bsearch adaptor object.
Parameters | |
---|---|
omega in/out | perform assessment on x0 |
space in/out | search Space containing x* |
template<typename Oracle, typename Space>
BSearchAdaptor<Oracle, Space>:: BSearchAdaptor(Oracle& omega,
Space& space,
const Options& options)
Construct a new bsearch adaptor object.
Parameters | |
---|---|
omega in/out | perform assessment on x0 |
space in/out | search space containing x* |
options in | maximum iteration and error tolerance etc. |
template<typename Oracle, typename Space>
auto BSearchAdaptor<Oracle, Space>:: x_best() const -> ArrayType
get best x
Returns | auto |
---|
template<typename Oracle, typename Space>
template<typename Num>
auto BSearchAdaptor<Oracle, Space>:: assess_bs(Num& gamma) -> bool
Template parameters | |
---|---|
Num | |
Parameters | |
gamma in/out | the best-so-far optimal value |
Returns | bool |