9 #ifndef IMPKINEMATICS_LOCAL_PLANNERS_H
10 #define IMPKINEMATICS_LOCAL_PLANNERS_H
12 #include "kinematics_config.h"
20 IMPKINEMATICS_BEGIN_NAMESPACE
34 virtual std::vector<DOFValues> plan(DOFValues q_near, DOFValues q_rand) = 0;
36 bool is_valid(
const DOFValues& values) {
37 dofs_sampler_->apply(values);
38 double score = sf_->evaluate_if_below(
false, 0.0);
40 if (score <= 0.000001)
return true;
69 DirectionalDOF* directional_dof,
int save_step_interval = 1);
76 virtual std::vector<DOFValues> plan(DOFValues q_from, DOFValues q_rand);
80 unsigned int save_step_interval_;
86 IMPKINEMATICS_END_NAMESPACE
A nullptr-initialized pointer to an IMP Object.
a simple class for storage of DOF values.
A smart pointer to a ref-counted Object that is a class memeber.
Copyright 2007-2014 Sali Lab. All rights reserved.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Storage of a model, its restraints, constraints and particles.
Common base class for heavy weight IMP objects.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
A shared base class to help in debugging and things.
Class for storing model, its restraints, constraints, and particles.