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.
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) |
IMP::core::ClosePairsPairScore::ClosePairsPairScore | ( | Refiner * | r, | |
PairScore * | f, | |||
Float | max_distance, | |||
FloatKey | rk = XYZR::get_default_radius_key() | |||
) |
[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. |