9#ifndef IMPDOMINO_ASSIGNMENT_TABLES_H
10#define IMPDOMINO_ASSIGNMENT_TABLES_H
16#include <IMP/domino/domino_config.h>
21#include <boost/unordered_map.hpp>
22#include <boost/pending/disjoint_sets.hpp>
23#include <boost/property_map/property_map.hpp>
25IMPDOMINO_BEGIN_NAMESPACE
34 AssignmentsTable(std::string name =
"AssignmentsTable %1%") :
Object(name) {}
35 virtual void load_assignments(
const Subset &s,
46class IMPDOMINOEXPORT SimpleAssignmentsTable :
public AssignmentsTable {
55 std::numeric_limits<unsigned int>::max());
65class IMPDOMINOEXPORT RecursiveAssignmentsTable :
public AssignmentsTable {
75 std::numeric_limits<unsigned int>::max());
91class IMPDOMINOEXPORT BranchAndBoundAssignmentsTable :
public AssignmentsTable {
92#if !defined(SWIG) && !defined(IMP_DOXYGEN)
99#if IMP_HAS_CHECKS >= IMP_INTERNAL
100 boost::unordered_map<Particle *, ParticlesTemp> rls_;
108 std::numeric_limits<unsigned int>::max());
119class IMPDOMINOEXPORT ListAssignmentsTable :
public AssignmentsTable {
120 boost::unordered_map<Subset, IMP::PointerMember<AssignmentContainer>>
124 ListAssignmentsTable(std::string name =
"ListAssignmentsTable %1%");
141IMPDOMINO_END_NAMESPACE
A Bayesian inference-based sampler.
Base class for all samplers.
A Bayesian inference-based sampler.
Container classes to store assignments.
Common base class for heavy weight IMP objects.
Object(std::string name)
Construct an object with the given name.
The base class for containers of assignments.
void set_assignments(const Subset &s, AssignmentContainer *lsc)
Represent a subset of the particles being optimized.
Various important macros for implementing decorators.
Various general useful macros for IMP.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
IMP::Vector< IMP::Pointer< AssignmentsTable > > AssignmentsTables
IMP::Vector< IMP::Pointer< SubsetFilterTable > > SubsetFilterTables
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A Bayesian inference-based sampler.
A smart pointer to a reference counted object.
A Bayesian inference-based sampler.