foxes_opt.problems.layout.geom_layouts.objectives.MaxGridSpacing.n_components()[source]

Returns the number of components of the function.

Returns

int:

The number of components.