Function calc_number_of_cones_cost
Defined in File calculate_costs.hpp
Function Documentation
-
arma::fvec calc_number_of_cones_cost(const arma::imat &configurations)
Calculates a cost inversely proportional to the number of cones in each configuration.
- Parameters:
configurations – Matrix of cone index configurations.
- Returns:
Vector of costs based on the number of cones.