Function pre_calculate_search_directions
Defined in File costs_utils.hpp
Function Documentation
-
void pre_calculate_search_directions(const arma::mat &points_xy, const arma::imat &configurations, ConeType cone_type, SearchDirectionsCache &cache)
Precomputes and populates the direction cache for all configurations.
- Parameters:
points_xy – Matrix of cone positions (Nx2)
configurations – Matrix of cone configurations (MxK)
cone_type – The type of cones considered
cache – Reference to a SearchDirectionsCache to populate