Functions | |
def | cnl_avail |
Implements the cross-nested logit model as a MEV model. | |
def | cnlmu |
def cnl::cnl_avail | ( | V, | |
availability, | |||
nests, | |||
choice | |||
) |
Implements the cross-nested logit model as a MEV model.
V | A dictionary mapping each alternative id with the expression of the utility function. |
availability | A dictionary mapping each alternative id with its availability condition. |
nests | A tuple containing as many items as nests. Each item is also a tuple containing two items:
|
def cnl::cnlmu | ( | V, | |
availability, | |||
nests, | |||
choice, | |||
bmu | |||
) |