weitzman_index_uniform

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

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

Parameters
  • loc – Loc of the uniform distribution to update

  • scale – Scale of the uniform distribution to update

  • cost – cost of opening a box

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

Returns

The index value of this distribution.