IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
RigidBodyDistancePairScore.h
Go to the documentation of this file.
1/**
2 * \file IMP/core/RigidBodyDistancePairScore.h
3 * \brief Act on the distance between two rigid bodies
4 *
5 * Copyright 2007-2022 IMP Inventors. All rights reserved.
6 */
7
8#ifndef IMPCORE_RIGID_BODY_DISTANCE_PAIR_SCORE_H
9#define IMPCORE_RIGID_BODY_DISTANCE_PAIR_SCORE_H
10
11#include <IMP/core/core_config.h>
12#include "ClosePairsPairScore.h"
13#include <IMP/PairContainer.h>
15#include <IMP/PairScore.h>
16#include <IMP/Refiner.h>
17
18IMPCORE_BEGIN_NAMESPACE
19
20//! Accelerated computation of the distance between two rigid bodies
21/** Rigid bodies are made of a collection of particles whose internal
22 relationships don't change. The distance between two rigid bodies
23 can be defined as the minimal distance over all bipartite pairs
24 with one particle taken from each rigid body. This computation can
25 be accelerated (similarly to the RigidClosePairsFinder). The passed
26 PairScore is then applied to this minimal pair to give the returned
27 score.
28 */
30 public:
31 /** Use the passed refiner for both particles. */
33};
34
35IMPCORE_END_NAMESPACE
36
37#endif /* IMPCORE_RIGID_BODY_DISTANCE_PAIR_SCORE_H */
Apply a PairScore to close pairs.
A container for Pairs.
Define PairScore.
Refine a particle into a list of particles.
A container for Singletons.
Abstract class to implement hierarchical methods.
Definition Refiner.h:36
KClosePairsPairScore(PairScore *f, Refiner *r, int k=1)
only score the k closest pairs.
RigidBodyDistancePairScore(PairScore *ps, Refiner *r)