22 #ifndef __NAVGRAPH_CONSTRAINTS_STATIC_LIST_EDGE_COST_CONSTRAINT_H_ 23 #define __NAVGRAPH_CONSTRAINTS_STATIC_LIST_EDGE_COST_CONSTRAINT_H_ 25 #include <navgraph/constraints/edge_cost_constraint.h> 26 #include <core/utils/lock_vector.h> 31 #include <navgraph/navgraph.h> 45 const std::vector<std::pair<fawkes::NavGraphEdge, float>> & edge_cost_list()
const;
48 void add_edges(
const std::vector<std::pair<fawkes::NavGraphEdge, float>> &edge_costs);
53 virtual bool compute(
void)
throw();
59 std::vector<std::pair<fawkes::NavGraphEdge, float>> edge_cost_list_;
Fawkes library namespace.
Constraint that hold cost factors for a static list of edges.
Constraint that can be queried for an edge cost factor.