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
relax
WorkUnit_BatchRelax.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 protocols/realx/WorkUnit_BatchRelax.hh
11
/// @brief
12
/// @author Mike Tyka
13
14
#ifndef INCLUDED_protocols_relax_WorkUnit_BatchRelax_hh
15
#define INCLUDED_protocols_relax_WorkUnit_BatchRelax_hh
16
17
#include <
protocols/wum/WorkUnitBase.hh
>
18
#include <
core/pose/Pose.hh
>
19
20
#include <utility/vector1.hh>
21
22
namespace
protocols {
23
namespace
relax {
24
25
26
27
class
WorkUnit_BatchRelax
;
28
typedef
utility::pointer::owning_ptr< WorkUnit_BatchRelax >
WorkUnit_BatchRelaxOP
;
29
typedef
utility::pointer::owning_ptr< WorkUnit_BatchRelax const >
WorkUnit_BatchRelaxCOP
;
30
31
class
WorkUnit_BatchRelax
:
public
protocols::wum::WorkUnit_SilentStructStore
{
32
public
:
33
WorkUnit_BatchRelax
();
34
~WorkUnit_BatchRelax
();
35
36
// @brief Run the workunit - overloaded by children of this class
37
virtual
void
run
();
38
39
// @brief Hook for post processing such as rescoring etc.
40
virtual
void
pre_process
();
41
42
// @brief Hook for post processing such as rescoring etc.
43
virtual
void
post_process
();
44
45
virtual
protocols::wum::WorkUnitBaseOP
clone
()
const
;
46
47
void
48
set_native_pose
(
core::pose::PoseCOP
native_pose);
49
50
protected
:
51
52
core::pose::PoseCOP
native_pose_
;
53
core::scoring::ScoreFunctionOP
scorefxn_
;
54
private
:
55
};
56
57
58
class
WorkUnit_BatchRelax_and_PostRescore
:
public
WorkUnit_BatchRelax
{
59
public
:
60
WorkUnit_BatchRelax_and_PostRescore
();
61
~WorkUnit_BatchRelax_and_PostRescore
();
62
63
virtual
protocols::wum::WorkUnitBaseOP
clone
()
const
;
64
65
void
set_defaults
();
66
67
// @brief Hook for post processing such as rescoring etc.
68
virtual
void
pre_process
();
69
70
// @brief Hook for post processing such as rescoring etc.
71
virtual
void
post_process
();
72
73
// @brief Hook for post processing such as rescoring etc.
74
virtual
void
rescore_all_decoys
();
75
76
protected
:
77
78
void
trim
();
79
80
private
:
81
82
core::Real
trim_proportion_
;
83
core::pose::Pose
ref_pose_
;
84
};
85
86
87
88
89
}
90
}
91
92
#endif
Generated on Sat Jun 1 2013 12:09:01 for Rosetta 3.5 by
1.8.4