IMP logo

IMP::SingletonScore Class Reference


Detailed Description

Abstract score function.

SingletonScores will evaluate the score and derivatives for the passed particles. Use in conjunction with various restraints such as IMP::core::SingletonsRestraint or IMP::core::SingletonRestraint.

Implementers should check out IMP_SINGLETON_SCORE().

Inheritance diagram for IMP::SingletonScore:

Inheritance graph
[legend]

Public Member Functions

def __disown__
virtual double evaluate (const ParticlesTemp &o, DerivativeAccumulator *da) const =0
virtual double evaluate (Particle *vt, DerivativeAccumulator *da) const =0
 Compute the score and the derivative if needed.
virtual ContainersTemp get_input_containers (Particle *vt) const =0
virtual ParticlesTemp get_input_particles (Particle *vt) const =0
virtual ParticlesList get_interacting_particles (Particle *vt) const =0
 SingletonScore (std::string name="SingletonScore %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_SINGLETON_SCORE() macro.

virtual double evaluate_change (const ParticlesTemp &o, DerivativeAccumulator *da) const =0
virtual double evaluate_change (Particle *vt, DerivativeAccumulator *da) const =0
virtual double evaluate_prechange (const ParticlesTemp &o, DerivativeAccumulator *da) const =0
virtual double evaluate_prechange (Particle *vt, DerivativeAccumulator *da) const =0
virtual bool get_is_changed (Particle *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::SingletonScore::evaluate ( const ParticlesTemp o,
DerivativeAccumulator da 
) const [pure virtual]

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

virtual ContainersTemp IMP::SingletonScore::get_input_containers ( Particle vt  )  const [pure virtual]

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

virtual ParticlesTemp IMP::SingletonScore::get_input_particles ( Particle vt  )  const [pure virtual]

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

virtual ParticlesList IMP::SingletonScore::get_interacting_particles ( Particle 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