Rosetta 3.5
|
tiny helper class that knows the relative fractions of secondary structure L,H,E so far these fractions can be computed from a FragSet other input strategies are conceivable but not implemented, yet: eg. psipred files, a bunch of poses, More...
#include <SameStrand.hh>
Public Member Functions | |
SameStrand (core::fragment::SecondaryStructureOP) | |
c'stor compute fractions from fragments More... | |
virtual | ~SameStrand () |
explicit definitions of c'stor and d'stor More... | |
SameStrand (SameStrand const &) | |
void | show (std::ostream &os) const |
print current choice to stream More... | |
void | redo () const |
new stochastic choices for strand boundaries More... | |
bool | eval (core::Size i, core::Size j) const |
return whether residue i and j are on the same strand More... | |
Size | total_residue () const |
... More... | |
Private Member Functions | |
void | compute (core::fragment::SecondaryStructure const &ss) const |
void | do_strand_sum (core::fragment::SecondaryStructure const &ss) const |
void | do_same_strand () const |
Private Attributes | |
ObjexxFCL::FArray2D_bool | same_strand_ |
store loop/strand More... | |
ObjexxFCL::FArray1D_float | strand_sum_ |
core::Size | total_residue_ |
length of FArrays More... | |
core::fragment::SecondaryStructureOP | secondary_structure_ |
ScondaryStructure information — needed permanently for redo() method. More... | |
tiny helper class that knows the relative fractions of secondary structure L,H,E so far these fractions can be computed from a FragSet other input strategies are conceivable but not implemented, yet: eg. psipred files, a bunch of poses,
protocols::jumping::SameStrand::SameStrand | ( | core::fragment::SecondaryStructureOP | ss) |
c'stor compute fractions from fragments
References compute(), and total_residue_.
|
virtual |
explicit definitions of c'stor and d'stor
protocols::jumping::SameStrand::SameStrand | ( | SameStrand const & | other) |
References same_strand_, secondary_structure_, strand_sum_, and total_residue_.
|
private |
References do_same_strand(), and do_strand_sum().
Referenced by SameStrand().
|
private |
References protocols::jumping::RG(), same_strand_, strand_sum_, and total_residue_.
|
private |
References core::fragment::SecondaryStructure::strand_fraction(), strand_sum_, core::fragment::SecondaryStructure::total_residue(), and total_residue_.
Referenced by compute().
bool protocols::jumping::SameStrand::eval | ( | core::Size | i, |
core::Size | j | ||
) | const |
return whether residue i and j are on the same strand
References same_strand_, and total_residue_.
Referenced by show().
void protocols::jumping::SameStrand::redo | ( | ) | const |
new stochastic choices for strand boundaries
References do_same_strand(), and secondary_structure_.
void protocols::jumping::SameStrand::show | ( | std::ostream & | os) | const |
print current choice to stream
write to stream ( opposite from read_from_file )
References eval(), and total_residue_.
Referenced by protocols::jumping::operator<<().
|
inline |
...
References total_residue_.
|
mutableprivate |
store loop/strand
Referenced by do_same_strand(), eval(), and SameStrand().
|
private |
ScondaryStructure information — needed permanently for redo() method.
Referenced by redo(), and SameStrand().
|
mutableprivate |
Referenced by do_same_strand(), do_strand_sum(), and SameStrand().
|
private |
length of FArrays
Referenced by do_same_strand(), do_strand_sum(), eval(), SameStrand(), show(), and total_residue().