Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
core::scoring::func::Func Class Referenceabstract

Func is an abstract base class representing a function used to define constraints, in which func(r) gives the constraint score for the given value r. More...

#include <Func.hh>

Inherits VirtualBase.

Inherited by core::scoring::constraints::BoundFunc, core::scoring::custom_pair_distance::DistanceFunc, core::scoring::disulfides::CaCbCb_Angle_Func, core::scoring::disulfides::CaCbCbCa_Dihedral_Func, core::scoring::disulfides::CB_Angle_Func, core::scoring::disulfides::Cb_Distance_Func, core::scoring::disulfides::CBSG_Dihedral_Func, core::scoring::disulfides::Cen_Distance_Func, core::scoring::disulfides::NCaCaC_Dihedral_Func, core::scoring::disulfides::SG_Dist_Func, core::scoring::disulfides::SGSG_Dihedral_Func, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::CircularGeneral1D_Func, core::scoring::func::CircularHarmonicFunc, core::scoring::func::CircularPowerFunc, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::ConstantFunc, core::scoring::func::CountViolFunc, core::scoring::func::EtableFunc, core::scoring::func::FadeFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::GaussianFunc, core::scoring::func::HarmonicFunc, core::scoring::func::IdentityFunc, core::scoring::func::KarplusFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::MixtureFunc, core::scoring::func::PeriodicFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::func::SigmoidFunc, core::scoring::func::SkipViolFunc, core::scoring::func::SmoothStepFunc, core::scoring::func::SoedingFunc, core::scoring::func::SOGFunc, core::scoring::func::SplineFunc, core::scoring::func::SquareWell2Func, core::scoring::func::SquareWellFunc, core::scoring::func::SumFunc, core::scoring::func::TopOutFunc, core::scoring::func::USOGFunc, core::scoring::methods::LK_SigmoidalFunc, and protocols::jumping::ChainbreakDistFunc.

Public Member Functions

 ~Func () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
virtual FuncOP clone () const =0
 This method must return a deep copy of this Func, meaning if this Func holds pointers to other Func objects, that it must clone those Func objects as well. More...
 
virtual bool operator== (Func const &other) const =0
 Equality operator. Looks for strict equality. Floating-point comparison is the rule rather than the exception. More...
 
bool operator!= (Func const &other) const
 inequality operator – simply the negation of the (virtual) equality operator More...
 
virtual bool same_type_as_me (Func const &other) const =0
 Does the input Func, "other", have the same type as me? Necessary for the equality operator to function correctly. All derived Func classes must implement this function. More...
 
virtual void read_data (std::istream &)
 initialize this Func from the given std::istream. More...
 
virtual Real func (Real const ) const =0
 Returns a value representing this function evaluated at a given point. More...
 
virtual Real dfunc (Real const ) const =0
 Returns a value representing the derivative of this function evaluated at a given point. 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...
 
virtual 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...
 
virtual Size show_violations (std::ostream &out, Real r, Size verbose_level, Real threshold=1) const
 show some sort of stringified representation of the violations for this constraint. More...
 

Detailed Description

Func is an abstract base class representing a function used to define constraints, in which func(r) gives the constraint score for the given value r.

Constructor & Destructor Documentation

core::scoring::func::Func::~Func ( )
overridedefault

Automatically generated virtual destructor for class deriving directly from VirtualBase.

Auto-generated virtual destructor

Member Function Documentation

virtual FuncOP core::scoring::func::Func::clone ( ) const
pure virtual

This method must return a deep copy of this Func, meaning if this Func holds pointers to other Func objects, that it must clone those Func objects as well.

Implemented in core::scoring::disulfides::SG_Dist_Func, core::scoring::custom_pair_distance::DistanceFunc, core::scoring::disulfides::CB_Angle_Func, core::scoring::disulfides::CaCbCbCa_Dihedral_Func, core::scoring::disulfides::SGSG_Dihedral_Func, core::scoring::disulfides::NCaCaC_Dihedral_Func, core::scoring::disulfides::CaCbCb_Angle_Func, core::scoring::disulfides::CBSG_Dihedral_Func, core::scoring::disulfides::Cen_Distance_Func, core::scoring::disulfides::Cb_Distance_Func, core::scoring::constraints::OffsetPeriodicBoundFunc, core::scoring::constraints::PeriodicBoundFunc, core::scoring::methods::LK_SigmoidalFunc, core::scoring::func::MixtureFunc, core::scoring::func::SplineFunc, core::scoring::func::FadeFunc, protocols::jumping::ChainbreakDistFunc, core::scoring::func::USOGFunc, core::scoring::func::EtableFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::SumFunc, core::scoring::func::CountViolFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::func::GaussianFunc, core::scoring::func::SOGFunc, core::scoring::func::SkipViolFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::ConstantFunc, core::scoring::func::SmoothStepFunc, core::scoring::constraints::BoundFunc, core::scoring::func::CircularGeneral1D_Func, core::scoring::func::CircularHarmonicFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::PeriodicFunc, core::scoring::func::SquareWell2Func, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::SquareWellFunc, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::KarplusFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::SoedingFunc, core::scoring::func::CircularPowerFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::SigmoidFunc, core::scoring::func::TopOutFunc, and core::scoring::func::IdentityFunc.

Referenced by core::scoring::constraints::AmbiguousNMRConstraint::remap_resid(), and core::scoring::constraints::NamedAtomPairConstraint::remapped_clone().

virtual Real core::scoring::func::Func::dfunc ( Real  const) const
pure virtual

Returns a value representing the derivative of this function evaluated at a given point.

Implemented in core::scoring::disulfides::SG_Dist_Func, core::scoring::custom_pair_distance::DistanceFunc, core::scoring::disulfides::CB_Angle_Func, core::scoring::disulfides::CaCbCbCa_Dihedral_Func, core::scoring::disulfides::SGSG_Dihedral_Func, core::scoring::disulfides::NCaCaC_Dihedral_Func, core::scoring::disulfides::CBSG_Dihedral_Func, core::scoring::disulfides::CaCbCb_Angle_Func, core::scoring::disulfides::Cen_Distance_Func, core::scoring::disulfides::Cb_Distance_Func, core::scoring::constraints::OffsetPeriodicBoundFunc, core::scoring::func::SplineFunc, core::scoring::constraints::PeriodicBoundFunc, core::scoring::func::MixtureFunc, core::scoring::func::FadeFunc, protocols::jumping::ChainbreakDistFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::EtableFunc, core::scoring::func::USOGFunc, core::scoring::func::GaussianFunc, core::scoring::func::SOGFunc, core::scoring::func::SumFunc, core::scoring::func::CountViolFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::constraints::BoundFunc, core::scoring::func::ConstantFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::SkipViolFunc, core::scoring::func::SmoothStepFunc, core::scoring::func::CircularGeneral1D_Func, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::SoedingFunc, core::scoring::func::CircularHarmonicFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::PeriodicFunc, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::SquareWell2Func, core::scoring::func::CircularPowerFunc, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::KarplusFunc, core::scoring::func::SquareWellFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::IdentityFunc, core::scoring::func::SigmoidFunc, and core::scoring::func::TopOutFunc.

Referenced by show().

Real core::scoring::func::Func::estimate_dfunc ( Real const  r) const
virtual

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).

Referenced by show().

Real core::scoring::func::Func::estimate_dfunc ( Real const  r,
Real const  h 
) const
virtual

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).

References func().

virtual Real core::scoring::func::Func::func ( Real  const) const
pure virtual

Returns a value representing this function evaluated at a given point.

Implemented in core::scoring::disulfides::SG_Dist_Func, core::scoring::custom_pair_distance::DistanceFunc, core::scoring::disulfides::CB_Angle_Func, core::scoring::disulfides::CaCbCbCa_Dihedral_Func, core::scoring::disulfides::SGSG_Dihedral_Func, core::scoring::disulfides::NCaCaC_Dihedral_Func, core::scoring::disulfides::CBSG_Dihedral_Func, core::scoring::disulfides::CaCbCb_Angle_Func, core::scoring::disulfides::Cen_Distance_Func, core::scoring::disulfides::Cb_Distance_Func, core::scoring::constraints::OffsetPeriodicBoundFunc, core::scoring::func::SplineFunc, core::scoring::constraints::PeriodicBoundFunc, core::scoring::func::MixtureFunc, core::scoring::func::FadeFunc, protocols::jumping::ChainbreakDistFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::EtableFunc, core::scoring::func::USOGFunc, core::scoring::func::SumFunc, core::scoring::func::CountViolFunc, core::scoring::func::GaussianFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::func::SOGFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::constraints::BoundFunc, core::scoring::func::ConstantFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::SkipViolFunc, core::scoring::func::SmoothStepFunc, core::scoring::func::CircularGeneral1D_Func, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::CircularHarmonicFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::PeriodicFunc, core::scoring::func::SoedingFunc, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::SquareWell2Func, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::KarplusFunc, core::scoring::func::SquareWellFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::CircularPowerFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::IdentityFunc, core::scoring::func::SigmoidFunc, and core::scoring::func::TopOutFunc.

Referenced by estimate_dfunc(), core::scoring::constraints::AmbiguousNMRConstraint::score(), protocols::sic_dock::ConstraintSetScore::score(), show(), and show_violations().

bool core::scoring::func::Func::operator!= ( Func const &  other) const

inequality operator – simply the negation of the (virtual) equality operator

virtual bool core::scoring::func::Func::operator== ( Func const &  other) const
pure virtual

Equality operator. Looks for strict equality. Floating-point comparison is the rule rather than the exception.

Implemented in core::scoring::custom_pair_distance::DistanceFunc, core::scoring::methods::LK_SigmoidalFunc, core::scoring::func::MixtureFunc, core::scoring::func::SplineFunc, core::scoring::func::FadeFunc, protocols::jumping::ChainbreakDistFunc, core::scoring::func::EtableFunc, core::scoring::func::USOGFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::SumFunc, core::scoring::func::CountViolFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::func::GaussianFunc, core::scoring::func::SOGFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::SkipViolFunc, core::scoring::func::ConstantFunc, core::scoring::func::SmoothStepFunc, core::scoring::func::CircularGeneral1D_Func, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::CircularHarmonicFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::PeriodicFunc, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::SquareWell2Func, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::KarplusFunc, core::scoring::func::SquareWellFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::SoedingFunc, core::scoring::func::CircularPowerFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::IdentityFunc, core::scoring::func::SigmoidFunc, and core::scoring::func::TopOutFunc.

void core::scoring::func::Func::read_data ( std::istream &  )
virtual

initialize this Func from the given std::istream.

Reimplemented in core::scoring::constraints::OffsetPeriodicBoundFunc, core::scoring::func::MixtureFunc, core::scoring::func::SplineFunc, core::scoring::constraints::PeriodicBoundFunc, core::scoring::func::SOGFunc, core::scoring::func::GaussianFunc, core::scoring::func::EtableFunc, core::scoring::func::FadeFunc, core::scoring::func::USOGFunc, core::scoring::func::ConstantFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::SoedingFunc, core::scoring::func::SumFunc, core::scoring::func::CountViolFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::SkipViolFunc, core::scoring::func::SmoothStepFunc, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::CircularHarmonicFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::PeriodicFunc, core::scoring::constraints::BoundFunc, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::SquareWell2Func, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::KarplusFunc, core::scoring::func::SquareWellFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::IdentityFunc, core::scoring::func::SigmoidFunc, and core::scoring::func::TopOutFunc.

References core::scoring::func::tr().

virtual bool core::scoring::func::Func::same_type_as_me ( Func const &  other) const
pure virtual

Does the input Func, "other", have the same type as me? Necessary for the equality operator to function correctly. All derived Func classes must implement this function.

Implemented in core::scoring::custom_pair_distance::DistanceFunc, core::scoring::methods::LK_SigmoidalFunc, core::scoring::func::MixtureFunc, core::scoring::func::SplineFunc, core::scoring::func::FadeFunc, protocols::jumping::ChainbreakDistFunc, core::scoring::func::EtableFunc, core::scoring::func::USOGFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::SumFunc, core::scoring::func::CountViolFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::func::GaussianFunc, core::scoring::func::SOGFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::SkipViolFunc, core::scoring::func::ConstantFunc, core::scoring::func::SmoothStepFunc, core::scoring::func::CircularGeneral1D_Func, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::CircularHarmonicFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::PeriodicFunc, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::SquareWell2Func, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::KarplusFunc, core::scoring::func::SquareWellFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::SoedingFunc, core::scoring::func::CircularPowerFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::IdentityFunc, core::scoring::func::SigmoidFunc, and core::scoring::func::TopOutFunc.

Referenced by core::scoring::func::IdentityFunc::operator==(), core::scoring::func::TopOutFunc::operator==(), core::scoring::func::SigmoidFunc::operator==(), core::scoring::func::FlatHarmonicFunc::operator==(), core::scoring::func::HarmonicFunc::operator==(), core::scoring::func::CircularPowerFunc::operator==(), core::scoring::func::SoedingFunc::operator==(), core::scoring::func::MinMultiHarmonicFunc::operator==(), core::scoring::func::SquareWellFunc::operator==(), core::scoring::func::GaussianChainSingleFunc::operator==(), core::scoring::func::KarplusFunc::operator==(), core::scoring::func::GaussianChainQuadrupleFunc::operator==(), core::scoring::func::SquareWell2Func::operator==(), core::scoring::func::LinearPenaltyFunction::operator==(), core::scoring::func::GaussianChainDoubleFunc::operator==(), core::scoring::func::CharmmPeriodicFunc::operator==(), core::scoring::func::GaussianChainTripleFunc::operator==(), core::scoring::func::PeriodicFunc::operator==(), core::scoring::func::AmberPeriodicFunc::operator==(), core::scoring::func::GaussianChainGeneralFunc::operator==(), core::scoring::func::CircularHarmonicFunc::operator==(), core::scoring::func::CircularSigmoidalFunc::operator==(), core::scoring::func::CircularGeneral1D_Func::operator==(), core::scoring::func::SmoothStepFunc::operator==(), core::scoring::func::ConstantFunc::operator==(), core::scoring::func::GaussianChainFunc::operator==(), core::scoring::func::SkipViolFunc::operator==(), core::scoring::func::GaussianFunc::operator==(), core::scoring::func::SOGFunc::operator==(), core::scoring::func::ScalarWeightedFunc::operator==(), core::scoring::func::CountViolFunc::operator==(), core::scoring::func::SumFunc::operator==(), core::scoring::func::CircularSplineFunc::operator==(), core::scoring::func::USOGFunc::operator==(), core::scoring::func::EtableFunc::operator==(), protocols::jumping::ChainbreakDistFunc::operator==(), core::scoring::func::FadeFunc::operator==(), core::scoring::func::SplineFunc::operator==(), core::scoring::func::MixtureFunc::operator==(), core::scoring::methods::LK_SigmoidalFunc::operator==(), and core::scoring::custom_pair_distance::DistanceFunc::operator==().

void core::scoring::func::Func::show ( std::ostream &  out) const
virtual

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 ).

Reimplemented in core::scoring::func::MixtureFunc.

References protocols::comparative_modeling::features::A, dfunc(), core::sequence::end, estimate_dfunc(), core::chemical::element::F, func(), core::chemical::element::I, and protocols::loops::start.

Referenced by core::scoring::func::operator<<().

void core::scoring::func::Func::show_definition ( std::ostream &  out) const
virtual

shows the definition of this function, usually the string type of function and the parameters passed in to the constructor.

Reimplemented in core::scoring::constraints::OffsetPeriodicBoundFunc, core::scoring::func::SplineFunc, core::scoring::constraints::PeriodicBoundFunc, core::scoring::func::MixtureFunc, core::scoring::func::FadeFunc, core::scoring::func::USOGFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::CountViolFunc, core::scoring::func::EtableFunc, core::scoring::func::SOGFunc, core::scoring::func::GaussianFunc, core::scoring::func::ScalarWeightedFunc, core::scoring::func::SkipViolFunc, core::scoring::func::GaussianChainGeneralFunc, core::scoring::constraints::BoundFunc, core::scoring::func::ConstantFunc, core::scoring::func::GaussianChainFunc, core::scoring::func::SmoothStepFunc, core::scoring::func::CircularSigmoidalFunc, core::scoring::func::SoedingFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::CircularHarmonicFunc, core::scoring::func::GaussianChainTripleFunc, core::scoring::func::PeriodicFunc, core::scoring::func::GaussianChainDoubleFunc, core::scoring::func::GaussianChainQuadrupleFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::SquareWell2Func, core::scoring::func::GaussianChainSingleFunc, core::scoring::func::SquareWellFunc, core::scoring::func::KarplusFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::SigmoidFunc, core::scoring::func::IdentityFunc, and core::scoring::func::TopOutFunc.

Referenced by core::scoring::constraints::NamedAtomPairConstraint::read_def(), and core::scoring::constraints::NamedAtomPairConstraint::show_def_nopose().

Size core::scoring::func::Func::show_violations ( std::ostream &  out,
Real  r,
Size  verbose_level,
Real  threshold = 1 
) const
virtual

show some sort of stringified representation of the violations for this constraint.

Reimplemented in core::scoring::constraints::OffsetPeriodicBoundFunc, core::scoring::func::SplineFunc, core::scoring::constraints::PeriodicBoundFunc, core::scoring::func::FadeFunc, core::scoring::func::FlatHarmonicFunc, core::scoring::func::CircularSplineFunc, core::scoring::func::MinMultiHarmonicFunc, core::scoring::func::HarmonicFunc, core::scoring::func::CountViolFunc, core::scoring::func::LinearPenaltyFunction, core::scoring::func::ScalarWeightedFunc, core::scoring::func::SquareWell2Func, core::scoring::constraints::BoundFunc, core::scoring::func::SquareWellFunc, core::scoring::func::SkipViolFunc, core::scoring::func::TopOutFunc, core::scoring::func::AmberPeriodicFunc, core::scoring::func::CharmmPeriodicFunc, core::scoring::func::PeriodicFunc, core::scoring::func::IdentityFunc, and core::scoring::func::SigmoidFunc.

References func().

Referenced by core::scoring::func::SigmoidFunc::show_violations(), core::scoring::func::IdentityFunc::show_violations(), core::scoring::func::CharmmPeriodicFunc::show_violations(), core::scoring::func::PeriodicFunc::show_violations(), core::scoring::func::AmberPeriodicFunc::show_violations(), core::scoring::func::TopOutFunc::show_violations(), core::scoring::func::SquareWellFunc::show_violations(), core::scoring::func::SquareWell2Func::show_violations(), core::scoring::func::LinearPenaltyFunction::show_violations(), core::scoring::func::HarmonicFunc::show_violations(), core::scoring::func::MinMultiHarmonicFunc::show_violations(), core::scoring::func::CircularSplineFunc::show_violations(), core::scoring::func::FlatHarmonicFunc::show_violations(), core::scoring::func::FadeFunc::show_violations(), and core::scoring::func::SplineFunc::show_violations().


The documentation for this class was generated from the following files: