Go to the documentation of this file.    1 #ifndef AIKIDO_PLANNER_PLANNER_HPP_ 
    2 #define AIKIDO_PLANNER_PLANNER_HPP_ 
   46       const Problem& problem, Result* result = 
nullptr)
 
   54   std::unique_ptr<common::RNG> 
mRng;
 
   64   explicit Result(
const std::string& message = 
"");
 
   83 #endif // AIKIDO_PLANNER_PLANNER_HPP_ 
 
 
virtual trajectory::TrajectoryPtr plan(const Problem &problem, Result *result=nullptr)=0
Solves problem returning the result to result.
 
statespace::ConstStateSpacePtr getStateSpace() const
Returns const state space.
 
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
 
common::RNG * getRng()
Returns RNG.
 
const std::string & getMessage() const
Returns message.
 
void setMessage(const std::string &message)
Sets message.
 
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
 
virtual bool canSolve(const Problem &problem) const =0
Returns true if this planner can solve problem.
 
virtual ~Planner()=default
Default destructor.
 
std::shared_ptr< Trajectory > TrajectoryPtr
Definition: Trajectory.hpp:13
 
std::unique_ptr< common::RNG > mRng
RNG the planner uses.
Definition: Planner.hpp:54
 
Implementation of the C++11 "random engine" concept that uses virtual function calls to erase the typ...
Definition: RNG.hpp:24
 
Base class for a meta-planner.
Definition: Planner.hpp:17
 
Base class for various planning problems.
Definition: Problem.hpp:13
 
virtual ~Result()=default
Destructor.
 
std::string mMessage
Message.
Definition: Planner.hpp:77
 
Planner(statespace::ConstStateSpacePtr stateSpace, common::RNG *rng=nullptr)
Constructs from a state space.
 
#define AIKIDO_DECLARE_POINTERS(X)
Definition: pointers.hpp:21
 
statespace::ConstStateSpacePtr mStateSpace
State space associated with this planner.
Definition: Planner.hpp:51
 
Base class for planning result of various planning problems.
Definition: Planner.hpp:58
 
Result(const std::string &message="")
Constructor.