floatin

negmas.helpers.floatin(x: float | tuple[float, float] | Sequence[float], log_uniform: bool) float[source]

Samples a value. A random choice is made if x is another sequence, a value between the two limits is used if the input is a tuple otherwise x is returned