9 #ifndef IMPCORE_NEIGHBORS_TABLE_H
10 #define IMPCORE_NEIGHBORS_TABLE_H
12 #include <IMP/core/core_config.h>
13 #include "internal/CoreClosePairContainer.h"
17 #include <boost/unordered_map.hpp>
19 IMPCORE_BEGIN_NAMESPACE
31 std::size_t input_version_;
32 boost::unordered_map<kernel::ParticleIndex, kernel::ParticleIndexes> data_;
41 virtual void do_before_evaluate() IMP_OVERRIDE;
46 std::string name =
"CloseNeighborsTable%1%");
51 return data_.find(pi)->second;
virtual kernel::ModelObjectsTemp do_get_inputs() const
Class for adding derivatives from restraints to the model.
IMP::base::Vector< IMP::base::WeakPointer< kernel::ModelObject > > ModelObjectsTemp
A nullptr-initialized pointer to an IMP Object.
void set_was_used(bool tf) const
A smart pointer to a ref-counted Object that is a class memeber.
A shared container for Pairs.
ScoreStates maintian invariants in the Model.
virtual kernel::ModelObjectsTemp do_get_outputs() const
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
const kernel::ParticleIndexes & get_neighbors(kernel::ParticleIndex pi) const
A container for Singletons.