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_;
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
void set_was_used(bool tf) const
A smart pointer to a ref-counted Object that is a class member.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A shared container for Pairs.
ScoreStates maintain invariants in the Model.
virtual kernel::ModelObjectsTemp do_get_outputs() const
A nullptr-initialized pointer to an IMP Object.
const kernel::ParticleIndexes & get_neighbors(kernel::ParticleIndex pi) const
A container for Singletons.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.