#include <all_atom_potential.hh>
Public Types | |
| typedef MultiClassifier< float, int, int, float > | AllAtomEnergies |
Public Member Functions | |
| void | SaveToFile (const String &filename) |
| float | GetTotalEnergy (mol::EntityView view) |
| float | GetEnergy (atom::ChemType type_a, atom::ChemType type_b, float distance) |
| float | GetTotalEnergy (mol::EntityView view, mol::EntityView target_view) |
| int | GetEnergyCounts () const |
| void | SetSequenceSeparation (int seq_sep) |
| template<typename DS > | |
| void | Serialize (DS &ds) |
| void | Fill (const InteractionStatisticsPtr &stats) |
Static Public Member Functions | |
| static AllAtomPotentialPtr | Create (const InteractionStatisticsPtr &s, const AllAtomPotentialOpts &o) |
| static AllAtomPotentialPtr | LoadFromFile (const String &filename) |
Definition at line 61 of file all_atom_potential.hh.
| typedef MultiClassifier<float, int, int, float> AllAtomEnergies |
parameters: atom type one, atom type two, distance
Definition at line 100 of file all_atom_potential.hh.
| static AllAtomPotentialPtr Create | ( | const InteractionStatisticsPtr & | s, | |
| const AllAtomPotentialOpts & | o | |||
| ) | [static] |
calculate new statistical potential from the given statistics and options
| void Fill | ( | const InteractionStatisticsPtr & | stats | ) |
| float GetEnergy | ( | atom::ChemType | type_a, | |
| atom::ChemType | type_b, | |||
| float | distance | |||
| ) |
extract energy of a specific interaction (for plotting pseudo Lennard-Jones potential).
| int GetEnergyCounts | ( | ) | const |
retrieve total number of interactions (for normalisation)
| float GetTotalEnergy | ( | mol::EntityView | view, | |
| mol::EntityView | target_view | |||
| ) |
calculate all-atom interaction between two entities. Two entities need to be provided: the atoms for which the energy should be derived and the atoms with respect to which the energy should be calculted.
| float GetTotalEnergy | ( | mol::EntityView | view | ) |
calculate all-atom interaction score for whole entity
| static AllAtomPotentialPtr LoadFromFile | ( | const String & | filename | ) | [static] |
load interaction potential from file
| void SaveToFile | ( | const String & | filename | ) |
save interaction potential to file
| void Serialize | ( | DS & | ds | ) | [inline] |
| void SetSequenceSeparation | ( | int | seq_sep | ) |
set different seqeunce separation than used for training
1.5.8