Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FragSetCollection.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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file core/fragments/FragSet.hh
12 /// @brief set of fragments
13 /// @author Oliver Lange ( olange@u.washington.edu)
14 /// @date Wed Aug 22 12:08:31 2007
15 ///
16 
17 #ifndef INCLUDED_core_fragment_FragSetCollection_HH
18 #define INCLUDED_core_fragment_FragSetCollection_HH
19 
20 // Unit Headers
22 
23 // Package Headers
24 #include <core/fragment/FragSet.hh>
27 
28 // Project Headers
29 #include <core/types.hh>
31 
32 // Utility headers
33 // AUTO-REMOVED #include <utility/vector1.hh>
34 
35 #include <utility/vector1.hh>
36 
37 
38 // Package Headers
39 
40 /* Just a mad thought: with fragments becoming ever more "Residue" like one might want to use the
41  packer to choose a combination of good fragments instead of makeing independent choices.
42  I guess, it is only a question of keeping the combinatorics in control...
43  maybe it makes sense to pack with only "unconfident" regions of the backbone flexible ..
44 */
45 
46 namespace core {
47 namespace fragment {
48 
49 //* not too happy with this class... might be phased out.. */
50 // this interface extension yields an inexpensive way to pass several FragSets into a mover
51 class FragSetCollection : public FragSet {
52 public:
53  typedef FragSet Parent;
54 
55 public:
59 
60  virtual FragSetOP clone() const;
61  virtual FragSetOP empty_clone() const;
62 
63  void add_fragset( FragSetOP fragset );
64 
65  virtual Size region(
66  kinematics::MoveMap const& move_map,
67  Size start,
68  Size end,
69  Size min_overlap,
70  Size min_length,
72  ) const;
73 
74  virtual FrameIterator begin() const;
75 
76  virtual FrameIterator end() const;
77 
78  virtual bool empty() const;
79 
80 
81 protected:
82  virtual void add_( FrameOP );
83 
84 private:
87 };
88 
89 }
90 }
91 
92 #endif