CL-CBS
neighbor.hpp
Go to the documentation of this file.
1 
10 #pragma once
11 
12 namespace libMultiRobotPlanning {
13 
23 template <typename State, typename Action, typename Cost>
24 struct Neighbor {
25  Neighbor(const State& state, const Action& action, Cost cost)
26  : state(state), action(action), cost(cost) {}
27 
29  State state;
31  Action action;
33  Cost cost;
34 };
35 
36 } // namespace libMultiRobotPlanning
Neighbor(const State &state, const Action &action, Cost cost)
Definition: neighbor.hpp:25
Action action
action to get to the neighboring state
Definition: neighbor.hpp:31
State state
neighboring state
Definition: neighbor.hpp:29
Represents state transations.
Definition: neighbor.hpp:24
Definition: cl_cbs.hpp:19
Cost cost
cost to get to the neighboring state
Definition: neighbor.hpp:33