Rosetta
Public Member Functions | Private Attributes | Friends | List of all members
core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond Class Reference

A hydrogen bond between two atoms in two residues. Since this is tied to a BuriedUnsatPenaltyEdge (which in turn is associated with two residues), it stores only donor group index and acceptor group index. The group indices match the indexing in the corresponding node. More...

#include <BuriedUnsatPenaltyGraph.hh>

Inheritance diagram for core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond:
Inheritance graph
[legend]

Public Member Functions

 BuriedUnsatPenaltyGraphHbond ()
 Default constructor. More...
 
 BuriedUnsatPenaltyGraphHbond (bool const first_node_is_the_acceptor, core::Size const donor_group_index, core::Size const acceptor_group_index, core::Real const energy, core::Size const lower_numbered_node_symmetry_copy_index, core::Size const higher_numbered_node_symmetry_copy_index)
 Initialization constructor. More...
 
 BuriedUnsatPenaltyGraphHbond (BuriedUnsatPenaltyGraphHbond const &src)
 Copy constructor. More...
 
 ~BuriedUnsatPenaltyGraphHbond () override
 Destructor. More...
 
BuriedUnsatPenaltyGraphHbondoperator= (BuriedUnsatPenaltyGraphHbond const &src)
 Assignment operator. More...
 
core::Size donor_group () const
 Get the index of the Hbond donor group in the donor residue. More...
 
core::Size acceptor_group () const
 Get the index of the Hbond acceptor group in the donor residue. More...
 
bool first_node_is_the_acceptor () const
 Is the first node the acceptor? More...
 
core::Size lower_numbered_node_symmetry_copy_index () const
 Get the symmetry copy index of the lower-numbered node. More...
 
core::Size higher_numbered_node_symmetry_copy_index () const
 Get the symmetry copy index of the higher-numbered node. More...
 
core::Size acceptor_symmetry_copy_index () const
 Get the symmetry copy index of the node that's the acceptor. More...
 
core::Size donor_symmetry_copy_index () const
 Get the symmetry copy index of the node that's the donor. More...
 

Private Attributes

bool first_node_is_the_acceptor_
 Is the first node the acceptor? More...
 
core::Size donor_group_index_
 The index of the Hbond donor group in the donor residue. More...
 
core::Size acceptor_group_index_
 The index of the Hbond acceptor group in the acceptor residue. More...
 
core::Real energy_
 The energy of the hydrogen bond. More...
 
core::Size lower_numbered_node_symmetry_copy_index_
 The symmetry copy index of the lower-numbered node. More...
 
core::Size higher_numbered_node_symmetry_copy_index_
 The symmetry copy index of the higher-numbered node. More...
 

Friends

class ::BuriedUnsatPenaltyGraphTests
 
class ::BuriedUnsatPenaltyGraphSymmetricTests
 
class ::BuriedUnsatPenaltyTests
 
class ::BuriedUnsatPenaltySymmetricTests
 

Detailed Description

A hydrogen bond between two atoms in two residues. Since this is tied to a BuriedUnsatPenaltyEdge (which in turn is associated with two residues), it stores only donor group index and acceptor group index. The group indices match the indexing in the corresponding node.

A "donor group" can be a single atom or a collection of related atoms (e.g. the pair of NH2 protons in an aspartate side-chain). This allows us to impose a little bit of prior knowledge: sometimes, you're satisfied if one of the protons in a group is making a hydrogen bond.

Constructor & Destructor Documentation

◆ BuriedUnsatPenaltyGraphHbond() [1/3]

core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::BuriedUnsatPenaltyGraphHbond ( )

Default constructor.

◆ BuriedUnsatPenaltyGraphHbond() [2/3]

core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::BuriedUnsatPenaltyGraphHbond ( bool const  first_node_is_the_acceptor,
core::Size const  donor_group_index,
core::Size const  acceptor_group_index,
core::Real const  energy,
core::Size const  lower_numbered_node_symmetry_copy_index,
core::Size const  higher_numbered_node_symmetry_copy_index 
)

◆ BuriedUnsatPenaltyGraphHbond() [3/3]

core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::BuriedUnsatPenaltyGraphHbond ( BuriedUnsatPenaltyGraphHbond const &  src)

Copy constructor.

◆ ~BuriedUnsatPenaltyGraphHbond()

core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::~BuriedUnsatPenaltyGraphHbond ( )
overridedefault

Destructor.

Member Function Documentation

◆ acceptor_group()

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::acceptor_group ( ) const
inline

◆ acceptor_symmetry_copy_index()

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::acceptor_symmetry_copy_index ( ) const

◆ donor_group()

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::donor_group ( ) const
inline

◆ donor_symmetry_copy_index()

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::donor_symmetry_copy_index ( ) const

◆ first_node_is_the_acceptor()

bool core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::first_node_is_the_acceptor ( ) const
inline

◆ higher_numbered_node_symmetry_copy_index()

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::higher_numbered_node_symmetry_copy_index ( ) const
inline

Get the symmetry copy index of the higher-numbered node.

Returns 1 in the asymmetric case.

References higher_numbered_node_symmetry_copy_index_.

◆ lower_numbered_node_symmetry_copy_index()

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::lower_numbered_node_symmetry_copy_index ( ) const
inline

Get the symmetry copy index of the lower-numbered node.

Returns 1 in the asymmetric case.

References lower_numbered_node_symmetry_copy_index_.

◆ operator=()

BuriedUnsatPenaltyGraphHbond & core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::operator= ( BuriedUnsatPenaltyGraphHbond const &  src)

Friends And Related Function Documentation

◆ ::BuriedUnsatPenaltyGraphSymmetricTests

friend class ::BuriedUnsatPenaltyGraphSymmetricTests
friend

◆ ::BuriedUnsatPenaltyGraphTests

friend class ::BuriedUnsatPenaltyGraphTests
friend

◆ ::BuriedUnsatPenaltySymmetricTests

friend class ::BuriedUnsatPenaltySymmetricTests
friend

◆ ::BuriedUnsatPenaltyTests

friend class ::BuriedUnsatPenaltyTests
friend

Member Data Documentation

◆ acceptor_group_index_

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::acceptor_group_index_
private

The index of the Hbond acceptor group in the acceptor residue.

Referenced by acceptor_group(), BuriedUnsatPenaltyGraphHbond(), and operator=().

◆ donor_group_index_

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::donor_group_index_
private

The index of the Hbond donor group in the donor residue.

Referenced by BuriedUnsatPenaltyGraphHbond(), donor_group(), and operator=().

◆ energy_

core::Real core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::energy_
private

The energy of the hydrogen bond.

Referenced by operator=().

◆ first_node_is_the_acceptor_

bool core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::first_node_is_the_acceptor_
private

◆ higher_numbered_node_symmetry_copy_index_

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::higher_numbered_node_symmetry_copy_index_
private

The symmetry copy index of the higher-numbered node.

Always 1 in the asymmetric case.

Referenced by acceptor_symmetry_copy_index(), BuriedUnsatPenaltyGraphHbond(), donor_symmetry_copy_index(), higher_numbered_node_symmetry_copy_index(), and operator=().

◆ lower_numbered_node_symmetry_copy_index_

core::Size core::pack::guidance_scoreterms::buried_unsat_penalty::graph::BuriedUnsatPenaltyGraphHbond::lower_numbered_node_symmetry_copy_index_
private

The symmetry copy index of the lower-numbered node.

Always 1 in the asymmetric case.

Referenced by acceptor_symmetry_copy_index(), BuriedUnsatPenaltyGraphHbond(), donor_symmetry_copy_index(), lower_numbered_node_symmetry_copy_index(), and operator=().


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