IMP logo

IMP::TripletScore Class Reference


Detailed Description

Abstract score function.

TripletScores will evaluate the score and derivatives for the passed particles. Use in conjunction with various restraints such as IMP::core::TripletsRestraint or IMP::core::TripletRestraint.

Implementers should check out IMP_TRIPLET_SCORE().

Inheritance diagram for IMP::TripletScore:

Inheritance graph
[legend]

Public Member Functions

def __disown__
virtual double evaluate (const ParticleTripletsTemp &o, DerivativeAccumulator *da) const =0
virtual double evaluate (const ParticleTriplet &vt, DerivativeAccumulator *da) const =0
 Compute the score and the derivative if needed.
virtual ContainersTemp get_input_containers (const ParticleTriplet &vt) const =0
virtual ParticlesTemp get_input_particles (const ParticleTriplet &vt) const =0
virtual ParticlesList get_interacting_particles (const ParticleTriplet &vt) const =0
 TripletScore (std::string name="TripletScore %1%")
Incremental evaluation
Compute how much the score has changed since the last evaluate (and writing derivatives if they have changed). Implementations for these are provided by the IMP_TRIPLET_SCORE() macro.

virtual double evaluate_change (const ParticleTripletsTemp &o, DerivativeAccumulator *da) const =0
virtual double evaluate_change (const ParticleTriplet &vt, DerivativeAccumulator *da) const =0
virtual double evaluate_prechange (const ParticleTripletsTemp &o, DerivativeAccumulator *da) const =0
virtual double evaluate_prechange (const ParticleTriplet &vt, DerivativeAccumulator *da) const =0
virtual bool get_is_changed (const ParticleTriplet &vt) const =0
 Return true if the score for vt might have changed.

Friends

template<class T >
void IMP::internal::unref (T *)

Member Function Documentation

virtual double IMP::TripletScore::evaluate ( const ParticleTripletsTemp &  o,
DerivativeAccumulator da 
) const [pure virtual]

Implementations for these are provided by the IMP_TRIPLET_SCORE() macro.

virtual ContainersTemp IMP::TripletScore::get_input_containers ( const ParticleTriplet &  vt  )  const [pure virtual]

Get the set of input containers when this modifier is applied to the arguments.

virtual ParticlesTemp IMP::TripletScore::get_input_particles ( const ParticleTriplet &  vt  )  const [pure virtual]

Get the set of particles read when applied to the arguments.

virtual ParticlesList IMP::TripletScore::get_interacting_particles ( const ParticleTriplet &  vt  )  const [pure virtual]

Get the set of interaction induced by applying to the argument.


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

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