Class calculating a logit choice probability. More...
Public Member Functions | |
def | __init__ |
def | getExpression |
Public Attributes | |
prob | |
av | |
choice | |
operatorIndex |
Class calculating a logit choice probability.
Computes the probability given by the logit model, that is
Example:
V = {1: V1, 2: V2, 3: V3} av = {1: av_1, 2: 1, 3: av_3} prob = bioLogit(V,av,CHOICE)
def bio_expression::bioLogit::__init__ | ( | self, | |
util, | |||
av, | |||
choice | |||
) |
util | dictionary (see Python documentation) containing the utility functions ![]() |
av | dictionary (see Python documentation) containing the availability conditions for each alternative ![]() |
choice | expression providing the index of the alternative for which the probability is being computed. |
def bio_expression::bioLogit::getExpression | ( | self ) |
Reimplemented from bio_expression::Expression.
Reimplemented from bio_expression::Expression.