See ClosePairContainer for a more detailed description. This container lists all close pairs of particles where one particle is taken from each of the input sets.
Public Member Functions | |
void | apply (const PairModifier *sm, DerivativeAccumulator &da) |
void | apply (const PairModifier *sm) |
CloseBipartitePairContainer (SingletonContainer *a, SingletonContainer *b, Model *m, double distance, core::ClosePairsFinder *cpf, double slack=1) | |
If the container is empty, you can pass the model explicitly. | |
CloseBipartitePairContainer (SingletonContainer *a, SingletonContainer *b, double distance, core::ClosePairsFinder *cpf, double slack=1) | |
Get the individual particles from the passed SingletonContainer. | |
CloseBipartitePairContainer (SingletonContainer *a, SingletonContainer *b, Model *m, double distance, double slack=1) | |
If the container is empty, you can pass the model explicitly. | |
CloseBipartitePairContainer (SingletonContainer *a, SingletonContainer *b, double distance, double slack=1) | |
Get the individual particles from the passed SingletonContainer. | |
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 |
Methods to control the set of filters | |
PairContainer objects can be used as filters to prevent the addition of pairs to the containeroutput list. Pairs which are contained in any container added to this list will be excluded from the close pairs list. | |
unsigned int | add_pair_filter (PairFilter *obj) |
void | add_pair_filters (const PairFilters &obj) |
void | clear_pair_filters () |
bool | get_has_pair_filters () const |
return true if there are any objects in the container | |
unsigned int | get_number_of_pair_filters () const |
PairFilter * | get_pair_filter (unsigned int i) const |
PairFilterConstIterator | pair_filters_begin () const |
PairFilterIterator | pair_filters_begin () |
PairFilterConstIterator | pair_filters_end () const |
PairFilterIterator | pair_filters_end () |
void | remove_pair_filter (PairFilter *d) |
Remove any occurences of d from the container. | |
void | remove_pair_filters (const PairFilters &d) |
Remove any occurences of each item in d. | |
template<class F > | |
void | remove_pair_filters_if (const F &f) |
Remove any occurrences for which f is true. | |
void | reserve_pair_filters (unsigned int sz) |
void | set_pair_filters (const PairFilters &ps) |
Friends | |
template<class T > | |
void | IMP::internal::unref (T *) |
unsigned int IMP::container::CloseBipartitePairContainer::add_pair_filter | ( | PairFilter * | obj | ) |
void IMP::container::CloseBipartitePairContainer::add_pair_filters | ( | const PairFilters & | obj | ) |
Add several objects to the container. They are not necessarily added at the end.
PairFilter* IMP::container::CloseBipartitePairContainer::get_pair_filter | ( | unsigned int | i | ) | const |
Get the object refered to by the index
IndexException | in Python if the index is out of range |
void IMP::container::CloseBipartitePairContainer::set_pair_filters | ( | const PairFilters & | ps | ) |
Set the contents of the container to ps removing all its current contents.