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
nonlocal
UniformPolicy.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/nonlocal/UniformPolicy.hh
11
/// @author Christopher Miles (cmiles@uw.edu)
12
13
#ifndef INCLUDED_PROTOCOLS_NONLOCAL_UNIFORMPOLICY_HH
14
#define INCLUDED_PROTOCOLS_NONLOCAL_UNIFORMPOLICY_HH
15
16
// Project headers
17
#include <
core/types.hh
>
18
#include <
core/fragment/FragSet.fwd.hh
>
19
#include <
core/fragment/Frame.fwd.hh
>
20
#include <
core/pose/Pose.fwd.hh
>
21
22
// Package headers
23
#include <
protocols/nonlocal/Policy.hh
>
24
25
#include <utility/vector1.hh>
26
27
28
namespace
protocols {
29
namespace
nonlocal {
30
31
/// @class Implements the Policy interface. Chooses uniformly among the set of
32
/// possible fragments at a given position.
33
class
UniformPolicy
:
public
Policy
{
34
typedef
core::fragment::FragSetCOP
FragSetCOP
;
35
36
public
:
37
/// @brief Provides derived classes with the opportunity to precompute various
38
/// properties of the fragment set from which they will have to make choices.
39
explicit
UniformPolicy
(
FragSetCOP
fragments
);
40
41
/// @brief Selects uniformly among the set of possible fragments in <frame>
42
virtual
core::Size
choose
(
const
core::fragment::Frame
& frame,
43
const
core::pose::Pose
&);
44
};
45
46
}
// namespace nonlocal
47
}
// namespace protocols
48
49
#endif // PROTOCOLS_NONLOCAL_UNIFORMPOLICY_HH_
Generated on Sat Jun 1 2013 12:01:47 for Rosetta 3.5 by
1.8.4