IMP logo

IMP::QuadScore Class Reference


Detailed Description

Abstract score function.

QuadScores will evaluate the score and derivatives for the passed particles. Use in conjunction with various restraints such as IMP::core::QuadsRestraint or IMP::core::QuadRestraint.

Implementers should check out IMP_QUAD_SCORE().

Inheritance diagram for IMP::QuadScore:

Inheritance graph
[legend]

Public Member Functions

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

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

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

virtual ContainersTemp IMP::QuadScore::get_input_containers ( const ParticleQuad &  vt  )  const [pure virtual]

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

virtual ParticlesTemp IMP::QuadScore::get_input_particles ( const ParticleQuad &  vt  )  const [pure virtual]

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

virtual ParticlesList IMP::QuadScore::get_interacting_particles ( const ParticleQuad &  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:44 2010 for IMP by doxygen 1.5.8