|
EllAlgo 1.6.13
|
Ellipsoid Search Space Core. More...
#include <ell_core.hpp>
Public Member Functions | |
| EllCore (const Vec &val, size_t ndim) | |
| EllCore (const double alpha, const size_t ndim) | |
| Construct a new EllCore object. | |
| EllCore (EllCore &&E)=default | |
| Construct a new EllCore object. | |
| EllCore & | operator= (EllCore &&)=default |
| Move assignment operator. | |
| ~EllCore ()=default | |
| Destroy the EllCore object. | |
| EllCore (const EllCore &E)=default | |
| Construct a new EllCore object. | |
| auto | copy () const -> EllCore |
| explicitly copy | |
| constexpr auto | tsq () const -> double |
| Get the squared ellipsoid radius τ² | |
| void | set_use_parallel_cut (bool value) |
| template<typename T > | |
| auto | update_bias_cut (Vec &grad, const T &beta) -> CutStatus |
| Update ellipsoid core function using the deep cut(s) | |
| template<typename T > | |
| auto | update_central_cut (Vec &grad, const T &beta) -> CutStatus |
| Update ellipsoid core function using the central cut(s) | |
| template<typename T > | |
| auto | update_q (Vec &grad, const T &beta) -> CutStatus |
| Update ellipsoid core function using the cut(s) | |
| template<typename T > | |
| auto | update_stable_bias_cut (Vec &grad, const T &beta) -> CutStatus |
| Update ellipsoid core function using the deep cut(s) | |
| template<typename T > | |
| auto | update_stable_central_cut (Vec &grad, const T &beta) -> CutStatus |
| Update ellipsoid core function using the central cut(s) | |
| template<typename T > | |
| auto | update_stable_q (Vec &grad, const T &beta) -> CutStatus |
| Update ellipsoid core function using the cut(s) | |
Public Attributes | |
| bool | no_defer_trick = false |
Ellipsoid Search Space Core.
Without the knowledge of the type of xc
ℰ {x | (x - xc)' mq^-1 (x - xc) ≤ κ}
The function constructs a new EllCore object with a given value and dimension.
Construct a new EllCore object.
The function constructs a new EllCore object with a given alpha and ndim, and initializes the matrix _mq to an identity matrix.
| [in] | alpha | The alpha parameter is a double value that represents the scaling factor for the EllCore object. It is used to adjust the size of the ellipsoid. |
| [in] | ndim | The parameter ndim represents the number of dimensions for the EllCore object. It specifies the size of the matrix used in the construction of the object. |
|
default |
|
default |
Destroy the EllCore object.
Construct a new EllCore object.
To avoid accidentally copying, only explicit copy is allowed
| [in] | E | The parameter "E" is a reference to an object of type "EllCore". |
The function sets the value of the use_parallel_cut property in the _mgr object.
| [in] | value | The value parameter is a boolean value that determines whether or not to use parallel cut. |
Get the squared ellipsoid radius τ²
|
inline |
Update ellipsoid core function using the deep cut(s)
The update_bias_cut function is a member function of the EllCore class. It is used to update the ellipsoid core function using a cutting plane.
| T |
| [in] | grad | gradient |
| [in] | beta |
|
inline |
Update ellipsoid core function using the central cut(s)
The update_central_cut function is a member function of the EllCore class. It is used to update the ellipsoid core function using a cutting plane.
| T |
| [in] | grad | gradient |
| [in] | beta |
Update ellipsoid core function using the cut(s)
The update_q function is a member function of the EllCore class. It is used to update the ellipsoid core function using a cutting plane.
| T |
| [in] | grad | gradient |
| [in] | beta |
|
inline |
Update ellipsoid core function using the deep cut(s)
The update_stable_bias_cut function is a member function of the EllCore class. It is used to update the ellipsoid core function using a cutting plane.
| T |
| [in] | grad | gradient |
| [in] | beta |
|
inline |
Update ellipsoid core function using the central cut(s)
The update_stable_central_cut function is a member function of the EllCore class. It is used to update the ellipsoid core function using a cutting plane.
| T |
| [in] | grad | gradient |
| [in] | beta |
|
inline |
Update ellipsoid core function using the cut(s)
The update_stable_q function is a member function of the EllCore class. It is used to update the ellipsoid core function using a cutting plane.
| T |
| [in] | grad | gradient |
| [in] | beta |