weitzman_index_uniform

negmas.elicitation.weitzman_index_uniform(loc, scale, cost, time_discount=1.0)[source]

Implements Weitzman’s 1979 Bandora’s Box index calculation.

Parameters:
  • loc (float) – Loc of the uniform distribution to update

  • scale (float) – Scale of the uniform distribution to update

  • cost (float) – cost of opening a box

  • time_discount (float) – time discount. Assumed unity (no discounting) for negotiation.

Return type:

float

Returns:

The index value of this distribution.