foxes_opt.objectives.FarmVarObjective.n_components()[source] Returns the number of components of the function. Returns¶ int:The number of components.