next up previous index
Next: ChunkModel Class Up: Models Previous: Models   Index

Model Class

Model is the base class for implementing Opus models. It provides an automatic logger which prints out information about the model start, end and processing time. Model supports two methods: an obligatory method run() and an optional method estimate(). Each child of Model can define a class attribute model_name that is used as an identification of the specific model in the logger output. Any arguments can be passed into the run() and estimate() methods and those can return any values.


next up previous index
Next: ChunkModel Class Up: Models Previous: Models   Index
info (at) urbansim.org