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