Summary: | Partial instantiation of templates | ||
---|---|---|---|
Product: | UPPAAL | Reporter: | Gerd Behrmann <behrmann> |
Component: | libutap | Assignee: | Gerd Behrmann <behrmann> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | kgl, paupet |
Priority: | P1 | ||
Version: | 3.6 Alpha 4 | ||
Hardware: | All | ||
OS: | All | ||
Architecture: |
Description
Gerd Behrmann
2006-02-24 16:25:28 CET
Change of plans: In some cases type inference would make certain construction impossible. For instance: process P() {...} Ps(int[0,4] i) = P() system Ps; would be a natural way of creating 5 instances of P() without requiring it to have any parameters. However if we cannot explicitly provide a type for i, then this would be impossible. Therefore I suggest dropping type inference. The basic functionallity has been implemented. Things missing: - Check if symmetry can be broken by the new feature - Check what happens if non-const int without explicitly specified range is used as free process parameter. My guess is that it will use the default range, thus creating 64k intances....not good. This has now been implemented on the trunk. |