IMP
2.1.0
The Integrative Modeling Platform
|
A class to store a set of configurations of a model. More...
#include <IMP/kernel/ConfigurationSet.h>
Public Member Functions | |
ConfigurationSet (kernel::Model *m, std::string name="ConfigurationSet %1%") | |
Model * | get_model () const |
unsigned int | get_number_of_configurations () const |
virtual std::string | get_type_name () const |
virtual ::IMP::base::VersionInfo | get_version_info () const |
Get information about the module and version of the object. | |
void | load_configuration (int i) const |
Load the ith configuration into the Model. More... | |
void | remove_configuration (unsigned int i) |
void | save_configuration () |
Save the current configuration of the Model. | |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
virtual void | do_destroy () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
Object () | |
The class maintains a set of structures found by a Sampler protocol and allows them to be queried and loaded and saved.
Definition at line 28 of file kernel/ConfigurationSet.h.
void IMP::kernel::ConfigurationSet::load_configuration | ( | int | i | ) | const |
Passing -1 returns it to the base configuration.