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
frag_picker
DiversifyDihedralsSelector.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/frag_picker/DiversifyDihedralsSelector.hh
11
/// @brief provides a selector that picks best fragments based on their total score
12
/// @author Dominik Gront (dgront@chem.uw.edu.pl)
13
14
#ifndef INCLUDED_protocols_frag_picker_DiversifyDihedralsSelector_hh
15
#define INCLUDED_protocols_frag_picker_DiversifyDihedralsSelector_hh
16
17
// package headers
18
#include <
protocols/frag_picker/FragmentCandidate.fwd.hh
>
19
#include <
protocols/frag_picker/FragmentSelectingRule.hh
>
20
#include <
protocols/frag_picker/scores/FragmentScoreMap.fwd.hh
>
21
22
#include <
core/types.hh
>
23
24
#include <utility/vector1.hh>
25
26
namespace
protocols {
27
namespace
frag_picker {
28
29
using namespace
core;
30
31
/// @brief selects fragments by running several selectors
32
class
DiversifyDihedralsSelector
:
public
FragmentSelectingRule
{
33
public
:
34
35
/// @brief Constructor sets the desired number of fragments and crmsd cutoff.
36
DiversifyDihedralsSelector
(
Size
frags_per_pos,
Real
cutoff) :
FragmentSelectingRule
(frags_per_pos) {
37
cutoff_ = cutoff;
38
}
39
40
/// @brief Selects desired number of fragments from a given set of candidates
41
virtual
void
select_fragments(
ScoredCandidatesVector1
const
&,
ScoredCandidatesVector1
& );
42
43
virtual
~DiversifyDihedralsSelector
() {
44
}
45
46
Real
dihedral_rmsd(
FragmentCandidateOP
,
FragmentCandidateOP
);
47
48
private
:
49
Real
cutoff_
;
50
utility::vector1<core::Real>
phi_
;
51
utility::vector1<core::Real>
psi_
;
52
};
53
54
}
// frag_picker
55
}
// protocols
56
57
58
#endif
/* INCLUDED_protocols_frag_picker_DiversifyDihedralsSelector_HH */
Generated on Sat Jun 1 2013 11:52:26 for Rosetta 3.5 by
1.8.4