8#ifndef IMPSPB_KINK_PAIR_SCORE_H
9#define IMPSPB_KINK_PAIR_SCORE_H
11#include <IMP/spb/spb_config.h>
21class IMPSPBEXPORT KinkPairScore :
public PairScore {
A nullptr-initialized pointer to an IMP Object.
Single variable function.
Class for adding derivatives from restraints to the model.
Class for storing model, its restraints, constraints, and particles.
Abstract single variable functor class for score functions.
Score on the crossing angles between two helices.
virtual IMP::ModelObjectsTemp do_get_inputs(IMP::Model *m, const IMP::ParticleIndexes &pis) const override
Overload this method to specify the inputs.
virtual double evaluate_index(IMP::Model *m, const IMP::ParticleIndexPair &p, DerivativeAccumulator *da) const override
Compute the score and the derivative if needed.
IMP::Vector< IMP::Pointer< KinkPairScore > > KinkPairScores
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_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Macros for various classes.
#define IMP_PAIR_SCORE_METHODS(Name)
#define IMP_SHOWABLE(Name)
A smart pointer to a ref-counted Object that is a class member.