![]() |
Rosetta Utilities
2014.16.56682
|
#include <CompoundInterpolator.hh>
Public Member Functions | |
| void | add_range (InterpolatorOP interp, Real lb, Real ub) |
| void | interpolate (Real x, Real &y, Real &dy) |
| virtual utility::json_spirit::Value | serialize () |
| serialize the Interpolator to a json_spirit object More... | |
| virtual void | deserialize (utility::json_spirit::mObject data) |
| deserialize a json_spirit object to a Interpolator More... | |
Public Member Functions inherited from numeric::interpolation::spline::Interpolator | |
| virtual | ~Interpolator () |
| Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
| Interpolator () | |
| void | set_lb_function (Real const &lb, Real const &slope, 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 (Real const &ub, Real const &slope, 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... | |
| Real | get_lb_function_cutoff () const |
| get the lower bound cutoff More... | |
| Real | get_ub_function_cutoff () const |
| get the upper bound cutoff More... | |
| void | compute_lb_function_solution (Real x, Real &y) const |
| compute the y value of the lower bound function given an x value More... | |
| void | compute_ub_function_solution (Real x, Real &y) const |
| compute the y value of the lower bound function given an x value More... | |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
Private Attributes | |
| utility::vector1< interp_range > | interpolators_ |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
Protected Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| ReferenceCount (ReferenceCount const &) | |
| Copy constructor. More... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
| void numeric::interpolation::spline::CompoundInterpolator::add_range | ( | InterpolatorOP | interp, |
| Real | lb, | ||
| Real | ub | ||
| ) |
|
virtual |
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_.
|
virtual |
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_.
|
virtual |
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(), deserialize(), interpolate(), and serialize().
1.8.7