12 #ifndef IMPCORE_QUAD_PREDICATES_H
13 #define IMPCORE_QUAD_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=
"ConstQuadPredicate%1%");
35 return ModelObjectsTemp();
46 =
"UnorderedTypeQuadPredicate%1%");
48 return internal::get_type_hash(m, pi);
62 =
"OrderedTypeQuadPredicate%1%");
64 return internal::get_ordered_type_hash(m, pi);
72 return internal::get_ordered_type_hash(types);
80 =
"AllSameQuadPredicate%1%");
82 return internal::get_all_same(m, pi);
85 return ModelObjectsTemp();
92 mutable boost::uniform_real<double> rng_;
95 =
"CoinFlipQuadPredicate%1%");
103 return ModelObjectsTemp();
108 IMPCORE_END_NAMESPACE