8#ifndef IMPATOM_SAME_RESIDUE_PAIR_FILTER_H
9#define IMPATOM_SAME_RESIDUE_PAIR_FILTER_H
11#include <IMP/atom/atom_config.h>
15IMPATOM_BEGIN_NAMESPACE
22class IMPATOMEXPORT SameResiduePairFilter :
public PairPredicate {
24 SameResiduePairFilter();
Class for storing model, its restraints, constraints, and particles.
virtual int get_value_index(Model *m, const ParticleIndexPair &p) const override
Compute the predicate and the derivative if needed.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the inputs.
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
Array< 2, ParticleIndex > ParticleIndexPair
An ordered pair of particles, each identified by its ParticleIndex.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Macros for various classes.
#define IMP_PAIR_PREDICATE_METHODS(Name)
Define extra the functions needed for a PairPredicate.