CL-CBS
Public Member Functions | Public Attributes | List of all members
libMultiRobotPlanning::Neighbor< State, Action, Cost > Struct Template Reference

Represents state transations. More...

#include <neighbor.hpp>

Public Member Functions

 Neighbor (const State &state, const Action &action, Cost cost)
 

Public Attributes

State state
 neighboring state More...
 
Action action
 action to get to the neighboring state More...
 
Cost cost
 cost to get to the neighboring state More...
 

Detailed Description

template<typename State, typename Action, typename Cost>
struct libMultiRobotPlanning::Neighbor< State, Action, Cost >

Represents state transations.

This class represents a transition from a start state applying an action with the given cost.

Template Parameters
StateCustom state for the search. Needs to be copy'able
ActionCustom action for the search. Needs to be copy'able
CostCustom Cost type (integer or floating point types)
Examples:
cl_cbs.cpp, and sh_astar.cpp.

Constructor & Destructor Documentation

template<typename State, typename Action, typename Cost>
libMultiRobotPlanning::Neighbor< State, Action, Cost >::Neighbor ( const State &  state,
const Action &  action,
Cost  cost 
)
inline

Member Data Documentation

template<typename State, typename Action, typename Cost>
Action libMultiRobotPlanning::Neighbor< State, Action, Cost >::action

action to get to the neighboring state

template<typename State, typename Action, typename Cost>
Cost libMultiRobotPlanning::Neighbor< State, Action, Cost >::cost

cost to get to the neighboring state

template<typename State, typename Action, typename Cost>
State libMultiRobotPlanning::Neighbor< State, Action, Cost >::state

neighboring state


The documentation for this struct was generated from the following file: