IMP logo
Public Member Functions | Static Public Member Functions
IMP::core::WriteRestraintScoresOptimizerState Class Reference

Detailed Description

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.

+ Inheritance diagram for IMP::core::WriteRestraintScoresOptimizerState:

List of all members.

Public Member Functions

 WriteRestraintScoresOptimizerState (const Restraints &rs, base::TextOutput out)
void do_update (unsigned int call_number)
unsigned int get_period () const
void reset ()
void set_is_optimizing (bool tf)
void set_period (unsigned int p)
virtual void update ()
 Called when the Optimizer accepts a new conformation.
- Public Member Functions inherited from IMP::OptimizerState
 OptimizerState (std::string name="OptimizerState %1%")
Optimizerget_optimizer () const
- Public Member Functions inherited from IMP::base::Object
std::size_t __hash__ () const
virtual std::string get_type_name () const =0
 Return a string identifying the type of the object.
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.
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)

Static Public Member Functions

static
WriteRestraintScoresOptimizerState
get_from (IMP::base::Object *o)

Additional Inherited Members

- Protected Attributes inherited from IMP::OptimizerState
UncheckedWeakPointer< Optimizeroptimizer_

Member Function Documentation

void IMP::core::WriteRestraintScoresOptimizerState::set_is_optimizing ( bool  )
virtual

Called with true at the beginning of an optimizing run and with false at the end.

Reimplemented from IMP::OptimizerState.

virtual void IMP::core::WriteRestraintScoresOptimizerState::update ( )
virtual

Called when the Optimizer accepts a new conformation.

Implements IMP::OptimizerState.


The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:32 for IMP by doxygen 1.8.1