Rosetta 3.5
|
#include <NeighborhoodByDistanceCalculator.hh>
Public Types | |
typedef core::pose::metrics::StructureDependentCalculator | parent |
Public Member Functions | |
NeighborhoodByDistanceCalculator (std::set< core::Size > central_residues) | |
ctor for positions, dist_cutoff will be initialized using default value from option system More... | |
NeighborhoodByDistanceCalculator (std::set< core::Size > central_residues, core::Real dist_cutoff) | |
ctor for positions, with custom dist_cutoff supplied by user More... | |
NeighborhoodByDistanceCalculator (NeighborhoodByDistanceCalculator const &calculator) | |
copy ctor More... | |
virtual core::pose::metrics::PoseMetricCalculatorOP | clone () const |
std::set< core::Size > const & | central_residues () const |
return central residues set More... | |
core::Real | dist_cutoff () const |
return distance cutoff More... | |
![]() | |
StructureDependentCalculator () | |
void | notify_structure_change () |
void | get (std::string const &key, basic::MetricValueBase &val, Pose const &this_pose) |
std::string | get (std::string const &key, Pose const &this_pose) |
![]() | |
PoseMetricCalculator () | |
virtual void | notify_energy_change () |
Protected Member Functions | |
virtual void | lookup (std::string const &key, basic::MetricValueBase *valptr) const |
virtual std::string | print (std::string const &key) const |
virtual void | recompute (core::pose::Pose const &pose) |
Private Attributes | |
std::set< core::Size > | central_residues_ |
whose neighbors are we finding? More... | |
core::Real const | dist_cutoff_ |
stores the input - how far away is a neighbor? More... | |
core::Size | num_neighbors_ |
the number of neighbors, INCLUSIVE of central residues More... | |
std::map< core::Size, core::Size > | num_neighbors_map_ |
the number of neighbors for each of the central residues More... | |
std::set< core::Size > | neighbors_ |
the set of neighbors, INCLUSIVE of central_residues More... | |
this calculator determines the number and resids of residues within X angstroms of a group of given residues. Its intended purpose is the backend for a TaskOperation that allows one to construct a PackerTask based on neighborhoods around a set of particular residues. It can return its set of central residues, the total count of their neighbors as determined by the sub-calculators (inclusive of the central residues), and the identities of those neighbors.
typedef core::pose::metrics::StructureDependentCalculator protocols::toolbox::pose_metric_calculators::NeighborhoodByDistanceCalculator::parent |
protocols::toolbox::pose_metric_calculators::NeighborhoodByDistanceCalculator::NeighborhoodByDistanceCalculator | ( | std::set< core::Size > | central_residues) |
ctor for positions, dist_cutoff will be initialized using default value from option system
Referenced by clone().
protocols::toolbox::pose_metric_calculators::NeighborhoodByDistanceCalculator::NeighborhoodByDistanceCalculator | ( | std::set< core::Size > | central_residues, |
core::Real | dist_cutoff | ||
) |
ctor for positions, with custom dist_cutoff supplied by user
protocols::toolbox::pose_metric_calculators::NeighborhoodByDistanceCalculator::NeighborhoodByDistanceCalculator | ( | NeighborhoodByDistanceCalculator const & | calculator) |
copy ctor
|
inline |
return central residues set
References central_residues_.
|
virtual |
Implements core::pose::metrics::PoseMetricCalculator.
References NeighborhoodByDistanceCalculator().
|
inline |
return distance cutoff
References dist_cutoff_.
|
protectedvirtual |
Implements core::pose::metrics::StructureDependentCalculator.
References central_residues_, dist_cutoff_, neighbors_, num_neighbors_, and num_neighbors_map_.
|
protectedvirtual |
Implements core::pose::metrics::StructureDependentCalculator.
References central_residues_, dist_cutoff_, core::sequence::end, neighbors_, num_neighbors_, and num_neighbors_map_.
|
protectedvirtual |
Implements core::pose::metrics::StructureDependentCalculator.
References central_residues_, core::pose::Pose::conformation(), core::graph::Node::const_edge_list_end(), dist_cutoff_, core::sequence::end, core::graph::Edge::get_node(), neighbors_, num_neighbors_, num_neighbors_map_, core::conformation::residue_point_graph_from_conformation(), and core::pose::Pose::total_residue().
|
private |
whose neighbors are we finding?
Referenced by central_residues(), lookup(), print(), and recompute().
|
private |
stores the input - how far away is a neighbor?
Referenced by dist_cutoff(), lookup(), print(), and recompute().
|
private |
the set of neighbors, INCLUSIVE of central_residues
Referenced by lookup(), print(), and recompute().
|
private |
the number of neighbors, INCLUSIVE of central residues
Referenced by lookup(), print(), and recompute().
|
private |
the number of neighbors for each of the central residues
Referenced by lookup(), print(), and recompute().