Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
protocols::simple_filters::ConstraintScoreCutoffFilter Class Reference

#include <ConstraintScoreCutoffFilter.hh>

Inheritance diagram for protocols::simple_filters::ConstraintScoreCutoffFilter:
Inheritance graph
[legend]
Collaboration diagram for protocols::simple_filters::ConstraintScoreCutoffFilter:
Collaboration graph
[legend]

Public Types

typedef protocols::filters::Filter parent
 

Public Member Functions

 ConstraintScoreCutoffFilter ()
 c-tor and More...
 
 ConstraintScoreCutoffFilter (core::Real cutoff_in)
 
filters::FilterOP clone () const
 
filters::FilterOP fresh_instance () const
 
virtual void report (std::ostream &ostr, core::pose::Pose const &pose) const
 
void parse_my_tag (utility::tag::TagPtr const tag, protocols::moves::DataMap &, filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 
virtual bool apply (core::pose::Pose const &pose) const
 Returns true if the given pose passes the filter, false otherwise. In this case, the test is the result of the following comparison: sc <= cutoff Where cutoff is the cutoff set for this filter, and sc is the value of the ScoreType from the Pose Energies object. More...
 
void set_cutoff (core::Real cutoff_in)
 
void set_cutoff (core::pose::Pose const &pose)
 
core::Real cutoff () const
 
void set_constraints (core::scoring::constraints::ConstraintCOPs cst_in)
 
void set_score_type (core::scoring::ScoreType scotype)
 
core::Real get_score (core::pose::Pose const &pose) const
 
virtual std::string name () const
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 Filter (Filter const &)
 
virtual ~Filter ()
 
virtual core::Real report_sm (core::pose::Pose const &) const
 used to report filter internals through a score or silent file More...
 
virtual std::string get_type () const
 
std::string get_user_defined_name () const
 
void set_user_defined_name (std::string const &name)
 
virtual void clear ()
 used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More...
 
virtual void apply (core::io::serialization::PipeMap &pmap)
 
virtual void score (core::io::serialization::PipeMap &pmap)
 
virtual core::Real score (core::pose::Pose &pose)
 
virtual void parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks)
 

Private Attributes

core::scoring::ScoreType score_type_
 
core::Real cutoff_
 
core::scoring::constraints::ConstraintCOPs constraints_
 

Additional Inherited Members

- Protected Attributes inherited from protocols::filters::Filter
std::string scorename_
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::simple_filters::ConstraintScoreCutoffFilter::ConstraintScoreCutoffFilter ( )
protocols::simple_filters::ConstraintScoreCutoffFilter::ConstraintScoreCutoffFilter ( core::Real  cutoff_in)

Member Function Documentation

bool protocols::simple_filters::ConstraintScoreCutoffFilter::apply ( core::pose::Pose const &  pose) const
virtual

Returns true if the given pose passes the filter, false otherwise. In this case, the test is the result of the following comparison: sc <= cutoff Where cutoff is the cutoff set for this filter, and sc is the value of the ScoreType from the Pose Energies object.

Implements protocols::filters::Filter.

References cutoff(), protocols::jd2::get_current_job(), get_score(), and protocols::filters::Filter::get_user_defined_name().

filters::FilterOP protocols::simple_filters::ConstraintScoreCutoffFilter::clone ( ) const
inlinevirtual
core::Real protocols::simple_filters::ConstraintScoreCutoffFilter::cutoff ( ) const
inline

References cutoff_.

Referenced by apply().

filters::FilterOP protocols::simple_filters::ConstraintScoreCutoffFilter::fresh_instance ( ) const
inlinevirtual
core::Real protocols::simple_filters::ConstraintScoreCutoffFilter::get_score ( core::pose::Pose const &  pose) const
virtual std::string protocols::simple_filters::ConstraintScoreCutoffFilter::name ( ) const
inlinevirtual

Reimplemented from protocols::filters::Filter.

void protocols::simple_filters::ConstraintScoreCutoffFilter::parse_my_tag ( utility::tag::TagPtr const  tag,
protocols::moves::DataMap ,
filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &   
)
virtual
void protocols::simple_filters::ConstraintScoreCutoffFilter::report ( std::ostream &  ostr,
core::pose::Pose const &  pose 
) const
virtual

Reimplemented from protocols::filters::Filter.

void protocols::simple_filters::ConstraintScoreCutoffFilter::set_constraints ( core::scoring::constraints::ConstraintCOPs  cst_in)
void protocols::simple_filters::ConstraintScoreCutoffFilter::set_cutoff ( core::Real  cutoff_in)
inline

References cutoff_.

void protocols::simple_filters::ConstraintScoreCutoffFilter::set_cutoff ( core::pose::Pose const &  pose)
inline

References cutoff_, and get_score().

void protocols::simple_filters::ConstraintScoreCutoffFilter::set_score_type ( core::scoring::ScoreType  scotype)

Member Data Documentation

core::scoring::constraints::ConstraintCOPs protocols::simple_filters::ConstraintScoreCutoffFilter::constraints_
private

Referenced by get_score(), and set_constraints().

core::Real protocols::simple_filters::ConstraintScoreCutoffFilter::cutoff_
private

Referenced by cutoff(), parse_my_tag(), and set_cutoff().

core::scoring::ScoreType protocols::simple_filters::ConstraintScoreCutoffFilter::score_type_
private

Referenced by get_score(), and set_score_type().


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