I have the feeling that, in the end, the verbose number_of_variables is probably less helpful than using simply dimension as an abbreviation for search_space_dimensionality (the cocoex.Problem class provides a dimension attribute too). In the given context, I suspect this has little room to lead to confusion (and number_of_dimensions is not at all confusing compared to number_of_number_of_variables or number_of_variables when it is supposed to mean number_of_number_of_variables.
I have the feeling that, in the end, the verbose
number_of_variablesis probably less helpful than using simplydimensionas an abbreviation forsearch_space_dimensionality(thecocoex.Problemclass provides adimensionattribute too). In the given context, I suspect this has little room to lead to confusion (andnumber_of_dimensionsis not at all confusing compared tonumber_of_number_of_variablesornumber_of_variableswhen it is supposed to meannumber_of_number_of_variables.