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

Returns the number of components of the function.

Returns

int:

The number of components.