![]() |
Rosetta Core
2014.16.56682
|
#include <RingConformerSet.hh>
Public Member Functions | |
| RingConformerSet (core::uint const ring_size) | |
| Standard constructor. More... | |
| RingConformerSet (RingConformerSet const &object_to_copy) | |
| Copy constructor. More... | |
| RingConformerSet & | operator= (RingConformerSet const &object_to_copy) |
| virtual | ~RingConformerSet () |
| virtual void | show (std::ostream &output=std::cout) const |
| Generate string representation of RingConformerSet for debugging purposes. More... | |
| core::Size | ring_size () const |
| Return the ring size of the conformers in this set. More... | |
| core::Size | size () const |
| Return the size of the conformer set. More... | |
| utility::vector1 < RingConformer > const & | get_all_nondegenerate_conformers () const |
| Return a list of all nondegenerate conformers in the set. More... | |
| RingConformer const & | get_ideal_conformer_by_name (std::string const name) const |
| Return the conformer corresponding to the requested name. More... | |
| RingConformer const & | get_ideal_conformer_by_CP_parameters (utility::vector1< core::Real > const parameters) const |
| Return the conformer that is the best fit for the provided Cremer-Pople parameters. More... | |
| RingConformer | get_ideal_conformer_from_nus (utility::vector1< core::Angle > const angles) const |
| Return the conformer that is the best fit for the provided list of nu angles. More... | |
| RingConformer | get_lowest_energy_conformer () const |
| Return the conformer that is known from studies (if available) to be the lowest energy ring conformer. More... | |
| RingConformer const & | get_random_conformer () const |
| Return a random conformer from the set. More... | |
| RingConformer | get_random_local_min_conformer () const |
| Return a random conformer from the subset of conformers that are local minima. More... | |
Private Member Functions | |
| RingConformerSet () | |
| void | init (core::uint const ring_size) |
| void | copy_data (RingConformerSet object_to_copy_to, RingConformerSet object_to_copy_from) |
Static Private Member Functions | |
| static utility::vector1 < RingConformer > const & | conformers_for_ring_size (core::Size ring_size) |
| A set of ring conformers for the requested ring size. More... | |
Static Private Attributes | |
| static RingConformer const | DUMMY_CONFORMER |
| core::chemical::RingConformerSet::RingConformerSet | ( | core::uint const | ring_size | ) |
Standard constructor.
| <ring_size> | an unsigned integer expressing the size of the saccharide ring |
References init().
| core::chemical::RingConformerSet::RingConformerSet | ( | RingConformerSet const & | object_to_copy | ) |
Copy constructor.
References copy_data().
|
virtual |
|
private |
References init().
|
staticprivate |
A set of ring conformers for the requested ring size.
References basic::options::OptionKeys::in::path::database, filename(), basic::options::option, core::chemical::read_conformers_from_database_file_for_ring_size(), and ring_size().
Referenced by init().
|
private |
References degenerate_conformers_, nondegenerate_conformers_, and ring_size_.
Referenced by operator=(), and RingConformerSet().
| utility::vector1< RingConformer > const & core::chemical::RingConformerSet::get_all_nondegenerate_conformers | ( | ) | const |
Return a list of all nondegenerate conformers in the set.
References nondegenerate_conformers_.
| RingConformer const & core::chemical::RingConformerSet::get_ideal_conformer_by_CP_parameters | ( | utility::vector1< core::Real > const | parameters | ) | const |
Return the conformer that is the best fit for the provided Cremer-Pople parameters.
| <parameter> | an appropriate, ordered list of C-P parameters, with angles in degrees: |
For 4-membered rings, provide q.
For 5-membered rings, provide q, phi.
For 6-membered rings, provide q, phi, theta. For ideal conformers, q is ignored, if non-zero, except for 4-membered rings, where only the sign matters.
References core::chemical::RingConformer::CP_parameters, DUMMY_CONFORMER, nondegenerate_conformers_, nonnegative_principal_angle_degrees(), core::chemical::PHI, core::chemical::q, ring_size_, core::chemical::THETA, core::chemical::TR, and utility_exit_with_message.
| RingConformer const & core::chemical::RingConformerSet::get_ideal_conformer_by_name | ( | std::string const | name | ) | const |
Return the conformer corresponding to the requested name.
| <name> | the IUPAC name for a specific ring conformation, e.g., "1C4" |
For a saccharide residue, the provided name assumes a ring with the anomeric carbon labeled 1. That is, for a 2-ketopyranose in the 2C5 chair form, provide 1C4.
References DUMMY_CONFORMER, nondegenerate_conformers_, core::chemical::RingConformer::specific_name, and utility_exit_with_message.
| RingConformer core::chemical::RingConformerSet::get_ideal_conformer_from_nus | ( | utility::vector1< core::Angle > const | angles | ) | const |
Return the conformer that is the best fit for the provided list of nu angles.
| RingConformer core::chemical::RingConformerSet::get_lowest_energy_conformer | ( | ) | const |
Return the conformer that is known from studies (if available) to be the lowest energy ring conformer.
| RingConformer const & core::chemical::RingConformerSet::get_random_conformer | ( | ) | const |
Return a random conformer from the set.
References degenerate_conformers_, RG, and numeric::random::RandomGenerator::uniform().
| RingConformer core::chemical::RingConformerSet::get_random_local_min_conformer | ( | ) | const |
Return a random conformer from the subset of conformers that are local minima.
|
private |
References conformers_for_ring_size(), core::chemical::RingConformer::degeneracy, degenerate_conformers_, nondegenerate_conformers_, ring_size(), and ring_size_.
Referenced by RingConformerSet().
| RingConformerSet & core::chemical::RingConformerSet::operator= | ( | RingConformerSet const & | object_to_copy | ) |
References copy_data().
|
inline |
Return the ring size of the conformers in this set.
References ring_size_.
Referenced by conformers_for_ring_size(), and init().
|
virtual |
Generate string representation of RingConformerSet for debugging purposes.
References nondegenerate_conformers_.
Referenced by core::chemical::operator<<().
| core::Size core::chemical::RingConformerSet::size | ( | ) | const |
Return the size of the conformer set.
References nondegenerate_conformers_.
|
private |
Referenced by copy_data(), get_random_conformer(), and init().
|
staticprivate |
Referenced by get_ideal_conformer_by_CP_parameters(), and get_ideal_conformer_by_name().
|
private |
|
private |
|
private |
|
private |
Referenced by copy_data(), get_ideal_conformer_by_CP_parameters(), init(), and ring_size().
1.8.7