Biogeme: Python Library
2.5
|
Class representing a parameter to be estimated. More...
Public Member Functions | |
def | __init__ (self, name, value, lowerbound, upperbound, status, desc='') |
def | getExpression (self) |
def | getID (self) |
Public Member Functions inherited from bio_expression.Expression | |
def | __init__ (self) |
Constructor. | |
def | getExpression (self) |
def | getID (self) |
def | __str__ (self) |
def | __neg__ (self) |
def | __add__ (self, expression) |
def | __radd__ (self, expression) |
def | __sub__ (self, expression) |
def | __rsub__ (self, expression) |
def | __mul__ (self, expression) |
def | __rmul__ (self, expression) |
def | __div__ (self, expression) |
def | __rdiv__ (self, expression) |
def | __truediv__ (self, expression) |
Support for Python version 3.x. More... | |
def | __rtruediv__ (self, expression) |
Support for Python version 3.x. More... | |
def | __mod__ (self, expression) |
def | __pow__ (self, expression) |
def | __rpow__ (self, expression) |
def | __and__ (self, expression) |
def | __or__ (self, expression) |
def | __eq__ (self, expression) |
def | __ne__ (self, expression) |
def | __le__ (self, expression) |
def | __ge__ (self, expression) |
def | __lt__ (self, expression) |
def | __gt__ (self, expression) |
Public Attributes | |
name | |
val | |
lb | |
ub | |
st | |
desc | |
operatorIndex | |
Public Attributes inherited from bio_expression.Expression | |
operatorIndex | |
Class representing a parameter to be estimated.
It is highly recommended to use the same name as an argument as the name of the python variable on the left of the equal sign. Indeed, Biogeme has no access to the name of the python variable, and the report will use only the name provided as an argument. Example:
Definition at line 359 of file bio_expression.py.
def bio_expression.Beta.__init__ | ( | self, | |
name, | |||
value, | |||
lowerbound, | |||
upperbound, | |||
status, | |||
desc = '' |
|||
) |
name | name of the parameter |
value | starting value of the parameter |
lowerbound | minimum value that the parameter can take |
upperbound | maximum value that the parameter can take |
status | 0 if the parameter must be estimated, 1 if the starting value is maintained |
desc | text used in the LaTeX output file (optional, default value:'' [empty string]) |
Definition at line 366 of file bio_expression.py.