9 #ifndef IMPCORE_NEIGHBORS_TABLE_H
10 #define IMPCORE_NEIGHBORS_TABLE_H
12 #include <IMP/core/core_config.h>
16 #include <boost/unordered_map.hpp>
18 IMPCORE_BEGIN_NAMESPACE
30 std::size_t input_version_;
31 boost::unordered_map<ParticleIndex, ParticleIndexes> data_;
45 std::string name =
"CloseNeighborsTable%1%");
50 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
A more IMP-like version of the std::vector.
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