next up previous contents
Next: 3.5 Linkage of MDL Class Up: 3. The Model Definition Previous: 3.3 MDL Instance Selection


3.4 Specifying Default Values for MDL Class Instances

The Algorithm Library supports the definition of initial- or default values for the local, interface, and static parameters of a certain MDL class. (Section 3.2.1 - Section 3.2.3). Whenever such a class is instantiated the parameters will adopt these default values before the construct method is executed.

For the MDL class instance with the symbolic name name new default values of some interface parameters can be defined by using the following MDL statement block:

Select Instance name
   Parameter name = expr;
   // further default value specifications
End Select

The herein defined default value will overrule any definition made for the instantiated MDL class. Other instances of the same MDL class type will still use the default values provided by the class definition.



Robert Mlekus
1999-11-14