-
Notifications
You must be signed in to change notification settings - Fork 4
model design
David Pollak edited this page Apr 6, 2012
·
2 revisions
The Model represents the core computation/execution unit in Visi.
A Model contains code that defines how the model performs computations. Once valid code has been defined for a Model, the Model will present the sources and sinks (inputs and outputs). When a source is changed, the Model will recompute all dependent sinks and a new Model instance will be returned along with a list of sinks that were changed.
Models also keep a list of actions to take on Sink changes. The Model does not explicitly perform those change actions, but they are conveniently aggregated by the Model for inspection.
[FIXME Work in Progress @dpp]