BALL
1.4.79
|
#include <BALL/SCORING/COMPONENTS/hydrogenBond.h>
Classes | |
struct | Default |
struct | Option |
Public Types | |
enum | Mode { LIGAND_HYDROGENS, RECEPTOR_HYDROGENS, ALL_HYDROGENS } |
Additional Inherited Members | |
Protected Member Functions inherited from BALL::ScoringComponent | |
double | scaleScore (double score) const |
Protected Attributes inherited from BALL::ScoringComponent | |
bool | ligand_intra_molecular_ |
bool | gridable_ |
bool | atom_pairwise_ |
ScoringFunction * | scoring_function_ |
ScoringBaseFunction * | base_function_ |
double | score_ |
double | coefficient_ |
double | stddev_ |
double | mean_ |
bool | enabled_ |
String | type_name_ |
Fresno Hydrogen Bond component.
Definition at line 17 of file hydrogenBond.h.
Enumerator | |
---|---|
LIGAND_HYDROGENS | |
RECEPTOR_HYDROGENS | |
ALL_HYDROGENS |
Definition at line 84 of file hydrogenBond.h.
BALL::HydrogenBond::HydrogenBond | ( | ScoringFunction & | sf, |
Mode | mode | ||
) | |||
throw | ( | ||
) |
Constructor.
BALL::HydrogenBond::HydrogenBond | ( | ScoringComponent & | sc, |
Mode | mode | ||
) | |||
throw | ( | ||
) |
Constructor.
BALL::HydrogenBond::HydrogenBond | ( | const HydrogenBond & | fhb | ) | |
throw | ( | ||||
) |
Copy constructor
|
virtual |
Destructor.
|
virtual |
Clear method.
Reimplemented from BALL::ScoringComponent.
void BALL::HydrogenBond::enableChargeEvaluation | ( | bool | b | ) |
If charge-evaluation is enabled, hydrogen bonds with large charge difference between hydrogen bond acceptor and hydrogen will receive a better score than those with a small difference.
By default, this is disabled.
const HydrogenBond& BALL::HydrogenBond::operator= | ( | const HydrogenBond & | fhb | ) | |
throw | ( | ||||
) |
Assignment.
bool BALL::HydrogenBond::operator== | ( | const HydrogenBond & | fhb | ) | const |
throw | ( | ||||
) |
|
virtual |
Setup method.
Reimplemented from BALL::ScoringComponent.
|
virtual |
Function that needs to be called once for every new ligand.
The default implementation of this base class does nothing and should be overloaded by derived classes if necessary.
Reimplemented from BALL::ScoringComponent.
|
virtual |
Update possible_hydrogen_bonds_ from the given AtomPairVector.
If intermolecular H-bonds are to be evaluated, the first atom of each pair must be a ligand atom and the second one a receptor atom. This is automatically done this way by ScoringFunction::createNonbondedPairVector().
Reimplemented from BALL::ScoringComponent.
|
virtual |
Calculate the score for this component (for all interactions that have been set by the last call of update()) and return the score.
The coefficient assigned by the user to this component should be taken into account for the calculation, so that the weighted score is returned.
Reimplemented from BALL::ScoringComponent.