IMP logo

IMP::core::ClosePairsPairScore Class Reference


Detailed Description

Traverse the Refiner hierarchy to find all pairs which are close.

The Refiner implicitly defines a tree rooted at each particle. This PairScore applies another PairScore to all pairs of leaves, one taken from each tree such that the leaves are closer than the threshold.

Note:
All particles in the tree must be XYZR particles for the passed radius. In addition, the ball defined by a particle must contain the balls of all its leaves.
See also:
ClosePairsScoreState
Inheritance diagram for IMP::core::ClosePairsPairScore:

Inheritance graph
[legend]

Public Member Functions

 ClosePairsPairScore (Refiner *r, PairScore *f, Float max_distance, FloatKey rk=XYZR::get_default_radius_key())
ContainersTemp get_input_containers (const ParticlePair &p) const
ParticlesTemp get_input_particles (const ParticlePair &p) const
ParticlesList get_interacting_particles (const ParticlePair &p) const
bool get_is_changed (const ParticlePair &pp) const
 IMP_PAIR_SCORE_BASE (ClosePairsPairScore)

Constructor & Destructor Documentation

IMP::core::ClosePairsPairScore::ClosePairsPairScore ( Refiner r,
PairScore f,
Float  max_distance,
FloatKey  rk = XYZR::get_default_radius_key() 
)

Parameters:
[in] r The Refiner to call on each particle
[in] f The pair score to apply to the generated pairs
[in] max_distance Only score pairs which are close than the max_distance
[in] rk The key to use for the radius.


The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:08:55 2010 for IMP by doxygen 1.5.8