Takes the exponent of V while at the same time restricts the utility of unavailable alternatives to 0. This ensures that summing of utilities is only over alternatives in the consideration set.

exp_v(V, alt_avail)

Arguments

V

A list of utilities

alt_avail

A list of alternative availabilities