|
Rosetta 3.5
|
Librarian that picks fragments from the Vall. More...
#include <VallLibrarian.hh>


Public Member Functions | |
| VallLibrarian () | |
| default constructor More... | |
| virtual | ~VallLibrarian () |
| default destructor More... | |
| bool | preallocate () const |
| preallocate scores container prior to catalog() to attempt speedup?, default true More... | |
| void | preallocate (bool const flag) |
| set flag to preallocate scores container prior to catalog() to attempt speedup More... | |
| void | add_fragment_gen (VallFragmentGenCOP const &gen) |
| add a fragment generator (aka extent generator) More... | |
| void | clear_fragment_gen () |
| clear list of generators More... | |
| Size | n_fragment_gen () const |
| the number of currently defined fragment generators More... | |
| void | add_fragment_eval (VallFragmentEvalCOP eval) |
| add a fragment evaluator (aka extent evaluator) More... | |
| void | clear_fragment_eval () |
| clear list of evaluators More... | |
| Size | n_fragment_eval () const |
| the number of currently defined fragment evaluators More... | |
| bool | catalog (VallLibrary const &library) |
| create sorted list corresponding to fragments in Library More... | |
| template<typename LessThan > | |
| bool | catalog (VallLibrary const &library, LessThan const <) |
| create sorted list corresponding to fragments in Library More... | |
| Size | n_scores () const |
| number of scores currently filed More... | |
| FragDataList | top_fragments (Size const n, BBTorsionSRFD const &srfd_type=BBTorsionSRFD()) const |
| get top 'N' fragments from prior catalog() More... | |
| FragDataList | fragments (Size from, Size to, BBTorsionSRFD const &srfd_type=BBTorsionSRFD()) const |
| get fragments from prior catalog() [from, to] More... | |
| Scores const & | scores () const |
| return scores container More... | |
| Scores & | scores () |
| return scores container More... | |
Public Member Functions inherited from core::fragment::picking_old::concepts::Librarian< scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary > | |
| Librarian () | |
| default constructor More... | |
| virtual | ~Librarian () |
| default destructor More... | |
| bool | catalog (VallLibraryconst &library) |
| create sorted list corresponding to fragments in Library More... | |
| bool | catalog (VallLibraryconst &library, LessThan const <) |
| create sorted list corresponding to fragments in Library More... | |
| void | add_extent_gen (ExtentGenCOP const &gen) |
| add an extent generator More... | |
| void | clear_extent_gen () |
| clear list of generators More... | |
| void | add_extent_eval (ExtentEvalCOP val) |
| add extent evaluator More... | |
| void | clear_extent_eval () |
| clear list of evaluators More... | |
Protected Types | |
| typedef BookConstIterator | VallSectionConstIterator |
| typedef BookIterator | VallSectionIterator |
| typedef PageConstIterator | VallResidueConstIterator |
| typedef PageIterator | VallResidueIterator |
| typedef ExtentGenOPs | VallFragmentGenOPs |
| typedef ExtentEvalOPs | VallFragmentEvalOPs |
Protected Types inherited from core::fragment::picking_old::concepts::Librarian< scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary > | |
| typedef utility::vector1 < ExtentGenOP > | ExtentGenOPs |
| typedef utility::vector1 < ExtentEvalOP > | ExtentEvalOPs |
Private Types | |
| typedef core::fragment::picking_old::concepts::Librarian < scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary > | Super |
Private Member Functions | |
| VallLibrarian (VallLibrarian const &rval) | |
| disallow copy constructor More... | |
| VallLibrarian & | operator= (VallLibrarian const &rval) |
| disallow copy assignment More... | |
| void | pre_catalog_ops (VallLibrary const &library) |
| this function runs before main routine in catalog() starts More... | |
| void | post_catalog_ops (VallLibrary const &library) |
| this function runs after main routine catalog() finishes More... | |
Private Attributes | |
| bool | preallocate_ |
| flag controls preallocation of score container, default true More... | |
Static Private Attributes | |
| static basic::Tracer | TR_ |
| static Tracer instance for this class More... | |
Additional Inherited Members | |
Protected Member Functions inherited from core::fragment::picking_old::concepts::Librarian< scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary > | |
| bool | evaluate_extent (Extent const &extent, scores::VallFragmentScore &mark) |
| evaluate a fragment starting from Page at iterator More... | |
| Bookmarks const & | bookmarks () const |
| get the current bookmark heap More... | |
| Bookmarks & | bookmarks () |
| get the current bookmark heap More... | |
| ExtentGenOPs const & | extent_gen () const |
| the list of extent generators More... | |
| ExtentGenOPs & | extent_gen () |
| the list of extent generators More... | |
| ExtentEvalOPs const & | extent_eval () const |
| the list of extent evaluators More... | |
| ExtentEvalOPs & | extent_eval () |
| the list of extent evaluators More... | |
Librarian that picks fragments from the Vall.
Definition at line 59 of file VallLibrarian.hh.
| typedef Super::BookConstIterator core::fragment::picking_old::vall::VallLibrarian::BookConstIterator |
Definition at line 85 of file VallLibrarian.hh.
Definition at line 84 of file VallLibrarian.hh.
| typedef Super::BookmarkConstIterator core::fragment::picking_old::vall::VallLibrarian::BookmarkConstIterator |
Definition at line 93 of file VallLibrarian.hh.
Definition at line 94 of file VallLibrarian.hh.
Definition at line 92 of file VallLibrarian.hh.
Definition at line 89 of file VallLibrarian.hh.
Definition at line 88 of file VallLibrarian.hh.
Definition at line 97 of file VallLibrarian.hh.
Definition at line 91 of file VallLibrarian.hh.
Definition at line 90 of file VallLibrarian.hh.
Definition at line 96 of file VallLibrarian.hh.
Definition at line 74 of file VallLibrarian.hh.
Definition at line 73 of file VallLibrarian.hh.
Definition at line 75 of file VallLibrarian.hh.
| typedef Super::PageConstIterator core::fragment::picking_old::vall::VallLibrarian::PageConstIterator |
Definition at line 86 of file VallLibrarian.hh.
Definition at line 87 of file VallLibrarian.hh.
Definition at line 108 of file VallLibrarian.hh.
Definition at line 109 of file VallLibrarian.hh.
Definition at line 107 of file VallLibrarian.hh.
Definition at line 71 of file VallLibrarian.hh.
Definition at line 65 of file VallLibrarian.hh.
Definition at line 77 of file VallLibrarian.hh.
Definition at line 104 of file VallLibrarian.hh.
Definition at line 103 of file VallLibrarian.hh.
|
protected |
Definition at line 120 of file VallLibrarian.hh.
Definition at line 106 of file VallLibrarian.hh.
Definition at line 105 of file VallLibrarian.hh.
Definition at line 119 of file VallLibrarian.hh.
| typedef scores::VallFragmentScore core::fragment::picking_old::vall::VallLibrarian::VallFragmentScore |
Definition at line 78 of file VallLibrarian.hh.
|
protected |
Definition at line 117 of file VallLibrarian.hh.
|
protected |
Definition at line 118 of file VallLibrarian.hh.
|
protected |
Definition at line 115 of file VallLibrarian.hh.
|
protected |
Definition at line 116 of file VallLibrarian.hh.
| core::fragment::picking_old::vall::VallLibrarian::VallLibrarian | ( | ) |
default constructor
Definition at line 37 of file VallLibrarian.cc.
|
virtual |
default destructor
Definition at line 44 of file VallLibrarian.cc.
|
private |
disallow copy constructor
|
inline |
add a fragment evaluator (aka extent evaluator)
Definition at line 199 of file VallLibrarian.hh.
Referenced by core::fragment::picking_old::vall::pick_fragments(), core::fragment::picking_old::vall::pick_fragments_by_ss(), and core::fragment::picking_old::vall::pick_fragments_by_ss_plus_aa().
|
inline |
add a fragment generator (aka extent generator)
Definition at line 175 of file VallLibrarian.hh.
Referenced by core::fragment::picking_old::vall::pick_fragments(), core::fragment::picking_old::vall::pick_fragments_by_ss(), and core::fragment::picking_old::vall::pick_fragments_by_ss_plus_aa().
|
inline |
create sorted list corresponding to fragments in Library
uses Score's '<' for evaluation
Definition at line 224 of file VallLibrarian.hh.
Referenced by core::fragment::picking_old::vall::pick_fragments(), core::fragment::picking_old::vall::pick_fragments_by_ss(), and core::fragment::picking_old::vall::pick_fragments_by_ss_plus_aa().
|
inline |
create sorted list corresponding to fragments in Library
| LessThan | predicate Pr( left, right ) evaluating left < right |
true if creation successful, false otherwise (e.g. no VallFragmentEval or VallFragmentGen found) Definition at line 233 of file VallLibrarian.hh.
References core::fragment::picking_old::concepts::Librarian< scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary >::catalog(), post_catalog_ops(), pre_catalog_ops(), scores(), core::fragment::picking_old::concepts::Library< Books >::size(), and TR_.
|
inline |
clear list of evaluators
Definition at line 206 of file VallLibrarian.hh.
|
inline |
clear list of generators
Definition at line 182 of file VallLibrarian.hh.
| VallLibrarian::FragDataList core::fragment::picking_old::vall::VallLibrarian::fragments | ( | Size | from, |
| Size | to, | ||
| BBTorsionSRFD const & | srfd_type = BBTorsionSRFD() |
||
| ) | const |
get fragments from prior catalog() [from, to]
| from | index of the first fragment in the list, indexing starts from '1' |
| to | index of the last fragment in the list (inclusive) |
| srfd_type | The BBTorsionSRFD type to use. |
| from | index of the first fragment in the list, indexing starts from '1' |
| to | index of the last fragment in the list (inclusive) |
Definition at line 61 of file VallLibrarian.cc.
References core::sequence::end, core::fragment::picking_old::vall::extent_to_fragdata(), scores(), core::io::serialization::size(), and TR_.
Referenced by top_fragments().
|
inline |
the number of currently defined fragment evaluators
Definition at line 213 of file VallLibrarian.hh.
|
inline |
the number of currently defined fragment generators
Definition at line 189 of file VallLibrarian.hh.
|
inline |
number of scores currently filed
Definition at line 252 of file VallLibrarian.hh.
References scores().
|
private |
disallow copy assignment
|
private |
this function runs after main routine catalog() finishes
Definition at line 131 of file VallLibrarian.cc.
References core::sequence::end, and core::fragment::picking_old::concepts::Librarian< scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary >::extent_eval().
Referenced by catalog().
|
private |
this function runs before main routine in catalog() starts
Definition at line 117 of file VallLibrarian.cc.
References core::sequence::end, core::fragment::picking_old::concepts::Librarian< scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary >::extent_eval(), preallocate_, scores(), and core::fragment::picking_old::concepts::Library< Books >::size().
Referenced by catalog().
|
inline |
preallocate scores container prior to catalog() to attempt speedup?, default true
Definition at line 154 of file VallLibrarian.hh.
References preallocate_.
|
inline |
set flag to preallocate scores container prior to catalog() to attempt speedup
Definition at line 165 of file VallLibrarian.hh.
References preallocate_.
|
inline |
return scores container
Definition at line 286 of file VallLibrarian.hh.
Referenced by catalog(), fragments(), n_scores(), and pre_catalog_ops().
|
inline |
return scores container
Definition at line 293 of file VallLibrarian.hh.
| VallLibrarian::FragDataList core::fragment::picking_old::vall::VallLibrarian::top_fragments | ( | Size const | n, |
| BBTorsionSRFD const & | srfd_type = BBTorsionSRFD() |
||
| ) | const |
get top 'N' fragments from prior catalog()
| n | The number of fragments to get. |
| srfd_type | The BBTorsionSRFD type to use. |
Definition at line 49 of file VallLibrarian.cc.
References fragments().
Referenced by core::fragment::picking_old::vall::pick_fragments(), core::fragment::picking_old::vall::pick_fragments_by_ss(), and core::fragment::picking_old::vall::pick_fragments_by_ss_plus_aa().
|
private |
flag controls preallocation of score container, default true
Definition at line 313 of file VallLibrarian.hh.
Referenced by pre_catalog_ops(), and preallocate().
|
staticprivate |
static Tracer instance for this class
Definition at line 317 of file VallLibrarian.hh.
Referenced by catalog(), and fragments().
1.8.4