intin

negmas.helpers.intin(x, log_uniform=False)[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

Return type:

int