DynBindModelExamples: Difference between revisions
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
==Example 1== | ==Example 1== | ||
====The system==== | ====The system==== | ||
In this example we are studying a symple system with three classes that contains both renaming and selects: | |||
{|border="0" cellpadding="2" cellspacing="0" align="center" | {|border="0" cellpadding="2" cellspacing="0" align="center" | ||
|-valign="top" -halign="center" | |-valign="top" -halign="center" | ||
| Line 42: | Line 44: | ||
</code> | </code> | ||
|} | |} | ||
This system is defined by: | |||
*<math>S = \left\{ C_1, C_2, C_3 \right\} </math> | *<math>S = \left\{ C_1, C_2, C_3 \right\} </math> | ||
*<math>\tau = | *<math>\tau = | ||
Revision as of 18:52, 6 October 2006
This page shows
Example 1
The system
In this example we are studying a symple system with three classes that contains both renaming and selects:
class C1 feature f1 do ... end g1 do ... end end |
class C2 inherit B rename f1 as f2, g1 as g2 redefine f2, g2 end feature f2 do ... end g2 do ... end end |
class C3 inherit C2 select f1 end C1 redefine f1, g1 select g1 end feature f1 do ... end g1 do ... end end |
This system is defined by: