8 #ifndef IMPMISC_LOG_PAIR_SCORE_H
9 #define IMPMISC_LOG_PAIR_SCORE_H
11 #include <IMP/misc/misc_config.h>
16 IMPMISC_BEGIN_NAMESPACE
42 it != map_.end(); ++it) {
43 ret.push_back(it->first);
51 return map_.find(pp) != map_.end();
62 if (map_.find(pp) == map_.end()) {
kernel::ParticlePairsTemp get_particle_pairs() const
Get a list of all pairs (without multiplicity)
Class for adding derivatives from restraints to the model.
IMP::base::Vector< IMP::base::WeakPointer< kernel::ModelObject > > ModelObjectsTemp
Particle * get_particle(ParticleIndex p) const
Track the pairs of particles passed.
#define IMP_PAIR_SCORE_METHODS(Name)
LogPairScore()
create with an empty map
bool get_contains(const kernel::ParticlePair &pp) const
Return true if the pair is in the list.
virtual kernel::ModelObjectsTemp do_get_inputs(kernel::Model *, const kernel::ParticleIndexes &) const
A class to store an fixed array of same-typed values.
Import IMP/kernel/PairScore.h in the namespace.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
void clear()
Clear the lst of pairs.
double Float
Basic floating-point value (could be float, double...)
Declare an efficient stl-compatible map.
Class for storing model, its restraints, constraints, and particles.
Import IMP/kernel/generic.h in the namespace.