Biogeme: Python Library
2.5
|
Iterates on the data file for generate the user defined draws (since biogeme 2.4) More...
Public Member Functions | |
def | __init__ (self, iteratorName, name="__dataFile__", child="", variable="__rowId__") |
Public Member Functions inherited from bio_iterator.iterator | |
def | __init__ (self, iteratorName, name, child, variable) |
def | __str__ (self) |
Additional Inherited Members | |
Public Attributes inherited from bio_iterator.iterator | |
iteratorName | |
name | |
child | |
variable | |
Iterates on the data file for generate the user defined draws (since biogeme 2.4)
It is typically used with the DefineDraws expression to generate user defined draws. Typical usage:
Definition at line 45 of file bio_iterator.py.
def bio_iterator.drawIterator.__init__ | ( | self, | |
iteratorName, | |||
name = "__dataFile__" , |
|||
child = "" , |
|||
variable = "__rowId__" |
|||
) |
iteratorName | Name of the iterator. |
name | Name of the set of data that is being iterated. It is typically ignored for draw iterators. Use the default value. |
child | Draw iterators have no children. Use the default value. |
variable | Variable that contains the ID of the individuals in the data file. A different draw is generated for each different value of this variable. |
Definition at line 50 of file bio_iterator.py.