IMP Reference Guide
2.22.0
The Integrative Modeling Platform
|
Simple implementation of the Rapidly-exploring Random Trees algorithm. More...
#include <IMP/kinematics/RRT.h>
Simple implementation of the Rapidly-exploring Random Trees algorithm.
Classes | |
class | RRTNode |
Simple RRT node implementation. More... | |
Public Member Functions | |
RRT (Model *m, DOFsSampler *sampler, LocalPlanner *planner, const DOFs &cspace_dofs, unsigned int iteration_number=1000, unsigned int tree_size=100, unsigned int number_of_sampled_dofs=0) | |
Constructor. More... | |
void | check_initial_configuration (ScoringFunction *sf) const |
IMP::ConfigurationSet * | do_sample () const override |
DOFValuesList | get_DOFValuesList () |
virtual std::string | get_type_name () const override |
virtual ::IMP::VersionInfo | get_version_info () const override |
Get information about the module and version of the object. More... | |
bool | run (unsigned int number_of_iterations=0) |
Run the specified number of iterations. More... | |
void | set_actual_tree_size (unsigned int num) |
Set the actual tree size - not including path nodes. More... | |
void | set_number_of_collisions (unsigned int num) |
Set the number of collisions. More... | |
void | set_number_of_iterations (unsigned int num) |
Set number of RRT iterations. More... | |
void | set_tree_size (unsigned int num) |
Set tree size. More... | |
Public Member Functions inherited from IMP::Sampler | |
Sampler (Model *m, std::string name="Sampler %1%") | |
ConfigurationSet * | create_sample () const |
Model * | get_model () const |
ScoringFunction * | get_scoring_function () const |
Return the scoring function that is being used. More... | |
void | set_scoring_function (ScoringFunctionAdaptor sf) |
Public Member Functions inherited from IMP::Object | |
virtual void | clear_caches () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
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) |
Friends | |
std::ostream & | operator<< (std::ostream &s, const Parameters &p) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
virtual void | do_destroy () |
IMP::kinematics::RRT::RRT | ( | Model * | m, |
DOFsSampler * | sampler, | ||
LocalPlanner * | planner, | ||
const DOFs & | cspace_dofs, | ||
unsigned int | iteration_number = 1000 , |
||
unsigned int | tree_size = 100 , |
||
unsigned int | number_of_sampled_dofs = 0 |
||
) |
Constructor.
|
overridevirtual |
Get information about the module and version of the object.
Reimplemented from IMP::Object.
bool IMP::kinematics::RRT::run | ( | unsigned int | number_of_iterations = 0 | ) |
Run the specified number of iterations.
If zero, will run for default iteration number.DOFValuesVector This option allows to output the already sampled configurations during the sampling run.
void IMP::kinematics::RRT::set_actual_tree_size | ( | unsigned int | num | ) |
void IMP::kinematics::RRT::set_number_of_collisions | ( | unsigned int | num | ) |
void IMP::kinematics::RRT::set_number_of_iterations | ( | unsigned int | num | ) |
void IMP::kinematics::RRT::set_tree_size | ( | unsigned int | num | ) |