IMP logo
Public Member Functions | Static Public Member Functions | Protected Member Functions
IMP::container::SingletonContainerStatistics Class Reference

Detailed Description

Track statistics on a SingletonContainer.

The current statistics are average and min/max occupancy. Other statistics can be added on request, but we probably want to restrict it to ones that are cheap to gather.

+ Inheritance diagram for IMP::container::SingletonContainerStatistics:

List of all members.

Public Member Functions

 SingletonContainerStatistics (SingletonContainerInput c)
void set_track_unique (bool tf)
void show_statistics (std::ostream &out) const
- 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
SingletonContainerStatistics
get_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

Member Function Documentation

void IMP::container::SingletonContainerStatistics::set_track_unique ( bool  tf)

Keeping track of the number of unique entries seen is expensive, so it is not done by default.


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

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