13 #ifndef IMPCONTAINER_DISTRIBUTE_QUADS_SCORE_STATE_H
14 #define IMPCONTAINER_DISTRIBUTE_QUADS_SCORE_STATE_H
16 #include <IMP/container/container_config.h>
24 #include <boost/tuple/tuple.hpp>
28 IMPCONTAINER_BEGIN_NAMESPACE
39 typedef boost::tuple<base::Pointer<DynamicListQuadContainer>,
42 mutable int input_version_;
43 void update_lists_if_necessary()
const;
48 "DistributeQuadsScoreState %1%");
55 (input_, predicate->get_name() +
" output"));
56 data_.push_back(Data(c, predicate, value));
59 virtual void do_before_evaluate() IMP_OVERRIDE;
66 IMPCONTAINER_END_NAMESPACE
Store a list of ParticleQuadsTemp.
Import IMP/kernel/QuadPredicate.h in the namespace.
Class for adding derivatives from restraints to the model.
IMP::base::Vector< IMP::base::WeakPointer< kernel::ModelObject > > ModelObjectsTemp
A smart pointer to a ref-counted Object that is a class memeber.
Import IMP/kernel/quad_macros.h in the namespace.
Import IMP/kernel/QuadContainer.h in the namespace.
Abstract predicate function.
Store a ParticleIndexQuads.
#define IMP_NEW(Typename, varname, args)
Declare a ref counted pointer to a new object.
ScoreStates maintian invariants in the Model.
DynamicListQuadContainer * add_predicate(QuadPredicate *predicate, int value)
A class for storing lists of IMP items.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Import IMP/kernel/score_state_macros.h in the namespace.
Distribute contents of one container into several based on predicates.