28 def __init__(self,iteratorName,name,child,variable):
33 listOfIterator.append(self) ;
36 return "Iterator " + str(self.
name) +
" iterates on " + str(self.
variable)
50 def __init__(self,iteratorName,name="__dataFile__",child="",variable="__rowId__"):
51 msg =
'Deprecated syntax. No need to define a draw iterator anymore. Just remove the statement, and use the operator MonteCarlo instead of Sum.' 52 raise SyntaxError(msg)
81 def __init__(self,iteratorName,name,child,variable):
82 iterator.__init__(self,iteratorName,name,child,variable)
97 def __init__(self,iteratorName,name="__dataFile__",child="",variable="__rowId__"):
98 iterator.__init__(self,iteratorName,name,child,variable)
def __init__(self, iteratorName, name="__dataFile__", child="", variable="__rowId__")
Iterates on the data file for generate the user defined draws (since biogeme 2.4) ...
row iterators are designed to iterate on rows of the data file.
Generic class for an iterator.
def __init__(self, iteratorName, name="__dataFile__", child="", variable="__rowId__")