Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
moves
mc_convergence_checks
ConvergenceCheck.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
11
/// @brief
12
/// @author
13
14
15
#ifndef INCLUDED_protocols_moves_mc_convergence_checks_ConvergenceCheck_hh
16
#define INCLUDED_protocols_moves_mc_convergence_checks_ConvergenceCheck_hh
17
18
19
// type headers
20
// AUTO-REMOVED #include <core/types.hh>
21
22
// unit headers
23
#include <
protocols/moves/mc_convergence_checks/ConvergenceCheck.fwd.hh
>
24
#include <
protocols/moves/MonteCarlo.fwd.hh
>
25
#include <utility/excn/Exceptions.hh>
26
27
// package headers
28
#include <
core/pose/Pose.fwd.hh
>
29
// AUTO-REMOVED #include <core/scoring/ScoreFunction.fwd.hh>
30
31
// utility headers
32
#include <utility/pointer/ReferenceCount.hh>
33
// #include "utility/basic_sys_util.h"
34
35
// C++ headers
36
// AUTO-REMOVED #include <map>
37
#include <string>
38
39
#include <utility/vector1.hh>
40
41
42
// Forward declarations
43
44
namespace
protocols {
45
namespace
moves {
46
namespace
mc_convergence_checks {
47
48
class
EXCN_Converged
:
public
utility::excn::EXCN_Msg_Exception {
49
public
:
50
EXCN_Converged
() : EXCN_Msg_Exception(
"exit protocol because structure is converged"
) {};
51
};
52
53
class
ConvergenceCheck
:
public
utility::pointer::ReferenceCount
{
54
public
:
55
virtual
bool
operator()
(
const
core::pose::Pose
& pose,
MonteCarlo
const
&,
bool
reject
) = 0;
//throw exception EXCN_Converged if positive
56
protected
:
57
};
58
59
}
// mc_convergence_check
60
}
// moves
61
}
// rosetta
62
63
#endif
Generated on Sat Jun 1 2013 12:00:20 for Rosetta 3.5 by
1.8.4