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>
27IMPCONTAINER_BEGIN_NAMESPACE
36class IMPCONTAINEREXPORT DistributePairsScoreState :
public ScoreState {
38 typedef boost::tuple<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));
65IMPCONTAINER_END_NAMESPACE
Store a list of ParticlePairsTemp.
A class for storing lists of IMP items.
Class for adding derivatives from restraints to the model.
const std::string & get_name() const
Get the (not necessarily unique) name of this object.
Abstract predicate function.
A more IMP-like version of the std::vector.
Store a ParticleIndexPairs.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_NEW(Typename, varname, args)
Declare a ref counted pointer to a new object.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Macros for various classes.
A smart pointer to a ref-counted Object that is a class member.