Biogeme: Python Library  2.5
Public Member Functions | Public Attributes | List of all members
bio_iterator.iterator Class Reference

Generic class for an iterator. More...

Inheritance diagram for bio_iterator.iterator:
bio_iterator.drawIterator bio_iterator.metaIterator bio_iterator.rowIterator

Public Member Functions

def __init__ (self, iteratorName, name, child, variable)
 
def __str__ (self)
 

Public Attributes

 iteratorName
 
 name
 
 child
 
 variable
 

Detailed Description

Generic class for an iterator.

Iterators are designed to define loops on the entries of the data file. It is assumed that the data file is composed of rows, each containing the same number of numeric entries. The first row of the file contains the headers, labeling each of these entries. There are three types of iterators:

Hierarchical nesting of iterators is possible, so that iterators may have a parent and a child.

Definition at line 23 of file bio_iterator.py.


The documentation for this class was generated from the following file:
Copyright 2016 Michel Bierlaire