6## Computes the log likelihood function for the WESML estimator.
7# @ingroup likelihood
8# @param prob <a href="http://docs.python.org/py3k/tutorial/datastructures.html#dictionaries" target="_blank">dictionary</a> were the keys are the identifiers of the alternatives in the choice set, and the values are expressions representing the choice probabilities.
9# @param choice expression producing the id of the chosen alternative.
10# @param weight expression producing the id of the chosen alternative.
11# @return value of the weighted log likelihood function