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
CompositeFragmentSelector.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/CompositeFragmentSelector.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_CompositeFragmentSelector_hh
15
#define INCLUDED_protocols_frag_picker_CompositeFragmentSelector_hh
16
17
//#include <protocols/frag_picker/CompositeFragmentSelector.fwd.hh>
18
#include <
protocols/frag_picker/FragmentSelectingRule.hh
>
19
20
// package headers
21
#include <
protocols/frag_picker/FragmentCandidate.fwd.hh
>
22
#include <
protocols/frag_picker/scores/FragmentScoreMap.fwd.hh
>
23
24
#include <utility/vector1.hh>
25
26
//#include <vector>
27
28
29
namespace
protocols {
30
namespace
frag_picker {
31
32
/// @brief selects fragments by running several selectors
33
class
CompositeFragmentSelector
:
public
FragmentSelectingRule
{
34
public
:
35
36
/// @brief Constructor sets the desired number of fragments.
37
CompositeFragmentSelector
(
Size
frags_per_pos
) :
FragmentSelectingRule
(frags_per_pos) {
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
~CompositeFragmentSelector
() {}
44
45
void
add_selector
(
FragmentSelectingRuleOP
new_selector) {
selectors_
.push_back( new_selector ); }
46
private
:
47
utility::vector1<FragmentSelectingRuleOP>
selectors_
;
48
};
49
50
}
// frag_picker
51
}
// protocols
52
53
54
#endif
/* INCLUDED_protocols_frag_picker_CompositeFragmentSelector_HH */
Generated on Sat Jun 1 2013 11:52:25 for Rosetta 3.5 by
1.8.4