12 #ifndef IMPCORE_PAIR_PREDICATES_H
13 #define IMPCORE_PAIR_PREDICATES_H
15 #include <IMP/core/core_config.h>
18 #include <boost/random.hpp>
19 #include "internal/container_helpers.h"
21 IMPCORE_BEGIN_NAMESPACE
29 std::string name=
"ConstPairPredicate%1%");
35 return ModelObjectsTemp();
46 =
"UnorderedTypePairPredicate%1%");
48 return internal::get_type_hash(m, pi);
62 =
"OrderedTypePairPredicate%1%");
64 return internal::get_ordered_type_hash(m, pi);
72 return internal::get_ordered_type_hash(types);
80 =
"AllSamePairPredicate%1%");
82 return internal::get_all_same(m, pi);
85 return ModelObjectsTemp();
92 mutable boost::uniform_real<double> rng_;
95 =
"CoinFlipPairPredicate%1%");
103 return ModelObjectsTemp();
108 IMPCORE_END_NAMESPACE