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<ParticleIndex, ParticleIndexes> data_;
46 std::string name =
"CloseNeighborsTable%1%");
51 return data_.find(pi)->second;
A shared container for Pairs.
A container for Singletons.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
const ParticleIndexes & get_neighbors(ParticleIndex pi) const
virtual ModelObjectsTemp do_get_outputs() const
virtual ModelObjectsTemp do_get_inputs() const
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
ScoreStates maintain invariants in the Model.
A smart pointer to a ref-counted Object that is a class member.
A nullptr-initialized pointer to an IMP Object.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for adding derivatives from restraints to the model.
void set_was_used(bool tf) const