-
foxes_opt.problems.layout.geom_layouts.constraints.CMinDensity.calc_population(vars_int, vars_float, problem_results, cmpnts=
None
)[source] Calculate values for all individuals of a population.
Parameters¶
- vars_intnp.array
The integer variable values, shape: (n_pop, n_vars_int)
- vars_floatnp.array
The float variable values, shape: (n_pop, 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_pop, n_sel_components)