![]() |
Rosetta
2015.31
|
#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 |
![]() | |
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::Size > | positions_ |
bool | total_score_ |
bool | unweighted_ |
Additional Inherited Members | |
![]() | |
std::string | scorename_ |
protocols::simple_filters::ScoreCutoffFilter::ScoreCutoffFilter | ( | ) |
c-tor and
References positions_, score_types_, and core::scoring::total_score.
Referenced by clone(), and fresh_instance().
protocols::simple_filters::ScoreCutoffFilter::ScoreCutoffFilter | ( | core::Real | cutoff_in | ) |
References positions_, score_types_, and core::scoring::total_score.
void protocols::simple_filters::ScoreCutoffFilter::add_score_type | ( | core::scoring::ScoreType | scotype | ) |
References score_types_, core::scoring::total_score, total_score_, and protocols::simple_filters::tr().
Referenced by set_score_type().
|
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().
|
inlinevirtual |
Implements protocols::filters::Filter.
References ScoreCutoffFilter().
|
inline |
|
inlinevirtual |
Implements protocols::filters::Filter.
References ScoreCutoffFilter().
core::Real protocols::simple_filters::ScoreCutoffFilter::get_score | ( | core::pose::Pose const & | pose | ) | const |
References core::pose::Pose::energies(), positions_, core::scoring::Energies::residue_total_energies(), score_types_, core::scoring::EMapVector::sum(), core::scoring::Energies::total_energies(), core::scoring::total_score, total_score_, unweighted_, and core::scoring::Energies::weights().
Referenced by apply(), and set_cutoff().
|
inlinevirtual |
Reimplemented from protocols::filters::Filter.
void protocols::simple_filters::ScoreCutoffFilter::output_residue_pair_energies | ( | std::ostream & | ostr, |
core::pose::Pose const & | pose | ||
) | const |
References protocols::comparative_modeling::features::A, core::pose::Pose::energies(), core::scoring::Energies::energy_graph(), core::chemical::element::F, core::scoring::Energies::long_range_container(), core::scoring::methods::n_long_range_types, core::scoring::n_score_types, core::scoring::n_shortranged_2b_score_types, core::chemical::ResidueType::name1(), core::scoring::name_from_score_type(), core::pose::Pose::pdb_info(), pdb_numbering_, core::pose::Pose::residue_type(), protocols::filters::Filter::score(), core::id::to_string(), core::pose::Pose::total_residue(), and core::scoring::Energies::weights().
Referenced by report().
|
virtual |
Reimplemented from protocols::filters::Filter.
References cutoff_, pdb_numbering_, and report_residue_pair_energies_.
|
virtual |
|
inline |
References cutoff_.
|
inline |
References cutoff_, and get_score().
|
inline |
References positions_.
void protocols::simple_filters::ScoreCutoffFilter::set_score_type | ( | core::scoring::ScoreType | scotype | ) |
References add_score_type(), and score_types_.
|
inline |
References core::init::init(), and unweighted_.
|
private |
Referenced by cutoff(), parse_my_tag(), report(), and set_cutoff().
|
private |
Referenced by output_residue_pair_energies(), and parse_my_tag().
|
private |
Referenced by get_score(), ScoreCutoffFilter(), and set_positions().
|
private |
Referenced by parse_my_tag(), and report().
|
private |
Referenced by add_score_type(), get_score(), report(), ScoreCutoffFilter(), and set_score_type().
|
private |
Referenced by add_score_type(), and get_score().
|
private |
Referenced by get_score(), and set_unweighted().