Rosetta
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::FilterOPfilters () 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 () 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::FilterOPfilters_
 
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

◆ Operator()

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

References filters_.

◆ ~Operator()

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

Member Function Documentation

◆ add_filter()

void protocols::calc_taskop_filters::Operator::add_filter ( protocols::filters::FilterOP  f)

◆ apply()

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.

◆ attributes()

void protocols::calc_taskop_filters::Operator::attributes ( utility::tag::AttributeList &  attlist)
static

◆ class_name()

std::string protocols::calc_taskop_filters::Operator::class_name ( )
static

◆ clone()

filters::FilterOP protocols::calc_taskop_filters::Operator::clone ( ) const
inlineoverridevirtual

◆ compute()

core::Real protocols::calc_taskop_filters::Operator::compute ( core::pose::Pose const &  pose) const

◆ filters()

utility::vector1< protocols::filters::FilterOP > protocols::calc_taskop_filters::Operator::filters ( ) const

References filters_.

Referenced by compute(), and reset_baseline().

◆ fresh_instance()

filters::FilterOP protocols::calc_taskop_filters::Operator::fresh_instance ( ) const
inlineoverridevirtual

◆ logarithm() [1/2]

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

References logarithm_.

Referenced by compute(), and parse_my_tag().

◆ logarithm() [2/2]

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

◆ modify_relative_filters_pdb_names()

void protocols::calc_taskop_filters::Operator::modify_relative_filters_pdb_names ( )

◆ multi_relative() [1/2]

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

References multi_relative_.

Referenced by parse_my_tag().

◆ multi_relative() [2/2]

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

References multi_relative_.

◆ name()

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

Reimplemented from protocols::filters::Filter.

References class_name().

◆ negate() [1/2]

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

References negate_.

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

◆ negate() [2/2]

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

◆ operation() [1/2]

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

References operation_.

Referenced by compute(), and parse_my_tag().

◆ operation() [2/2]

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

References operation_.

◆ parse_my_tag()

void protocols::calc_taskop_filters::Operator::parse_my_tag ( utility::tag::TagCOP  ,
basic::datacache::DataMap  
)
overridevirtual

◆ provide_xml_schema()

void protocols::calc_taskop_filters::Operator::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ relative_pose_names() [1/2]

utility::vector1< std::string > protocols::calc_taskop_filters::Operator::relative_pose_names ( )
inline

References relative_pose_names_.

◆ relative_pose_names() [2/2]

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

References relative_pose_names_.

◆ report()

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

◆ report_sm()

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

◆ report_subvalues() [1/2]

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

References report_subvalues_.

Referenced by parse_my_tag(), and report_sm().

◆ report_subvalues() [2/2]

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

References report(), and report_subvalues_.

◆ reset_baseline()

void protocols::calc_taskop_filters::Operator::reset_baseline ( core::pose::Pose const &  pose,
bool const  attempt_read_from_checkpoint 
)

◆ threshold() [1/2]

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

◆ threshold() [2/2]

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

Member Data Documentation

◆ filters_

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

◆ logarithm_

bool protocols::calc_taskop_filters::Operator::logarithm_
private

Referenced by logarithm().

◆ multi_relative_

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

Referenced by multi_relative().

◆ negate_

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

Referenced by negate().

◆ operation_

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

Referenced by operation().

◆ relative_pose_names_

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

◆ report_subvalues_

bool protocols::calc_taskop_filters::Operator::report_subvalues_
private

Referenced by report_subvalues().

◆ threshold_

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

Referenced by threshold().


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