Class ell1d

Page Contents

Class Documentation

class ell1d

Ellipsoid Method for special 1D case.

Public Types

using return_t = std::tuple<CUTStatus, double>

Public Functions

inline ell1d(const double &l, const double &u) noexcept

Construct a new ell1d object.

Parameters
  • l[in]

  • u[in]

explicit ell1d(const ell1d &E) = default

Construct a new ell1d object.

Parameters

E[in]

inline auto xc() const noexcept -> double
Returns

double

inline auto set_xc(const double &xc) noexcept -> void

Set the xc object.

Parameters

xc[in]

auto update(const std::tuple<double, double> &cut) noexcept -> return_t
Parameters

cut[in]

Returns

return_t