Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
|
Generic interface representing a computation to prioritize nodes for expansion in a search graph. More...
#include <search_strategy.hpp>
Public Member Functions | |
virtual std::vector< std::pair< carma_planning_msgs::msg::ManeuverPlan, double > > | prioritize_plans (std::vector< std::pair< carma_planning_msgs::msg::ManeuverPlan, double > > plans) const =0 |
Sort the list of plans in the open-set by priority. More... | |
virtual | ~SearchStrategy () |
Virtual destructor provided for memory safety. More... | |
Generic interface representing a computation to prioritize nodes for expansion in a search graph.
This interface takes in plans and their computed costs (C) and then may apply a heuristic cost (H) if so desired before sorting by C+H or otherwise prioritizing the potential plans.
It is not safe to assume that the size of the input list equals the size the list returned.
Definition at line 36 of file search_strategy.hpp.
|
inlinevirtual |
Virtual destructor provided for memory safety.
Definition at line 50 of file search_strategy.hpp.
|
pure virtual |
Sort the list of plans in the open-set by priority.
plans | The list of (plan, cost) pairs to sort |
Implemented in arbitrator::BeamSearchStrategy.