/** * \file RigidBodyDistancePairScore.h * \brief Act on the distance between two rigid bodies * * Copyright 2007-8 IMP Inventors. All rights reserved. */ #ifndef IMPCORE_RIGID_BODY_DISTANCE_PAIR_SCORE_H #define IMPCORE_RIGID_BODY_DISTANCE_PAIR_SCORE_H #include "core_config.h" #include "ClosePairsPairScore.h" #include #include #include #include IMPCORE_BEGIN_NAMESPACE //! Accelerated computation of the distance between two rigid bodies /** Rigid bodies are made of a collection of particles whose internal relationships don't change. The distance between two rigid bodies can be defined as the minimal distance over all bipartite pairs with one particle taken from each rigid body. This computation can be accelerated (similarly to the RigidClosePairsFinder). The passed PairScore is then applied to this minimal pair to give the returned score. */ class IMPCOREEXPORT RigidBodyDistancePairScore: public KClosePairsPairScore { public: /** Use the passed refiner for both particles. */ RigidBodyDistancePairScore(PairScore *ps, Refiner *r); }; IMPCORE_END_NAMESPACE #endif /* IMPCORE_RIGID_BODY_DISTANCE_PAIR_SCORE_H */