IMP logo
Public Member Functions | Static Public Member Functions | Protected Member Functions
IMP::misc::StateAdaptor Class Reference

Detailed Description

Allow OptimizerStates to be used as ScoreStates.

You can have up to two, one for before, and one for after.

+ Inheritance diagram for IMP::misc::StateAdaptor:

List of all members.

Public Member Functions

 StateAdaptor (OptimizerState *before, OptimizerState *after)
 set the before and after states
- Public Member Functions inherited from IMP::ScoreState
 ScoreState (Model *m, std::string name="ScoreState %1%")
void after_evaluate (DerivativeAccumulator *accpt)
void before_evaluate ()
- Public Member Functions inherited from IMP::ModelObject
 ModelObject (Model *m, std::string name)
ModelObjectsTemp get_inputs () const
Modelget_model () const
ModelObjectsTemp get_outputs () 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 StateAdaptorget_from (IMP::base::Object *o)

Protected Member Functions

virtual void do_after_evaluate (DerivativeAccumulator *da)
virtual void do_before_evaluate ()
virtual ContainersTemp get_input_containers () const
virtual ParticlesTemp get_input_particles () const
virtual ContainersTemp get_output_containers () const
virtual ParticlesTemp get_output_particles () const

Constructor & Destructor Documentation

IMP::misc::StateAdaptor::StateAdaptor ( OptimizerState before,
OptimizerState after 
)

set the before and after states


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

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