IMP  2.0.1
The Integrative Modeling Platform
BranchAndBoundSampler.h
Go to the documentation of this file.
1 /**
2  * \file IMP/domino/BranchAndBoundSampler.h
3  * \brief A beyesian infererence-based sampler.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPDOMINO_BRANCH_AND_BOUND_SAMPLER_H
10 #define IMPDOMINO_BRANCH_AND_BOUND_SAMPLER_H
11 
12 #include <IMP/domino/domino_config.h>
13 //#include "Evaluator.h"
14 #include "DiscreteSampler.h"
15 #include <IMP/Sampler.h>
16 #include <IMP/macros.h>
17 #include <IMP/internal/OwnerPointer.h>
18 
19 IMPDOMINO_BEGIN_NAMESPACE
20 
21 
22 
23 //! Sample best solutions using BranchAndBound
24 /** Find all good configurations of the model using branch and bound.
25  Searches are truncated when the score is worse than the the thresholds
26  in the Sampler or when two particles with the same ParticlesState
27  are assigned the same state.
28  */
29 class IMPDOMINOEXPORT BranchAndBoundSampler : public DiscreteSampler
30 {
31 public:
32  BranchAndBoundSampler(Model *m, std::string name="BranchAndBoundSampler %1%");
34  std::string name="BranchAndBoundSampler %1%");
36 };
37 
38 
40 
41 
42 IMPDOMINO_END_NAMESPACE
43 
44 #endif /* IMPDOMINO_BRANCH_AND_BOUND_SAMPLER_H */