Rosetta Protocols  2014.35
Public Types | Public Member Functions | Private Attributes | List of all members
protocols::simple_filters::ScoreCutoffFilter Class Reference

#include <ScoreCutoffFilter.hh>

Public Types

typedef protocols::filters::Filter parent
 

Public Member Functions

 ScoreCutoffFilter ()
 c-tor and More...
 
 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::TagCOP tag, basic::datacache::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 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
 
- 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::Real cutoff_
 
bool report_residue_pair_energies_
 
bool pdb_numbering_
 
utility::vector1
< core::scoring::ScoreType
score_types_
 
utility::vector1< core::Sizepositions_
 
bool total_score_
 
bool unweighted_
 

Additional Inherited Members

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

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

Referenced by protocols::docking::DockingHighResFilter::apply().

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

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::TagCOP  tag,
basic::datacache::DataMap ,
filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &   
)
virtual
void protocols::simple_filters::ScoreCutoffFilter::report ( std::ostream &  ostr,
core::pose::Pose const &  pose 
) const
virtual
void protocols::simple_filters::ScoreCutoffFilter::set_cutoff ( core::Real  cutoff_in)
inline
void protocols::simple_filters::ScoreCutoffFilter::set_cutoff ( core::pose::Pose const &  pose)
inline

References cutoff_, and get_score().

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)
void protocols::simple_filters::ScoreCutoffFilter::set_unweighted ( bool  init)
inline

Member Data Documentation

core::Real protocols::simple_filters::ScoreCutoffFilter::cutoff_
private
bool protocols::simple_filters::ScoreCutoffFilter::pdb_numbering_
private
utility::vector1< core::Size > protocols::simple_filters::ScoreCutoffFilter::positions_
private
bool protocols::simple_filters::ScoreCutoffFilter::report_residue_pair_energies_
private

Referenced by parse_my_tag(), and report().

utility::vector1< core::scoring::ScoreType > protocols::simple_filters::ScoreCutoffFilter::score_types_
private
bool protocols::simple_filters::ScoreCutoffFilter::total_score_
private

Referenced by add_score_type(), and get_score().

bool protocols::simple_filters::ScoreCutoffFilter::unweighted_
private

Referenced by get_score(), and set_unweighted().


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