IMP logo

IMP::container::ListPairContainer Class Reference


Detailed Description

Store a list of ParticlePairs.

Note:
The indexes can change when particles are inserted as the list is maintained in sorted order.
Inheritance diagram for IMP::container::ListPairContainer:

Inheritance graph
[legend]

Public Member Functions

void apply (const PairModifier *sm, DerivativeAccumulator &da)
void apply (const PairModifier *sm)
double evaluate (const PairScore *s, DerivativeAccumulator *da) const
double evaluate_change (const PairScore *s, DerivativeAccumulator *da) const
double evaluate_prechange (const PairScore *s, DerivativeAccumulator *da) const
ParticlesTemp get_contained_particles () const
bool get_contained_particles_changed () const
bool get_contains_particle_pair (const ParticlePair &p) const
ContainersTemp get_input_containers () const
unsigned int get_number_of_particle_pairs () const
ParticlePair get_particle_pair (unsigned int i) const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const
 ListPairContainer (const char *name)
 ListPairContainer (std::string name="ListPairContainer %1%")
 ListPairContainer (const ParticlePairs &ps, std::string name="ListPairContainer %1%")
 construct and pass an initial set of particle_pairs
Methods to control the contained objects
This container stores a list of ParticlePair objects. To manipulate the list use these methods.

void add_particle_pair (const ParticlePair &vt)
void add_particle_pairs (const ParticlePairsTemp &c)
void clear_particle_pairs ()
void set_particle_pairs (ParticlePairsTemp c)

Friends

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

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