foxes_opt.problems.layout.geom_layouts.constraints.Constraint.check_population(constraint_values, verbosity=0)[source]

Check if the constraints are fullfilled for the given population.

Parameters

constraint_values: np.array

The constraint values, shape: (n_pop, n_components,)

verbosity: int

The verbosity level, 0 = silent

Returns

values: np.array

The boolean result, shape: (n_pop, n_components)