forked from HotDrink/hotdrink
-
Notifications
You must be signed in to change notification settings - Fork 0
Initialization
thejohnfreeman edited this page Nov 22, 2012
·
3 revisions
A normal variable is generally initialized directly by the programmer. In the presence of multi-way constraints, some variables do not need to be initialized---they will be written as part of the first update. The initial priority order is the same as the definition order.
A computed variable semantically represents the value of an expression; it should (and can only) be initialized not by the programmer, but by the method that writes it. Thus, a computed variable should not be part of a self-loop.