safe.impact_functions.generic.utilities module

safe.impact_functions.generic.utilities.increasing_validator(parameters=None)[source]

Custom validator to use with Group Parameter.

Validator to make sure the threshold or input value of hazard classes is monotonically increasing :param parameters: the list of parameters to check FloatParameter :type parameters: list[FloatParameter]