abstract foxes_opt.core.FarmConstraint.n_components()

Returns the number of components of the function.

Returns

int:

The number of components.