foxes_opt.problems.layout.geom_layouts.constraints.CMinN.calc_individual(vars_int, vars_float, problem_results, cmpnts=None)[source]

Calculate values for a single individual of the underlying problem.

Parameters

vars_intnp.array

The integer variable values, shape: (n_vars_int,)

vars_floatnp.array

The float variable values, shape: (n_vars_float,)

problem_resultsAny

The results of the variable application to the problem

componentslist of int, optional

The selected components or None for all

Returns

valuesnp.array

The component values, shape: (n_sel_components,)