IMP  2.0.1
The Integrative Modeling Platform
IMP::container::PairContainerStatistics Class Reference

Track statistics on a PairContainer. More...

#include <IMP/container/PairContainerStatistics.h>

+ Inheritance diagram for IMP::container::PairContainerStatistics:

Public Member Functions

 PairContainerStatistics (PairContainerAdaptor c)
 
virtual void do_show (std::ostream &out) const
 
void set_track_unique (bool tf)
 
void show_statistics (std::ostream &out) const
 
- Public Member Functions inherited from IMP::kernel::ScoreState
 ScoreState (Model *m, std::string name="ScoreState %1%")
 
void after_evaluate (DerivativeAccumulator *accpt)
 Do post evaluation work if needed.
 
void before_evaluate ()
 Force update of the structure.
 
ContainersTemp get_input_containers () const
 
ParticlesTemp get_input_particles () const
 
ContainersTemp get_output_containers () const
 
ParticlesTemp get_output_particles () const
 
- Public Member Functions inherited from IMP::kernel::ModelObject
 ModelObject (Model *m, std::string name)
 
ModelObjectsTemp get_inputs () const
 
ModelObjectsTemps get_interactions () const
 
Modelget_model () const
 
ModelObjectsTemp get_outputs () const
 
- 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_after_evaluate (DerivativeAccumulator *da)
 
virtual void do_before_evaluate ()
 
- Protected Member Functions inherited from IMP::kernel::ScoreState
virtual void do_update_dependencies ()
 
- Protected Member Functions inherited from IMP::kernel::ModelObject
virtual ModelObjectsTemp do_get_inputs () const =0
 
virtual ModelObjectsTemps do_get_interactions () const
 
virtual ModelObjectsTemp do_get_outputs () const =0
 
virtual void update_dependencies ()
 
- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)
 Construct an object with the given name. More...
 

Additional Inherited Members

Detailed Description

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.

Definition at line 27 of file PairContainerStatistics.h.

Member Function Documentation

void IMP::container::PairContainerStatistics::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: