/** * \file ClosePairsFinder.cpp * \brief Algorithm base class to find close pairs. * * Copyright 2007-2010 IMP Inventors. All rights reserved. * */ #include "IMP/core/ClosePairsFinder.h" #include "IMP/core/internal/MovedSingletonContainer.h" #include IMPCORE_BEGIN_NAMESPACE ClosePairsFinder::ClosePairsFinder(std::string name): Object(name), distance_(std::numeric_limits::quiet_NaN()){ set_was_used(true); } ClosePairsFinder::~ClosePairsFinder(){} internal::MovedSingletonContainer* ClosePairsFinder::get_moved_singleton_container(SingletonContainer *in, Model *m, double threshold) const { return new internal::MovedSingletonContainerImpl, internal::SaveXYZRValues, internal::SaveMovedValues, internal::ListXYZRMovedParticles>(m, in, threshold); } IMPCORE_END_NAMESPACE