9 #ifndef IMPDOMINO_DOMINO_SAMPLER_H
10 #define IMPDOMINO_DOMINO_SAMPLER_H
12 #include <IMP/domino/domino_config.h>
16 #include "internal/inference_utility.h"
19 #include <IMP/internal/OwnerPointer.h>
21 IMPDOMINO_BEGIN_NAMESPACE
34 Pointer<AssignmentsTable> sst_;
37 bool has_sg_, has_mt_;
39 mutable internal::InferenceStatistics stats_;
44 std::string name=
"DominoSampler %1%");
73 get_number_of_assignments_for_vertex(
unsigned int tree_vertex)
const;
76 get_sample_assignments_for_vertex(
unsigned int tree_vertex)
const;
94 Assignments get_vertex_assignments(
unsigned int node_index,
95 unsigned int max_states
96 =std::numeric_limits<int>::max())
const;
101 Assignments get_vertex_assignments(
unsigned int node_index,
104 unsigned int max_states
105 =std::numeric_limits<int>::max())
const;
109 void load_vertex_assignments(
unsigned int node_index,
111 unsigned int max_states
112 =std::numeric_limits<int>::max())
const;
117 void load_vertex_assignments(
unsigned int node_index,
121 unsigned int max_states
122 =std::numeric_limits<int>::max())
const;
131 IMPDOMINO_END_NAMESPACE