Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AtomTreeMinimizer.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 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 core/optimization/AtomTreeMinimizer.hh
11 /// @brief High-level atom tree minimizer class
12 /// @author Phil Bradley
13 
14 
15 #ifndef INCLUDED_core_optimization_AtomTreeMinimizer_hh
16 #define INCLUDED_core_optimization_AtomTreeMinimizer_hh
17 
18 // Unit headers
20 
21 // Package headers
24 // AUTO-REMOVED #include <core/optimization/types.hh>
25 
26 // Project headers
28 #include <core/pose/Pose.fwd.hh>
30 
31 // Utility headers
32 #include <utility/pointer/ReferenceCount.hh>
33 
34 #include <core/types.hh>
35 #include <utility/vector1.hh>
36 
37 
38 
39 namespace core {
40 namespace optimization {
41 
42 
43 /// @brief High-level atom tree minimizer class
45 {
46 
47 public:
48 
49  // c-tor
51 
52  virtual ~AtomTreeMinimizer();
53 
54  /// @brief run minimization and return the final score at minimization's conclusion.
55  /// Virtual allowing derived classes to mascarade as AtomTreeMinimizers.
56  /// Non-const so that it can modify its deriv_check_result_ object.
57  virtual
58  Real
59  run(
60  pose::Pose & pose,
61  kinematics::MoveMap const & move_map,
62  scoring::ScoreFunction const & scorefxn,
63  MinimizerOptions const & options
64  );
65 
66  /// @brief After minimization has concluded, the user may access the deriv-check result,
67  /// assuming that they have run the AtomTreeMinimizer with deriv_check = true;
69  deriv_check_result() const;
70 
71 private:
72 
74 
75 }; // AtomTreeMinimizer
76 
77 
78 } // namespace optimization
79 } // namespace core
80 
81 
82 #endif // INCLUDED_core_optimization_AtomTreeMinimizer_HH