![]() |
Rosetta
2019.07
|
#include <CompoundInterpolator.hh>
Public Member Functions | |
CompoundInterpolator ()=default | |
CompoundInterpolator (CompoundInterpolator const &other) | |
InterpolatorOP | clone () const override |
void | add_range (InterpolatorOP interp, Real lb, Real ub) |
void | interpolate (Real x, Real &y, Real &dy) const override |
utility::json_spirit::Value | serialize () const override |
serialize the Interpolator to a json_spirit object More... | |
void | deserialize (utility::json_spirit::mObject data) override |
deserialize a json_spirit object to a Interpolator More... | |
bool | operator== (Interpolator const &other) const override |
bool | same_type_as_me (Interpolator const &other) const override |
![]() | |
virtual | ~Interpolator () |
Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
Interpolator () | |
void | set_lb_function (numeric::Real const &lb, numeric::Real const &slope, numeric::Real const &intercept) |
set a linear function describing the behavior of the interpolator after a given lower bound. This lower bound can be distinct from the lb of the spline More... | |
void | set_ub_function (numeric::Real const &ub, numeric::Real const &slope, numeric::Real const &intercept) |
set a linear function describing the behavior of the interpolator after a given upper bound. This upper bound can be distinct from the ub of the spline More... | |
bool | has_lb_function () const |
return true if the interpolator has a defined lower bound function More... | |
bool | has_ub_function () const |
return false if the interpolator has a defined upper bound function More... | |
numeric::Real | get_lb_function_cutoff () const |
get the lower bound cutoff More... | |
numeric::Real | get_ub_function_cutoff () const |
get the upper bound cutoff More... | |
void | compute_lb_function_solution (numeric::Real x, numeric::Real &y) const |
compute the y value of the lower bound function given an x value More... | |
void | compute_ub_function_solution (numeric::Real x, numeric::Real &y) const |
compute the y value of the lower bound function given an x value More... | |
![]() | |
ReferenceCount () | |
Default constructor. More... | |
virtual | ~ReferenceCount () |
Private Attributes | |
utility::vector1< interp_range > | interpolators_ |
Additional Inherited Members | |
![]() | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
|
default |
numeric::interpolation::spline::CompoundInterpolator::CompoundInterpolator | ( | CompoundInterpolator const & | other | ) |
References numeric::interpolation::spline::interp_range::interp, and interpolators_.
void numeric::interpolation::spline::CompoundInterpolator::add_range | ( | InterpolatorOP | interp, |
Real | lb, | ||
Real | ub | ||
) |
|
overridevirtual |
Implements numeric::interpolation::spline::Interpolator.
|
overridevirtual |
deserialize a json_spirit object to a Interpolator
Reimplemented from numeric::interpolation::spline::Interpolator.
References add_range(), numeric::interpolation::spline::Interpolator::deserialize(), utility::json_spirit::get_real(), and interpolators_.
|
overridevirtual |
Implements numeric::interpolation::spline::Interpolator.
References numeric::interpolation::spline::Interpolator::compute_lb_function_solution(), numeric::interpolation::spline::Interpolator::compute_ub_function_solution(), numeric::interpolation::spline::Interpolator::get_lb_function_cutoff(), numeric::interpolation::spline::Interpolator::get_ub_function_cutoff(), numeric::interpolation::spline::Interpolator::has_lb_function(), numeric::interpolation::spline::Interpolator::has_ub_function(), and interpolators_.
|
overridevirtual |
Reimplemented from numeric::interpolation::spline::Interpolator.
References test.T200_Scoring::ii, and interpolators_.
|
overridevirtual |
Reimplemented from numeric::interpolation::spline::Interpolator.
|
overridevirtual |
serialize the Interpolator to a json_spirit object
Reimplemented from numeric::interpolation::spline::Interpolator.
References interpolators_, utility::tools::make_vector(), and numeric::interpolation::spline::Interpolator::serialize().
|
private |
Referenced by add_range(), CompoundInterpolator(), deserialize(), interpolate(), operator==(), and serialize().