Function calc_number_of_cones_cost

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.