IMP logo

IMP::core::ConnectingPairContainer Class Reference


Detailed Description

A container which keeps a set of pairs that connect a set of spheres.

This container is for implementing connectivity when

The contents of this container are a set of pairs defining a tree over the spheres in the supplied SingletonContainer. This set of edges has the property that

It is significantly more efficient than the ConnectivityRestraint but less flexible.

See also:
{ConnectivityRestraint}
Inheritance diagram for IMP::core::ConnectingPairContainer:

Inheritance graph
[legend]

Public Member Functions

void apply (const PairModifier *sm, DerivativeAccumulator &da)
void apply (const PairModifier *sm)
 ConnectingPairContainer (SingletonContainer *sc, double error, bool mst)
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

Friends

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

Constructor & Destructor Documentation

IMP::core::ConnectingPairContainer::ConnectingPairContainer ( SingletonContainer sc,
double  error,
bool  mst 
)

For efficiency, the set of edges is only updated occasionally. The error parameter determines how far particles need to move before the set of edges is updated.


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

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