/** * \file IMP/container/CloseBipartitePairContainer.h * \brief Return all pairs from a SingletonContainer * * This file is generated by a script (core/tools/make-container). * Do not edit directly. * * Copyright 2007-2013 IMP Inventors. Close rights reserved. */ #ifndef IMPCONTAINER_CLOSE_BIPARTITE_PAIR_CONTAINER_H #define IMPCONTAINER_CLOSE_BIPARTITE_PAIR_CONTAINER_H #include #include #include #include #include #include #include #include IMPCONTAINER_BEGIN_NAMESPACE /** \brief Return all close ordered pairs of particles taken from the two SingletonContainers. 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. \usesconstraint */ class IMPCONTAINEREXPORT CloseBipartitePairContainer: #if defined(IMP_DOXYGEN) || defined(SWIG) public PairContainer #else public IMP::core::internal::CoreCloseBipartitePairContainer #endif { typedef IMP::core::internal::CoreCloseBipartitePairContainer P; public: //! Get the individual particles from the passed SingletonContainer CloseBipartitePairContainer(SingletonContainerAdaptor a, SingletonContainerAdaptor b, double distance, double slack=1); #ifndef IMP_DOXYGEN //! Get the individual particles from the passed SingletonContainer CloseBipartitePairContainer(SingletonContainerAdaptor a, SingletonContainerAdaptor b, double distance, core::ClosePairsFinder *cpf, double slack=1); #endif #if defined(IMP_DOXYGEN) || defined(SWIG) /** @name Methods to control the set of filters PairPredicate objects can be used as filters to prevent the addition of pairs to the containeroutput list. Pairs for which the predicates evaluate to a non-zero value are excluded from the list. */ /**@{*/ IMP_LIST_ACTION(public, PairPredicate, PairPredicates, pair_filter, pair_filters, PairPredicate*, PairPredicates, obj->set_was_used(true);,,); /**@}*/ IMP_PAIR_CONTAINER(CloseBipartitePairContainer); #endif }; IMPCONTAINER_END_NAMESPACE #endif /* IMPCONTAINER_CLOSE_BIPARTITE_PAIR_CONTAINER_H */