Parasol Planning Library (PPL)
Typedefs | Functions
NBS.h File Reference

Go to the source code of this file.

Typedefs

template<typename TaskType , typename PlanType >
using RelaxedPlanFunction = std::function< PlanType *(TaskType *_task)>
 
template<typename PlanType >
using RelaxedCostFunction = std::function< double(PlanType *_plan)>
 
template<typename SolutionType , typename PlanType >
using ConstrainedPlanFunction = std::function< SolutionType *(PlanType *_plan)>
 
template<typename SolutionType >
using ConstrainedCostFunction = std::function< double(SolutionType *_solution)>
 

Functions

template<typename TaskType , typename SolutionType , typename PlanType >
void NBS (TaskType *_task, SolutionType *_solution, RelaxedPlanFunction< TaskType, PlanType > &_relaxedPlanner, RelaxedCostFunction< PlanType > &_relaxedCost, ConstrainedPlanFunction< SolutionType, PlanType > &_constrainedPlanner, ConstrainedCostFunction< SolutionType > &_constrainedCost)
 

Typedef Documentation

◆ ConstrainedCostFunction

template<typename SolutionType >
using ConstrainedCostFunction = std::function<double(SolutionType* _solution)>

◆ ConstrainedPlanFunction

template<typename SolutionType , typename PlanType >
using ConstrainedPlanFunction = std::function<SolutionType*(PlanType* _plan)>

◆ RelaxedCostFunction

template<typename PlanType >
using RelaxedCostFunction = std::function<double(PlanType* _plan)>

◆ RelaxedPlanFunction

template<typename TaskType , typename PlanType >
using RelaxedPlanFunction = std::function<PlanType*(TaskType* _task)>

Function Documentation

◆ NBS()

template<typename TaskType , typename SolutionType , typename PlanType >
void NBS ( TaskType *  _task,
SolutionType *  _solution,
RelaxedPlanFunction< TaskType, PlanType > &  _relaxedPlanner,
RelaxedCostFunction< PlanType > &  _relaxedCost,
ConstrainedPlanFunction< SolutionType, PlanType > &  _constrainedPlanner,
ConstrainedCostFunction< SolutionType > &  _constrainedCost 
)