IMP
2.0.0
The Integrative Modeling Platform
|
#include <IMP/core/model_statistics.h>
Public Member Functions | |
WriteRestraintScoresOptimizerState (const Restraints &rs, base::TextOutput out) | |
Public Member Functions inherited from IMP::core::PeriodicOptimizerState | |
PeriodicOptimizerState (std::string name) | |
unsigned int | get_number_of_updates () const |
Return the number of times update has been called. | |
unsigned int | get_period () const |
virtual void | reset () |
void | set_number_of_updates (unsigned int n) |
Set the counter. | |
void | set_period (unsigned int p) |
void | update_always () |
Public Member Functions inherited from IMP::kernel::OptimizerState | |
OptimizerState (std::string name="OptimizerState %1%") | |
Optimizer * | get_optimizer () const |
virtual void | set_is_optimizing (bool) |
virtual void | update ()=0 |
Called when the Optimizer accepts a new conformation. | |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
virtual IMP::base::VersionInfo | get_version_info () const =0 |
Get information about the module and version of the object. | |
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) |
Protected Member Functions | |
virtual void | do_update (unsigned int call_num) |
Additional Inherited Members | |
Protected Attributes inherited from IMP::kernel::OptimizerState | |
UncheckedWeakPointer< Optimizer > | optimizer_ |
Related Functions inherited from IMP::core::PeriodicOptimizerState | |
typedef IMP::base::Vector < IMP::base::WeakPointer < PeriodicOptimizerState > > | PeriodicOptimizerStatesTemp |
Periodically call write the scores of the passed restraints to a file. The file starts with a line whose first character is a # with the names of the restraints separated by commas and then has one line per periodic update with comma separated scores for each restraint.
Definition at line 27 of file model_statistics.h.
|
protectedvirtual |
This method is called every get_period() update calls.
Implements IMP::core::PeriodicOptimizerState.