Rosetta 3.4
Public Types | Public Member Functions
core::kinematics::ShortestPathInFoldTree Class Reference

#include <ShortestPathInFoldTree.hh>

Inheritance diagram for core::kinematics::ShortestPathInFoldTree:
Inheritance graph
[legend]
Collaboration diagram for core::kinematics::ShortestPathInFoldTree:
Collaboration graph
[legend]

List of all members.

Public Types

typedef utility::vector1< EdgeEdgeList

Public Member Functions

 ShortestPathInFoldTree (core::kinematics::FoldTree const &f)
 cs-tor, parses fold-tree and caches important distances: memory N^2+M*5 N: 2 x number of jumps M: number of residues
Size dist (Size pos1, Size pos2) const
 returns the shortest distance of two residues going along Fold-Tree edges.
Size max_dist () const
 returns the shortest distance for the two residues that are furthest apart

Member Typedef Documentation


Constructor & Destructor Documentation

core::kinematics::ShortestPathInFoldTree::ShortestPathInFoldTree ( core::kinematics::FoldTree const &  f)

cs-tor, parses fold-tree and caches important distances: memory N^2+M*5 N: 2 x number of jumps M: number of residues

cs-tor

References core::kinematics::FoldTree::num_jump().


Member Function Documentation

Size core::kinematics::ShortestPathInFoldTree::dist ( Size  pos1,
Size  pos2 
) const

returns the shortest distance of two residues going along Fold-Tree edges.

distance between two residues with the help of our pre-computed data this only requires comparison of 4 possible pathways: go via upstream/downstream jump-residue for pos1/pos2

Referenced by protocols::abinitio::KinematicControl::add_chainbreak_variants(), protocols::jumping::JumpSample::add_chainbreaks(), protocols::jumping::JumpSample::add_chainbreaks_as_distance_constraint(), core::scoring::constraints::AtomPairConstraint::effective_sequence_separation(), and core::scoring::constraints::AmbiguousNMRDistanceConstraint::effective_sequence_separation().

Size core::kinematics::ShortestPathInFoldTree::max_dist ( ) const [inline]

returns the shortest distance for the two residues that are furthest apart


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines