Rosetta
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
protocols::score_filters::ScoreCutoffFilter Class Reference

#include <ScoreCutoffFilter.hh>

Inheritance diagram for protocols::score_filters::ScoreCutoffFilter:
Inheritance graph
[legend]

Public Types

typedef protocols::filters::Filter parent
 

Public Member Functions

 ScoreCutoffFilter ()
 c-tor and More...
 
 ScoreCutoffFilter (core::Real cutoff_in)
 
filters::FilterOP clone () const override
 
filters::FilterOP fresh_instance () const override
 
void report (std::ostream &ostr, core::pose::Pose const &pose) const override
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override
 Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing. More...
 
bool apply (core::pose::Pose const &pose) const override
 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
 
void output_residue_pair_energies (std::ostream &ostr, core::pose::Pose const &pose) const
 
std::string name () const override
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 ~Filter () override
 
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 core::Real score (core::pose::Pose &pose)
 
virtual void provide_citation_info (basic::citation_manager::CitationCollectionList &) const
 Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More...
 

Static Public Member Functions

static std::string class_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

Private Attributes

core::Real cutoff_
 
bool report_residue_pair_energies_
 
bool pdb_numbering_
 
utility::vector1< core::scoring::ScoreTypescore_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

◆ parent

Constructor & Destructor Documentation

◆ ScoreCutoffFilter() [1/2]

protocols::score_filters::ScoreCutoffFilter::ScoreCutoffFilter ( )

c-tor and

References positions_, score_types_, and core::scoring::total_score.

◆ ScoreCutoffFilter() [2/2]

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

Member Function Documentation

◆ add_score_type()

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

◆ apply()

bool protocols::score_filters::ScoreCutoffFilter::apply ( core::pose::Pose const &  pose) const
overridevirtual

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

◆ class_name()

std::string protocols::score_filters::ScoreCutoffFilter::class_name ( )
static

◆ clone()

filters::FilterOP protocols::score_filters::ScoreCutoffFilter::clone ( ) const
inlineoverridevirtual

◆ cutoff()

core::Real protocols::score_filters::ScoreCutoffFilter::cutoff ( ) const
inline

References cutoff_.

Referenced by apply().

◆ fresh_instance()

filters::FilterOP protocols::score_filters::ScoreCutoffFilter::fresh_instance ( ) const
inlineoverridevirtual

◆ get_score()

core::Real protocols::score_filters::ScoreCutoffFilter::get_score ( core::pose::Pose const &  pose) const

◆ name()

std::string protocols::score_filters::ScoreCutoffFilter::name ( ) const
overridevirtual

Reimplemented from protocols::filters::Filter.

References class_name().

◆ output_residue_pair_energies()

void protocols::score_filters::ScoreCutoffFilter::output_residue_pair_energies ( std::ostream &  ostr,
core::pose::Pose const &  pose 
) const

◆ parse_my_tag()

void protocols::score_filters::ScoreCutoffFilter::parse_my_tag ( utility::tag::TagCOP  ,
basic::datacache::DataMap  
)
overridevirtual

Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing.

Reimplemented from protocols::filters::Filter.

References cutoff_, pdb_numbering_, and report_residue_pair_energies_.

◆ provide_xml_schema()

void protocols::score_filters::ScoreCutoffFilter::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ report()

void protocols::score_filters::ScoreCutoffFilter::report ( std::ostream &  ostr,
core::pose::Pose const &  pose 
) const
overridevirtual

◆ set_cutoff() [1/2]

void protocols::score_filters::ScoreCutoffFilter::set_cutoff ( core::pose::Pose const &  pose)
inline

References cutoff_, and get_score().

◆ set_cutoff() [2/2]

void protocols::score_filters::ScoreCutoffFilter::set_cutoff ( core::Real  cutoff_in)
inline

References cutoff_.

◆ set_positions()

void protocols::score_filters::ScoreCutoffFilter::set_positions ( utility::vector1< core::Size > const &  positions)
inline

References positions_.

◆ set_score_type()

void protocols::score_filters::ScoreCutoffFilter::set_score_type ( core::scoring::ScoreType  scotype)

References add_score_type(), and score_types_.

◆ set_unweighted()

void protocols::score_filters::ScoreCutoffFilter::set_unweighted ( bool  init)
inline

References core::init::init(), and unweighted_.

Member Data Documentation

◆ cutoff_

core::Real protocols::score_filters::ScoreCutoffFilter::cutoff_
private

◆ pdb_numbering_

bool protocols::score_filters::ScoreCutoffFilter::pdb_numbering_
private

◆ positions_

utility::vector1< core::Size > protocols::score_filters::ScoreCutoffFilter::positions_
private

◆ report_residue_pair_energies_

bool protocols::score_filters::ScoreCutoffFilter::report_residue_pair_energies_
private

Referenced by parse_my_tag(), and report().

◆ score_types_

utility::vector1< core::scoring::ScoreType > protocols::score_filters::ScoreCutoffFilter::score_types_
private

◆ total_score_

bool protocols::score_filters::ScoreCutoffFilter::total_score_
private

Referenced by add_score_type(), and get_score().

◆ unweighted_

bool protocols::score_filters::ScoreCutoffFilter::unweighted_
private

Referenced by get_score(), and set_unweighted().


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