#include <conformationSet.h>
Public Types | |
typedef std::pair< Index, float > | Conformation |
The conformations are scored as indices into the vector of snapshots with a score. | |
Public Member Functions | |
ConformationSet (const System &system) | |
void | setup (const System &system) throw () |
Operations. | |
void | add (const float score, const System &conformations) throw () |
const System & | getSystem () const throw () |
System & | getSystem () throw () |
void | setScoring (std::vector< Conformation > &score) throw () |
Use score as the new scoring information. | |
const std::vector< Conformation > & | getScoring () const throw () |
Return the current scoring. | |
void | resetScoring () throw () |
Reset the scoring vector to the identity permutation with identical scores of 0. | |
const std::vector< SnapShot > & | getUnscoredConformations () const throw () |
Returns the _unranked_ list of conformations, i.e. | |
const SnapShot & | operator[] (const Index pos) const |
Returns the i-th snapshot using the current scoring information. | |
bool | writeDCDFile (const String &filename, const Size num=0) |
Export the first num results in the order of the current scoring as dcd file with name filename. | |
bool | readDCDFile (const String &filename) throw () |
Size | size () const |
Return the number of conformations. | |
Protected Attributes | |
std::vector< Conformation > | snapshot_order_ |
Attributes. | |
System | system_ |
The original system on which the SnapShots are based. | |
vector< SnapShot > | structures_ |
The SnapShots. |
|
Return the current scoring.
|
|
Returns the _unranked_ list of conformations, i.e. the conformations in the order in which they were added. |
|
Returns the i-th snapshot using the current scoring information. TODO: Exception handling |
|
Reset the scoring vector to the identity permutation with identical scores of 0.
|
|
Use score as the new scoring information.
|
|
Return the number of conformations.
|
|
Export the first num results in the order of the current scoring as dcd file with name filename. If num == 0, all results are exported. |