Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::jumping::SameStrand Class Reference

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>

Inheritance diagram for protocols::jumping::SameStrand:
Inheritance graph
[legend]

Public Member Functions

 SameStrand (core::fragment::SecondaryStructureOP)
 c'stor compute fractions from fragments More...
 
 ~SameStrand () override
 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...
 
core::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...
 

Detailed Description

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,

Constructor & Destructor Documentation

protocols::jumping::SameStrand::SameStrand ( core::fragment::SecondaryStructureOP  ss)

c'stor compute fractions from fragments

References compute(), and total_residue_.

protocols::jumping::SameStrand::~SameStrand ( )
overridedefault

explicit definitions of c'stor and d'stor

protocols::jumping::SameStrand::SameStrand ( SameStrand const &  other)

Member Function Documentation

void protocols::jumping::SameStrand::compute ( core::fragment::SecondaryStructure const &  ss) const
private

References do_same_strand(), and do_strand_sum().

Referenced by SameStrand().

void protocols::jumping::SameStrand::do_same_strand ( ) const
private
void protocols::jumping::SameStrand::do_strand_sum ( core::fragment::SecondaryStructure const &  ss) const
private
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<<().

core::Size protocols::jumping::SameStrand::total_residue ( ) const
inline

...

References total_residue_.

Member Data Documentation

ObjexxFCL::FArray2D_bool protocols::jumping::SameStrand::same_strand_
mutableprivate

store loop/strand

Referenced by do_same_strand(), eval(), and SameStrand().

core::fragment::SecondaryStructureOP protocols::jumping::SameStrand::secondary_structure_
private

ScondaryStructure information — needed permanently for redo() method.

Referenced by redo(), and SameStrand().

ObjexxFCL::FArray1D_float protocols::jumping::SameStrand::strand_sum_
mutableprivate
core::Size protocols::jumping::SameStrand::total_residue_
private

length of FArrays

Referenced by do_same_strand(), do_strand_sum(), eval(), SameStrand(), show(), and total_residue().


The documentation for this class was generated from the following files: