13 #ifndef IMPCONTAINER_DISTRIBUTE_PAIRS_SCORE_STATE_H
14 #define IMPCONTAINER_DISTRIBUTE_PAIRS_SCORE_STATE_H
16 #include <IMP/container/container_config.h>
23 #include <boost/tuple/tuple.hpp>
27 IMPCONTAINER_BEGIN_NAMESPACE
38 typedef boost::tuple<base::Pointer<DynamicListPairContainer>,
41 mutable std::size_t input_version_;
42 void update_lists_if_necessary()
const;
47 "DistributePairsScoreState %1%");
54 (input_, predicate->get_name() +
" output"));
55 data_.push_back(Data(c, predicate, value));
58 virtual void do_before_evaluate() IMP_OVERRIDE;
65 IMPCONTAINER_END_NAMESPACE
Class for adding derivatives from restraints to the model.
Import IMP/kernel/pair_macros.h in the namespace.
IMP::base::Vector< IMP::base::WeakPointer< kernel::ModelObject > > ModelObjectsTemp
A smart pointer to a ref-counted Object that is a class memeber.
Store a list of kernel::ParticlePairsTemp.
#define IMP_NEW(Typename, varname, args)
Declare a ref counted pointer to a new object.
ScoreStates maintian invariants in the Model.
Import IMP/kernel/PairContainer.h in the namespace.
Import IMP/kernel/PairPredicate.h in the namespace.
A class for storing lists of IMP items.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Abstract predicate function.
Store a kernel::ParticleIndexPairs.