Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
protocols::calc_taskop_filters::Operator Class Reference

simply take a list of filters and combine them using the operation above More...

#include <OperatorFilter.hh>

Inheritance diagram for protocols::calc_taskop_filters::Operator:
Inheritance graph
[legend]

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
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 Filter (Filter 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 bool filter_provides_citation_info () const
 Does this filter provide information about how to cite it? More...
 
virtual utility::vector1
< basic::citation_manager::CitationCollectionCOP > 
provide_citation_info () const
 Provide the citation. More...
 
virtual bool filter_is_unpublished () const
 Does this filter indicate that it is unpublished (and, by extension, that the author should be included in publications resulting from it)? More...
 
virtual utility::vector1
< basic::citation_manager::UnpublishedModuleInfoCOP > 
provide_authorship_info_for_unpublished () const
 Provide a list of authors and their e-mail addresses, as strings. 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

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

Detailed Description

simply take a list of filters and combine them using the operation above

Constructor & Destructor Documentation

protocols::calc_taskop_filters::Operator::Operator ( )

References filters_.

protocols::calc_taskop_filters::Operator::~Operator ( )
overridedefault

Member Function Documentation

void protocols::calc_taskop_filters::Operator::add_filter ( protocols::filters::FilterOP  f)
bool protocols::calc_taskop_filters::Operator::apply ( core::pose::Pose const &  pose) const
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.

void protocols::calc_taskop_filters::Operator::attributes ( utility::tag::AttributeList &  attlist)
static
std::string protocols::calc_taskop_filters::Operator::class_name ( )
static
filters::FilterOP protocols::calc_taskop_filters::Operator::clone ( ) const
inlineoverridevirtual
core::Real protocols::calc_taskop_filters::Operator::compute ( core::pose::Pose const &  pose) const
utility::vector1< protocols::filters::FilterOP > protocols::calc_taskop_filters::Operator::filters ( ) const

References filters_.

Referenced by compute(), and reset_baseline().

filters::FilterOP protocols::calc_taskop_filters::Operator::fresh_instance ( ) const
inlineoverridevirtual
bool protocols::calc_taskop_filters::Operator::logarithm ( ) const
inline

References logarithm_.

Referenced by compute(), and parse_my_tag().

void protocols::calc_taskop_filters::Operator::logarithm ( bool const  b)
inline
void protocols::calc_taskop_filters::Operator::modify_relative_filters_pdb_names ( )
bool protocols::calc_taskop_filters::Operator::multi_relative ( ) const
inline

References multi_relative_.

Referenced by parse_my_tag().

void protocols::calc_taskop_filters::Operator::multi_relative ( bool const  m)
inline

References multi_relative_.

std::string protocols::calc_taskop_filters::Operator::name ( ) const
overridevirtual

Reimplemented from protocols::filters::Filter.

References class_name().

void protocols::calc_taskop_filters::Operator::negate ( bool const  b)
inline
bool protocols::calc_taskop_filters::Operator::negate ( ) const
inline

References negate_.

Referenced by apply(), compute(), and parse_my_tag().

Operation protocols::calc_taskop_filters::Operator::operation ( ) const
inline

References operation_.

Referenced by compute(), and parse_my_tag().

void protocols::calc_taskop_filters::Operator::operation ( Operation const  o)
inline

References operation_.

void protocols::calc_taskop_filters::Operator::parse_my_tag ( utility::tag::TagCOP  ,
basic::datacache::DataMap &   
)
overridevirtual
void protocols::calc_taskop_filters::Operator::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
utility::vector1< std::string > protocols::calc_taskop_filters::Operator::relative_pose_names ( )
inline

References relative_pose_names_.

void protocols::calc_taskop_filters::Operator::relative_pose_names ( utility::vector1< std::string > const &  s)
inline

References relative_pose_names_.

void protocols::calc_taskop_filters::Operator::report ( std::ostream &  out,
core::pose::Pose const &  pose 
) const
overridevirtual

Reimplemented from protocols::filters::Filter.

References compute(), and protocols::hybridization::val.

Referenced by report_subvalues().

core::Real protocols::calc_taskop_filters::Operator::report_sm ( core::pose::Pose const &  ) const
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().

void protocols::calc_taskop_filters::Operator::report_subvalues ( bool const  report)
inline

References report(), and report_subvalues_.

bool protocols::calc_taskop_filters::Operator::report_subvalues ( ) const
inline

References report_subvalues_.

Referenced by parse_my_tag(), and report_sm().

void protocols::calc_taskop_filters::Operator::reset_baseline ( core::pose::Pose const &  pose,
bool const  attempt_read_from_checkpoint 
)
core::Real protocols::calc_taskop_filters::Operator::threshold ( ) const
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().

void protocols::calc_taskop_filters::Operator::threshold ( core::Real const  t)
inline

Member Data Documentation

utility::vector1< protocols::filters::FilterOP > protocols::calc_taskop_filters::Operator::filters_
private
bool protocols::calc_taskop_filters::Operator::logarithm_
private

Referenced by logarithm().

bool protocols::calc_taskop_filters::Operator::multi_relative_
private

Referenced by multi_relative().

bool protocols::calc_taskop_filters::Operator::negate_
private

Referenced by negate().

Operation protocols::calc_taskop_filters::Operator::operation_
private

Referenced by operation().

utility::vector1< std::string > protocols::calc_taskop_filters::Operator::relative_pose_names_
private
bool protocols::calc_taskop_filters::Operator::report_subvalues_
private

Referenced by report_subvalues().

core::Real protocols::calc_taskop_filters::Operator::threshold_
private

Referenced by threshold().


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