IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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-2013 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
>
14
#include <
IMP/SingletonContainer.h
>
15
#include <
IMP/PairScore.h
>
16
#include <
IMP/Refiner.h
>
17
18
IMPCORE_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
*/
29
class
IMPCOREEXPORT
RigidBodyDistancePairScore
:
public
KClosePairsPairScore
30
{
31
public
:
32
/** Use the passed refiner for both particles. */
33
RigidBodyDistancePairScore
(
PairScore
*ps,
Refiner
*r);
34
};
35
36
37
IMPCORE_END_NAMESPACE
38
39
#endif
/* IMPCORE_RIGID_BODY_DISTANCE_PAIR_SCORE_H */