classmethod foxes_opt.problems.layout.geom_layouts.constraints.Constraint.new(constraint_type, *args, **kwargs)[source]

Run-time constraint factory.

ParametersΒΆ

constraint_type: str

The selected derived class name

args: tuple, optional

Additional parameters for constructor

kwargs: dict, optional

Additional parameters for constructor