Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BoltzmannFilter.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 sw=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file protocols/filters/BoltzmannFilter.hh
11 /// @brief Reports the average degree of connectivity of interface residues
12 /// @author Sarel Fleishman (sarelf@uw.edu)
13 
14 #ifndef INCLUDED_protocols_protein_interface_design_filters_BoltzmannFilter_hh
15 #define INCLUDED_protocols_protein_interface_design_filters_BoltzmannFilter_hh
16 
17 
18 // Project Headers
20 #include <core/pose/Pose.fwd.hh>
21 #include <utility/tag/Tag.fwd.hh>
24 
25 #include <utility/vector1.hh>
26 
27 // Unit headers
28 
29 namespace protocols {
30 namespace protein_interface_design{
31 namespace filters {
32 
34 {
35 private:
37 public:
38  /// @brief default ctor
40  ///@brief Constructor with a single target residue
41  virtual bool apply( core::pose::Pose const & pose ) const;
42  virtual void report( std::ostream & out, core::pose::Pose const & pose ) const;
43  virtual core::Real report_sm( core::pose::Pose const & pose ) const;
44  virtual protocols::filters::FilterOP clone() const;
46  core::Real compute( core::pose::Pose const & pose ) const;
47  virtual ~BoltzmannFilter();
48  void parse_my_tag( utility::tag::TagPtr const tag,
52  core::pose::Pose const & );
59  void temperature( core::Real const temp );
60  core::Real temperature() const;
61  void triage_threshold( core::Real const t );
64  void fitness_threshold( core::Real const f );
65  bool norm_neg() const;
66  void norm_neg( bool const n );
67 private:
70  utility::vector1< core::Real > anchors_; // anchors to positive states, to ensure that they don't drift upwards in energy too much. Defaults to empty vector, in which case this is not applied.
71 
75  bool norm_neg_;
76 };
77 
78 } // filters
79 } //protein_interface_design
80 } // protocols
81 
82 #endif //INCLUDED_protocols_Filters_BoltzmannFilter_HH_
83