Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::simple_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::simple_filters::Operator:
Inheritance graph
[legend]
Collaboration diagram for protocols::simple_filters::Operator:
Collaboration graph
[legend]

Public Member Functions

 Operator ()
 
virtual ~Operator ()
 
filters::FilterOP clone () const
 
filters::FilterOP fresh_instance () const
 
virtual bool apply (core::pose::Pose const &pose) const
 Returns true if the given pose passes the filter, false otherwise. More...
 
virtual void report (std::ostream &out, core::pose::Pose const &pose) const
 
virtual core::Real report_sm (core::pose::Pose const &pose) const
 used to report filter internals through a score or silent file More...
 
void parse_my_tag (utility::tag::TagPtr const tag, moves::DataMap &, filters::Filters_map const &filters, moves::Movers_map const &, core::pose::Pose const &)
 
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 ()
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 Filter (Filter const &)
 
virtual ~Filter ()
 
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)
 
virtual std::string name () const
 

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_
 

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::simple_filters::Operator::Operator ( )

References filters_.

Referenced by clone(), and fresh_instance().

protocols::simple_filters::Operator::~Operator ( )
virtual

Member Function Documentation

void protocols::simple_filters::Operator::add_filter ( protocols::filters::FilterOP  f)
bool protocols::simple_filters::Operator::apply ( core::pose::Pose const &  pose) const
virtual

Returns true if the given pose passes the filter, false otherwise.

Implements protocols::filters::Filter.

References compute(), negate(), and threshold().

filters::FilterOP protocols::simple_filters::Operator::clone ( ) const
inlinevirtual

Implements protocols::filters::Filter.

References Operator().

core::Real protocols::simple_filters::Operator::compute ( core::pose::Pose const &  pose) const
utility::vector1< protocols::filters::FilterOP > protocols::simple_filters::Operator::filters ( ) const

References filters_.

Referenced by compute(), and reset_baseline().

filters::FilterOP protocols::simple_filters::Operator::fresh_instance ( ) const
inlinevirtual

Implements protocols::filters::Filter.

References Operator().

void protocols::simple_filters::Operator::modify_relative_filters_pdb_names ( )

References add_filter(), filters_, and relative_pose_names_.

Referenced by parse_my_tag().

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

References multi_relative_.

Referenced by parse_my_tag().

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

References multi_relative_.

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

References negate_.

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

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

References operation_.

Referenced by compute(), and parse_my_tag().

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

References operation_.

void protocols::simple_filters::Operator::parse_my_tag ( utility::tag::TagPtr const  tag,
moves::DataMap ,
filters::Filters_map const &  filters,
moves::Movers_map const &  ,
core::pose::Pose const &   
)
virtual
utility::vector1< std::string > protocols::simple_filters::Operator::relative_pose_names ( )
inline

References relative_pose_names_.

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

References relative_pose_names_.

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

Reimplemented from protocols::filters::Filter.

References compute().

core::Real protocols::simple_filters::Operator::report_sm ( core::pose::Pose const &  ) const
virtual

used to report filter internals through a score or silent file

Reimplemented from protocols::filters::Filter.

References compute().

Referenced by compute().

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

References filters().

core::Real protocols::simple_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::simple_filters::Operator::threshold ( core::Real const  t)
inline

Member Data Documentation

utility::vector1< protocols::filters::FilterOP > protocols::simple_filters::Operator::filters_
private
bool protocols::simple_filters::Operator::multi_relative_
private

Referenced by multi_relative().

bool protocols::simple_filters::Operator::negate_
private

Referenced by negate().

Operation protocols::simple_filters::Operator::operation_
private

Referenced by operation().

utility::vector1< std::string > protocols::simple_filters::Operator::relative_pose_names_
private
core::Real protocols::simple_filters::Operator::threshold_
private

Referenced by threshold().


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