intin

negmas.helpers.intin(x: int | tuple[int, int] | Sequence[int], log_uniform: bool = False) int[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