IMP
2.0.0
The Integrative Modeling Platform
|
Sample best solutions using BranchAndBound. More...
#include <IMP/domino/BranchAndBoundSampler.h>
Public Member Functions | |
BranchAndBoundSampler (Model *m, std::string name="BranchAndBoundSampler %1%") | |
BranchAndBoundSampler (Model *m, ParticleStatesTable *pst, std::string name="BranchAndBoundSampler %1%") | |
virtual void | do_show (std::ostream &out) const |
![]() | |
DiscreteSampler (Model *m, ParticleStatesTable *pst, std::string name) | |
unsigned int | get_maximum_number_of_assignments () const |
Assignments | get_sample_assignments (const Subset &s) const |
void | set_maximum_number_of_assignments (unsigned int mx) |
void | set_particle_states (Particle *p, ParticleStates *se) |
void | set_particle_states_table (ParticleStatesTable *cse) |
void | set_assignments_table (AssignmentsTable *sst) |
ParticleStatesTable * | get_particle_states_table () const |
void | remove_subset_filter_table (SubsetFilterTable *d) |
void | remove_subset_filter_tables (const SubsetFilterTables &d) |
void | set_subset_filter_tables (const SubsetFilterTables &ps) |
void | set_subset_filter_tables_order (const SubsetFilterTables &objs) |
unsigned int | add_subset_filter_table (SubsetFilterTable *obj) |
void | add_subset_filter_tables (const SubsetFilterTables &objs) |
void | clear_subset_filter_tables () |
unsigned int | get_number_of_subset_filter_tables () const |
bool | get_has_subset_filter_tables () |
SubsetFilterTable * | get_subset_filter_table (unsigned int i) const |
SubsetFilterTables | get_subset_filter_tables () const |
void | reserve_subset_filter_tables (unsigned int sz) |
![]() | |
Sampler (Model *m, std::string name="Sampler %1%") | |
ConfigurationSet * | create_sample () const |
Model * | get_model () const |
ScoringFunction * | get_scoring_function () const |
void | set_scoring_function (ScoringFunctionAdaptor sf) |
![]() | |
virtual void | clear_caches () |
virtual IMP::base::VersionInfo | get_version_info () const =0 |
Get information about the module and version of the object. | |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Related Functions | |
(Note that these are not member functions.) | |
typedef IMP::base::Vector < IMP::base::WeakPointer < BranchAndBoundSampler > > | BranchAndBoundSamplersTemp |
![]() | |
typedef IMP::base::Vector < IMP::base::WeakPointer < DiscreteSampler > > | DiscreteSamplersTemp |
![]() | |
typedef IMP::base::Vector < IMP::base::WeakPointer < Sampler > > | SamplersTemp |
![]() | |
typedef IMP::base::Vector < IMP::base::WeakPointer < Object > > | ObjectsTemp |
Additional Inherited Members | |
![]() | |
virtual Assignments | do_get_sample_assignments (const Subset &all) const =0 |
virtual ConfigurationSet * | do_sample () const |
AssignmentsTable * | get_assignments_table_to_use (const SubsetFilterTables &sfts, unsigned int max=std::numeric_limits< int >::max()) const |
SubsetFilterTables | get_subset_filter_tables_to_use (const RestraintsTemp &rs, ParticleStatesTable *pst) const |
Find all good configurations of the model using branch and bound. Searches are truncated when the score is worse than the the thresholds in the Sampler or when two particles with the same ParticlesState are assigned the same state.
Definition at line 29 of file BranchAndBoundSampler.h.
|
related |
Pass a set of objects.
Definition at line 39 of file BranchAndBoundSampler.h.