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"
21IMPDOMINO_BEGIN_NAMESPACE
32class IMPDOMINOEXPORT DominoSampler :
public DiscreteSampler {
38 mutable internal::InferenceStatistics stats_;
41 DominoSampler(
Model *m, std::string name =
"DominoSampler %1%");
43 std::string name =
"DominoSampler %1%");
92 unsigned int max_states =
93 std::numeric_limits<int>::max())
const;
101 unsigned int max_states =
102 std::numeric_limits<int>::max())
const;
106 unsigned int max_states =
107 std::numeric_limits<int>::max())
const;
116 unsigned int max_states =
117 std::numeric_limits<int>::max())
const;
124IMPDOMINO_END_NAMESPACE
A base class for discrete samplers.
A nullptr-initialized pointer to an IMP Object.
Base class for all samplers.
Class for storing model, its restraints, constraints, and particles.
The base class for containers of assignments.
Sample best solutions using Domino.
void load_vertex_assignments(unsigned int node_index, AssignmentContainer *ac, unsigned int max_states=std::numeric_limits< int >::max()) const
Fill in assignments for a leaf.
void set_use_cross_subset_filtering(bool tf)
void set_merge_tree(const MergeTree &mt)
Specify the merge tree directly.
Assignments get_sample_assignments_for_vertex(unsigned int tree_vertex) const
Return a few subset states from that merge.
unsigned int get_number_of_assignments_for_vertex(unsigned int tree_vertex) const
Get the number of states found for the merge at that vertex of the tree.
Assignments get_vertex_assignments(unsigned int node_index, unsigned int max_states=std::numeric_limits< int >::max()) const
Fill in assignments for a leaf.
void load_vertex_assignments(unsigned int node_index, AssignmentContainer *first, AssignmentContainer *second, AssignmentContainer *ac, unsigned int max_states=std::numeric_limits< int >::max()) const
Fill in assignments for an internal node.
Assignments get_vertex_assignments(unsigned int node_index, const Assignments &first, const Assignments &second, unsigned int max_states=std::numeric_limits< int >::max()) const
Fill in assignments for an internal node.
Represent a subset of the particles being optimized.
Various general useful macros for IMP.
IMP::Vector< Assignment > Assignments
IMP::Vector< IMP::Pointer< DominoSampler > > DominoSamplers
#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 smart pointer to a reference counted object.
A Bayesian inference-based sampler.