Rosetta 3.4
Public Types | Public Member Functions
protocols::simple_filters::ScoreCutoffFilter Class Reference

#include <ScoreCutoffFilter.hh>

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

List of all members.

Public Types

typedef protocols::filters::Filter parent

Public Member Functions

 ScoreCutoffFilter ()
 c-tor and
 ScoreCutoffFilter (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.
void set_cutoff (core::Real cutoff_in)
void set_cutoff (core::pose::Pose const &pose)
core::Real cutoff () const
void add_score_type (core::scoring::ScoreType scotype)
void set_score_type (core::scoring::ScoreType scotype)
void set_positions (utility::vector1< core::Size > const &positions)
void set_unweighted (bool init)
core::Real get_score (core::pose::Pose const &pose) const
virtual std::string name () const
void output_residue_pair_energies (std::ostream &ostr, core::pose::Pose const &pose) const

Member Typedef Documentation


Constructor & Destructor Documentation

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

Member Function Documentation

void protocols::simple_filters::ScoreCutoffFilter::add_score_type ( core::scoring::ScoreType  scotype)

References core::scoring::total_score, and tr().

Referenced by set_score_type().

bool protocols::simple_filters::ScoreCutoffFilter::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(), and get_score().

filters::FilterOP protocols::simple_filters::ScoreCutoffFilter::clone ( ) const [inline, virtual]
core::Real protocols::simple_filters::ScoreCutoffFilter::cutoff ( ) const [inline]

Referenced by apply().

filters::FilterOP protocols::simple_filters::ScoreCutoffFilter::fresh_instance ( ) const [inline, virtual]
core::Real protocols::simple_filters::ScoreCutoffFilter::get_score ( core::pose::Pose const &  pose) const
virtual std::string protocols::simple_filters::ScoreCutoffFilter::name ( ) const [inline, virtual]

Reimplemented from protocols::filters::Filter.

void protocols::simple_filters::ScoreCutoffFilter::output_residue_pair_energies ( std::ostream &  ostr,
core::pose::Pose const &  pose 
) const
void protocols::simple_filters::ScoreCutoffFilter::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]

Reimplemented from protocols::filters::Filter.

void protocols::simple_filters::ScoreCutoffFilter::report ( std::ostream &  ostr,
core::pose::Pose const &  pose 
) const [virtual]
void protocols::simple_filters::ScoreCutoffFilter::set_cutoff ( core::pose::Pose const &  pose) [inline]

References get_score().

void protocols::simple_filters::ScoreCutoffFilter::set_cutoff ( core::Real  cutoff_in) [inline]
void protocols::simple_filters::ScoreCutoffFilter::set_positions ( utility::vector1< core::Size > const &  positions) [inline]
void protocols::simple_filters::ScoreCutoffFilter::set_score_type ( core::scoring::ScoreType  scotype)

References add_score_type().

void protocols::simple_filters::ScoreCutoffFilter::set_unweighted ( bool  init) [inline]

References core::init().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines