12 #ifndef IMPCONTAINER_SINGLETON_CONTAINER_STATISTICS_H
13 #define IMPCONTAINER_SINGLETON_CONTAINER_STATISTICS_H
15 #include <IMP/container/container_config.h>
18 #include <boost/unordered_set.hpp>
20 IMPCONTAINER_BEGIN_NAMESPACE
33 boost::unordered_set<Particle*> unique_;
37 void show_statistics(std::ostream &out)
const;
41 void set_track_unique(
bool tf);
49 IMPCONTAINER_END_NAMESPACE
A container for Singletons.
virtual void do_before_evaluate()=0
Update the state given the current state of the model.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual void do_after_evaluate(DerivativeAccumulator *accpt)=0
Do any necessary updates after the model score is calculated.
A more IMP-like version of the std::vector.
A smart pointer to a reference counted object.
ScoreStates maintain invariants in the Model.
Track statistics on a SingletonContainer.
virtual ModelObjectsTemp do_get_outputs() const =0
virtual ModelObjectsTemp do_get_inputs() const =0
Class for adding derivatives from restraints to the model.