Rosetta
|
simply take a list of filters and combine them using the operation above More...
#include <OperatorFilter.hh>
Public Member Functions | |
Operator () | |
~Operator () override | |
filters::FilterOP | clone () const override |
filters::FilterOP | fresh_instance () const override |
bool | apply (core::pose::Pose const &pose) const override |
Returns true if the given pose passes the filter, false otherwise. More... | |
void | report (std::ostream &out, core::pose::Pose const &pose) const override |
core::Real | report_sm (core::pose::Pose const &pose) const override |
used to report filter internals through a score or silent file More... | |
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... | |
core::Real | compute (core::pose::Pose const &pose) const |
utility::vector1< protocols::filters::FilterOP > | filters () const |
void | add_filter (protocols::filters::FilterOP f) |
void | reset_baseline (core::pose::Pose const &pose, bool const attempt_read_from_checkpoint) |
core::Real | threshold () const |
goes over Sigmoid filters and resets them. Note that this is nonconst, and cannot be called from apply More... | |
void | threshold (core::Real const t) |
Operation | operation () const |
void | operation (Operation const o) |
void | negate (bool const b) |
bool | negate () const |
utility::vector1< std::string > | relative_pose_names () |
void | relative_pose_names (utility::vector1< std::string > const &s) |
bool | multi_relative () const |
void | multi_relative (bool const m) |
void | modify_relative_filters_pdb_names () |
bool | logarithm () const |
void | logarithm (bool const b) |
void | report_subvalues (bool const report) |
bool | report_subvalues () const |
std::string | name () const override |
![]() | |
Filter () | |
Filter (std::string const &) | |
~Filter () override | |
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) |
static void | attributes (utility::tag::AttributeList &attlist) |
Private Attributes | |
utility::vector1< protocols::filters::FilterOP > | filters_ |
Operation | operation_ |
core::Real | threshold_ |
bool | negate_ |
utility::vector1< std::string > | relative_pose_names_ |
bool | multi_relative_ |
bool | logarithm_ |
bool | report_subvalues_ |
Additional Inherited Members | |
![]() | |
std::string | scorename_ |
simply take a list of filters and combine them using the operation above
protocols::calc_taskop_filters::Operator::Operator | ( | ) |
References filters_.
|
overridedefault |
void protocols::calc_taskop_filters::Operator::add_filter | ( | protocols::filters::FilterOP | f | ) |
References filters_.
Referenced by modify_relative_filters_pdb_names(), and parse_my_tag().
|
overridevirtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
References compute(), negate(), threshold(), protocols::calc_taskop_filters::TR(), and protocols::hybridization::val.
|
static |
|
static |
Referenced by protocols::calc_taskop_filters::OperatorFilterCreator::keyname(), name(), and provide_xml_schema().
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
core::Real protocols::calc_taskop_filters::Operator::compute | ( | core::pose::Pose const & | pose | ) | const |
References protocols::calc_taskop_filters::ABS, protocols::calc_taskop_filters::BOOLEAN_OR, filters(), logarithm(), protocols::calc_taskop_filters::MAX, protocols::calc_taskop_filters::MIN, negate(), protocols::calc_taskop_filters::NORMALIZED_SUM, operation(), protocols::calc_taskop_filters::PRODUCT, report_sm(), protocols::calc_taskop_filters::SUBTRACT, protocols::calc_taskop_filters::SUM, protocols::calc_taskop_filters::TR(), protocols::hybridization::val, and protocols::calc_taskop_filters::XOR.
Referenced by apply(), report(), and report_sm().
utility::vector1< protocols::filters::FilterOP > protocols::calc_taskop_filters::Operator::filters | ( | ) | const |
References filters_.
Referenced by compute(), and reset_baseline().
|
inlineoverridevirtual |
Implements protocols::filters::Filter.
|
inline |
References logarithm_.
Referenced by compute(), and parse_my_tag().
|
inline |
References protocols::match::upstream::b, and logarithm_.
void protocols::calc_taskop_filters::Operator::modify_relative_filters_pdb_names | ( | ) |
References add_filter(), filters_, relative_pose_names_, and protocols::calc_taskop_filters::TR().
Referenced by parse_my_tag().
|
inline |
References multi_relative_.
Referenced by parse_my_tag().
|
inline |
References multi_relative_.
|
overridevirtual |
Reimplemented from protocols::filters::Filter.
References class_name().
|
inline |
References negate_.
Referenced by apply(), compute(), and parse_my_tag().
|
inline |
References protocols::match::upstream::b, and negate_.
|
inline |
References operation_.
Referenced by compute(), and parse_my_tag().
|
inline |
References operation_.
|
overridevirtual |
Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing.
Reimplemented from protocols::filters::Filter.
References protocols::calc_taskop_filters::ABS, add_filter(), protocols::calc_taskop_filters::BOOLEAN_OR, filters_, logarithm(), protocols::calc_taskop_filters::MAX, protocols::calc_taskop_filters::MIN, modify_relative_filters_pdb_names(), multi_relative(), negate(), protocols::calc_taskop_filters::NORMALIZED_SUM, operation(), protocols::rosetta_scripts::parse_filter(), protocols::calc_taskop_filters::PRODUCT, relative_pose_names_, report_subvalues(), protocols::calc_taskop_filters::SUBTRACT, protocols::calc_taskop_filters::SUM, threshold(), protocols::calc_taskop_filters::TR(), and protocols::calc_taskop_filters::XOR.
|
static |
|
inline |
References relative_pose_names_.
|
inline |
References relative_pose_names_.
|
overridevirtual |
Reimplemented from protocols::filters::Filter.
References compute(), and protocols::hybridization::val.
Referenced by report_subvalues().
|
overridevirtual |
used to report filter internals through a score or silent file
Reimplemented from protocols::filters::Filter.
References protocols::jd2::add_string_real_pair_to_current_job(), compute(), filters_, report_subvalues(), protocols::calc_taskop_filters::TR(), and protocols::hybridization::val.
Referenced by compute().
|
inline |
References report_subvalues_.
Referenced by parse_my_tag(), and report_sm().
|
inline |
References report(), and report_subvalues_.
void protocols::calc_taskop_filters::Operator::reset_baseline | ( | core::pose::Pose const & | pose, |
bool const | attempt_read_from_checkpoint | ||
) |
References filters(), and protocols::calc_taskop_filters::TR().
|
inline |
goes over Sigmoid filters and resets them. Note that this is nonconst, and cannot be called from apply
References threshold_.
Referenced by apply(), and parse_my_tag().
|
inline |
References protocols::hybridization::t, and threshold_.
|
private |
Referenced by add_filter(), filters(), modify_relative_filters_pdb_names(), Operator(), parse_my_tag(), and report_sm().
|
private |
Referenced by logarithm().
|
private |
Referenced by multi_relative().
|
private |
Referenced by negate().
|
private |
Referenced by operation().
|
private |
Referenced by modify_relative_filters_pdb_names(), parse_my_tag(), and relative_pose_names().
|
private |
Referenced by report_subvalues().
|
private |
Referenced by threshold().