31 #include <RobotComponents/interface/components/MotionPlanning/Tasks/RRTConnect/DataStructures.h>
57 Tree(std::size_t maximalWorkerCount): nodes(maximalWorkerCount)
73 const std::deque<std::deque<NodeType>>&
getNodes()
const
79 std::vector<ConfigType>
getPathTo(
const NodeId& nodeId)
const;
84 return nodes.at(nodeId.workerId).at(nodeId.nodeSubId);
90 nodes.at(workerId).emplace_back(cfg, parent);
103 for (
const auto& n : u.nodes)
105 addNode(n.config, n.parent, workerId);
110 static const NodeId ROOT_NODE_ID;
111 std::deque<std::deque<NodeType>> nodes;
112 std::size_t size = 0;