|
OpenStructure
|
#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) |
| const AllAtomPotentialOpts & | GetOptions () const |
| 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 63 of file all_atom_potential.hh.
| typedef MultiClassifier<float, int, int, float> AllAtomEnergies |
parameters: atom type one, atom type two, distance
Definition at line 105 of file all_atom_potential.hh.
|
static |
calculate new statistical potential from the given statistics and options
| void Fill | ( | const InteractionStatisticsPtr & | stats | ) |
|
inline |
extract energy of a specific interaction (for plotting pseudo Lennard-Jones potential).
Definition at line 81 of file all_atom_potential.hh.
|
inline |
retrieve total number of interactions (for normalisation)
Definition at line 93 of file all_atom_potential.hh.
|
inline |
Definition at line 98 of file all_atom_potential.hh.
| float GetTotalEnergy | ( | mol::EntityView | view | ) |
calculate all-atom interaction score for whole entity
| 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.
|
static |
load interaction potential from file
| void SaveToFile | ( | const String & | filename | ) |
save interaction potential to file
| void Serialize | ( | DS & | ds | ) |
| void SetSequenceSeparation | ( | int | seq_sep | ) |
set different seqeunce separation than used for training
1.8.1.1