IMP logo

IMP::container::MaximumPairRestraint Class Reference


Detailed Description

Score based on the maximum pair over a set of Pairs.

The score is evaluated for each of the Pairs in the container and the value of the maximum n scores is used. That is, if n is 1, the value of the restraint is the value of the maximum score over the container.

Inheritance diagram for IMP::container::MaximumPairRestraint:

Inheritance graph
[legend]

Public Member Functions

ContainersTemp get_input_containers () const
ParticlesTemp get_input_particles () const
ParticlesList get_interacting_particles () const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const
 MaximumPairRestraint (PairScore *f, PairContainer *c, unsigned int n=1, std::string name="MaximumPairRestraint %1%")
void set_n (unsigned int n)
 Set the number of lowest scores to use.
virtual double unprotected_evaluate (DerivativeAccumulator *accum) const

Friends

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

Constructor & Destructor Documentation

IMP::container::MaximumPairRestraint::MaximumPairRestraint ( PairScore f,
PairContainer c,
unsigned int  n = 1,
std::string  name = "MaximumPairRestraint %1%" 
)

n is the number of maximum scores to use.


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

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