#include <LinearPenaltyFunction.hh>
|
| | LinearPenaltyFunction (Real const x_middle, Real const well_depth, Real const half_width, Real const slope) |
| |
| FuncOP | clone () const |
| |
| Real | func (Real const x) const |
| | Returns a value representing this function evaluated at a given point. More...
|
| |
| Real | dfunc (Real const x) const |
| | Returns a value representing the derivative of this function evaluated at a given point. More...
|
| |
| void | read_data (std::istream &in) |
| | initialize this Func from the given std::istream. More...
|
| |
| void | show_definition (std::ostream &out) const |
| | shows the definition of this function, usually the string type of function and the parameters passed in to the constructor. More...
|
| |
| Real | get_x_middle () const |
| |
| Real | get_well_depth () const |
| |
| Real | get_half_width () const |
| |
| Real | get_slope () const |
| |
| void | set_x_middle (Real x) |
| |
| void | set_well_depth (Real well_depth) |
| |
| void | set_half_width (Real half_width) |
| |
| void | set_slope (Real slope) |
| |
| Size | show_violations (std::ostream &out, Real x, Size verbose_level, core::Real threshold=1) const |
| | show some sort of stringified representation of the violations for this constraint. More...
|
| |
| virtual | ~Func () |
| | Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
|
| |
| virtual Real | estimate_dfunc (Real const r) const |
| | Estimates the derivative of this function at a given radius by calculating the slope of the secant line from func(r) and func(r+1e-05). More...
|
| |
| virtual Real | estimate_dfunc (Real const r, Real const h) const |
| | Estimates the derivative of this function at a given radius by calculating the slope of the secant line from func(r) and func(r+h). More...
|
| |
| virtual void | show (std::ostream &out) const |
| | Prints out space-delimited columns for r, func, dfunc and dfunc_est. The values for func, dfunc and dfunc_est are plotted as a function of r, which is varied from 2-20 in steps of 0.5. The value for dfunc_est is the estimated by the method estimate_dfunc( r ). More...
|
| |
| core::scoring::func::LinearPenaltyFunction::LinearPenaltyFunction |
( |
Real const |
x_middle, |
|
|
Real const |
well_depth, |
|
|
Real const |
half_width, |
|
|
Real const |
slope |
|
) |
| |
|
inline |
| FuncOP core::scoring::func::LinearPenaltyFunction::clone |
( |
| ) |
const |
|
inlinevirtual |
| Real core::scoring::func::LinearPenaltyFunction::dfunc |
( |
Real const |
const | ) |
const |
|
virtual |
Returns a value representing the derivative of this function evaluated at a given point.
Implements core::scoring::func::Func.
| Real core::scoring::func::LinearPenaltyFunction::func |
( |
Real const |
const | ) |
const |
|
virtual |
| Real core::scoring::func::LinearPenaltyFunction::get_half_width |
( |
| ) |
const |
|
inline |
| Real core::scoring::func::LinearPenaltyFunction::get_slope |
( |
| ) |
const |
|
inline |
| Real core::scoring::func::LinearPenaltyFunction::get_well_depth |
( |
| ) |
const |
|
inline |
| Real core::scoring::func::LinearPenaltyFunction::get_x_middle |
( |
| ) |
const |
|
inline |
| void core::scoring::func::LinearPenaltyFunction::read_data |
( |
std::istream & |
| ) |
|
|
virtual |
| void core::scoring::func::LinearPenaltyFunction::set_half_width |
( |
Real |
half_width | ) |
|
|
inline |
| void core::scoring::func::LinearPenaltyFunction::set_slope |
( |
Real |
slope | ) |
|
|
inline |
| void core::scoring::func::LinearPenaltyFunction::set_well_depth |
( |
Real |
well_depth | ) |
|
|
inline |
| void core::scoring::func::LinearPenaltyFunction::set_x_middle |
( |
Real |
x | ) |
|
|
inline |
| void core::scoring::func::LinearPenaltyFunction::show_definition |
( |
std::ostream & |
out | ) |
const |
|
virtual |
| Size core::scoring::func::LinearPenaltyFunction::show_violations |
( |
std::ostream & |
out, |
|
|
Real |
r, |
|
|
Size |
verbose_level, |
|
|
core::Real |
threshold = 1 |
|
) |
| const |
|
virtual |
| Real core::scoring::func::LinearPenaltyFunction::half_width_ |
|
private |
| Real core::scoring::func::LinearPenaltyFunction::slope_ |
|
private |
| Real core::scoring::func::LinearPenaltyFunction::well_depth_ |
|
private |
| Real core::scoring::func::LinearPenaltyFunction::x_middle_ |
|
private |
The documentation for this class was generated from the following files: