repositories
/
Project_POO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exo6: add the full implementation.
[Project_POO.git]
/
exo6
/
design_arithmetic.uxf
diff --git
a/exo6/design_arithmetic.uxf
b/exo6/design_arithmetic.uxf
index 6e69bb0d494d1b66b0c713ab2c1623c7854a167d..8bcefa81bb6580de5c2655b6d53546c47983190f 100644
(file)
--- a/
exo6/design_arithmetic.uxf
+++ b/
exo6/design_arithmetic.uxf
@@
-3,23
+3,23
@@
<element>
<id>UMLClass</id>
<coordinates>
<element>
<id>UMLClass</id>
<coordinates>
- <x>5
9
0</x>
- <y>
6
0</y>
- <w>1
0
0</w>
+ <x>5
8
0</x>
+ <y>
9
0</y>
+ <w>1
4
0</w>
<h>60</h>
</coordinates>
<panel_attributes>/Expression/
--
--
<h>60</h>
</coordinates>
<panel_attributes>/Expression/
--
--
-/+evaluer():/
+/+evaluer():
double
/
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
- <x>3
8
0</x>
- <y>2
0
0</y>
+ <x>3
9
0</x>
+ <y>2
3
0</y>
<w>100</w>
<h>30</h>
</coordinates>
<w>100</w>
<h>30</h>
</coordinates>
@@
-29,19
+29,19
@@
<element>
<id>UMLClass</id>
<coordinates>
<element>
<id>UMLClass</id>
<coordinates>
- <x>8
7
0</x>
- <y>2
0
0</y>
+ <x>8
8
0</x>
+ <y>2
3
0</y>
<w>100</w>
<h>30</h>
</coordinates>
<w>100</w>
<h>30</h>
</coordinates>
- <panel_attributes>/Op
-
add/</panel_attributes>
+ <panel_attributes>/Opadd/</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
- <x>2
8
0</x>
- <y>
29
0</y>
+ <x>2
9
0</x>
+ <y>
32
0</y>
<w>100</w>
<h>30</h>
</coordinates>
<w>100</w>
<h>30</h>
</coordinates>
@@
-51,81
+51,85
@@
<element>
<id>UMLClass</id>
<coordinates>
<element>
<id>UMLClass</id>
<coordinates>
- <x>7
7
0</x>
- <y>
29
0</y>
- <w>1
0
0</w>
- <h>
5
0</h>
+ <x>7
6
0</x>
+ <y>
32
0</y>
+ <w>1
5
0</w>
+ <h>
8
0</h>
</coordinates>
</coordinates>
- <panel_attributes>Op
+
+ <panel_attributes>Op
plus
--
--
--
--
-+evaluer():gauche.evaluer() + droite.evaluer()</panel_attributes>
++evaluer():
+gauche.evaluer() +
+droite.evaluer()</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
- <x>4
8
0</x>
- <y>
29
0</y>
+ <x>4
9
0</x>
+ <y>
32
0</y>
<w>100</w>
<h>30</h>
</coordinates>
<w>100</w>
<h>30</h>
</coordinates>
- <panel_attributes>/Op
-
mul/</panel_attributes>
+ <panel_attributes>/Opmul/</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
- <x>9
7
0</x>
- <y>
29
0</y>
- <w>1
0
0</w>
- <h>
5
0</h>
+ <x>9
6
0</x>
+ <y>
32
0</y>
+ <w>1
4
0</w>
+ <h>
8
0</h>
</coordinates>
</coordinates>
- <panel_attributes>Op
-
+ <panel_attributes>Op
minus
--
--
--
--
-+evaluer():gauche.evaluer() - droite.evaluer()</panel_attributes>
++evaluer():
+gauche.evaluer() -
+droite.evaluer()</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>10</x>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>10</x>
- <y>
47
0</y>
- <w>1
3
0</w>
+ <y>
51
0</y>
+ <w>1
5
0</w>
<h>80</h>
</coordinates>
<panel_attributes>Chiffre
--
-c:int <- {0,...,9}
--
<h>80</h>
</coordinates>
<panel_attributes>Chiffre
--
-c:int <- {0,...,9}
--
-+evaluer():
int
</panel_attributes>
++evaluer():
double
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
- <x>1
7
0</x>
- <y>
47
0</y>
- <w>
18
0</w>
+ <x>1
9
0</x>
+ <y>
51
0</y>
+ <w>
22
0</w>
<h>80</h>
</coordinates>
<panel_attributes>Variable
--
<h>80</h>
</coordinates>
<panel_attributes>Variable
--
--v
Map:Map<key, valu
e>
+-v
:TreeMap<Integer,Doubl
e>
--
--
-+evaluer():
char
</panel_attributes>
++evaluer():
double
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
- <x>
38
0</x>
- <y>
47
0</y>
+ <x>
44
0</x>
+ <y>
51
0</y>
<w>190</w>
<h>80</h>
</coordinates>
<w>190</w>
<h>80</h>
</coordinates>
- <panel_attributes>
Expression parenthesée
+ <panel_attributes>
ParentheseExp
--
--
+evaluer():exp.evaluer()</panel_attributes>
--
--
+evaluer():exp.evaluer()</panel_attributes>
@@
-134,36
+138,40
@@
<element>
<id>UMLClass</id>
<coordinates>
<element>
<id>UMLClass</id>
<coordinates>
- <x>4
1
0</x>
- <y>
37
0</y>
- <w>1
0
0</w>
- <h>
5
0</h>
+ <x>4
0
0</x>
+ <y>
40
0</y>
+ <w>1
4
0</w>
+ <h>
8
0</h>
</coordinates>
</coordinates>
- <panel_attributes>Op
*
+ <panel_attributes>Op
multi
--
--
--
--
-+evaluer():gauche.evaluer() * droite.evaluer()</panel_attributes>
++evaluer():
+gauche.evaluer() *
+droite.evaluer()</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>550</x>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>550</x>
- <y>
37
0</y>
- <w>1
0
0</w>
- <h>
5
0</h>
+ <y>
40
0</y>
+ <w>1
4
0</w>
+ <h>
8
0</h>
</coordinates>
</coordinates>
- <panel_attributes>Op
\
+ <panel_attributes>Op
div
--
--
--
--
-+evaluer():gauche.evaluer() / droite.evaluer()</panel_attributes>
++evaluer():
+gauche.evaluer() /
+droite.evaluer()</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
- <x>6
3
0</x>
- <y>1
1
0</y>
+ <x>6
4
0</x>
+ <y>1
4
0</y>
<w>30</w>
<h>80</h>
</coordinates>
<w>30</w>
<h>80</h>
</coordinates>
@@
-173,8
+181,8
@@
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>4
2
0</x>
- <y>1
6
0</y>
+ <x>4
3
0</x>
+ <y>1
9
0</y>
<w>520</w>
<h>60</h>
</coordinates>
<w>520</w>
<h>60</h>
</coordinates>
@@
-184,20
+192,20
@@
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>
68
0</x>
- <y>
8
0</y>
- <w>3
9
0</w>
+ <x>
71
0</x>
+ <y>
11
0</y>
+ <w>3
7
0</w>
<h>150</h>
</coordinates>
<panel_attributes>lt=<-
droite</panel_attributes>
<h>150</h>
</coordinates>
<panel_attributes>lt=<-
droite</panel_attributes>
- <additional_attributes>10.0;10.0;3
30.0;10.0;330.0;130.0;29
0.0;130.0</additional_attributes>
+ <additional_attributes>10.0;10.0;3
10.0;10.0;310.0;130.0;27
0.0;130.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
</element>
<element>
<id>Relation</id>
<coordinates>
- <x>4
7
0</x>
- <y>
19
0</y>
+ <x>4
8
0</x>
+ <y>
22
0</y>
<w>420</w>
<h>40</h>
</coordinates>
<w>420</w>
<h>40</h>
</coordinates>
@@
-208,8
+216,8
@@
gauche</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>4
2
0</x>
- <y>2
2
0</y>
+ <x>4
3
0</x>
+ <y>2
5
0</y>
<w>30</w>
<h>60</h>
</coordinates>
<w>30</w>
<h>60</h>
</coordinates>
@@
-219,8
+227,8
@@
gauche</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>3
2
0</x>
- <y>2
5
0</y>
+ <x>3
3
0</x>
+ <y>2
8
0</y>
<w>230</w>
<h>60</h>
</coordinates>
<w>230</w>
<h>60</h>
</coordinates>
@@
-230,8
+238,8
@@
gauche</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>3
7
0</x>
- <y>
28
0</y>
+ <x>3
8
0</x>
+ <y>
31
0</y>
<w>130</w>
<h>40</h>
</coordinates>
<w>130</w>
<h>40</h>
</coordinates>
@@
-242,8
+250,8
@@
gauche</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>4
7
0</x>
- <y>2
1
0</y>
+ <x>4
8
0</x>
+ <y>2
4
0</y>
<w>210</w>
<h>110</h>
</coordinates>
<w>210</w>
<h>110</h>
</coordinates>
@@
-254,8
+262,8
@@
droite</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>9
1
0</x>
- <y>2
2
0</y>
+ <x>9
2
0</x>
+ <y>2
5
0</y>
<w>30</w>
<h>60</h>
</coordinates>
<w>30</w>
<h>60</h>
</coordinates>
@@
-265,8
+273,8
@@
droite</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>8
1
0</x>
- <y>2
5
0</y>
+ <x>8
2
0</x>
+ <y>2
8
0</y>
<w>230</w>
<h>60</h>
</coordinates>
<w>230</w>
<h>60</h>
</coordinates>
@@
-276,8
+284,8
@@
droite</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>5
2
0</x>
- <y>3
1
0</y>
+ <x>5
3
0</x>
+ <y>3
4
0</y>
<w>30</w>
<h>60</h>
</coordinates>
<w>30</w>
<h>60</h>
</coordinates>
@@
-287,8
+295,8
@@
droite</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>4
5
0</x>
- <y>3
4
0</y>
+ <x>4
6
0</x>
+ <y>3
7
0</y>
<w>170</w>
<h>50</h>
</coordinates>
<w>170</w>
<h>50</h>
</coordinates>
@@
-298,46
+306,46
@@
droite</panel_attributes>
<element>
<id>Relation</id>
<coordinates>
<element>
<id>Relation</id>
<coordinates>
- <x>
56
0</x>
- <y>
6
0</y>
- <w>5
8
0</w>
- <h>4
7
0</h>
+ <x>
62
0</x>
+ <y>
9
0</y>
+ <w>5
3
0</w>
+ <h>4
8
0</h>
</coordinates>
<panel_attributes>lt=<-
exp</panel_attributes>
</coordinates>
<panel_attributes>lt=<-
exp</panel_attributes>
- <additional_attributes>1
30.0;10.0;540.0;10.0;540.0;450.0;10.0;45
0.0</additional_attributes>
+ <additional_attributes>1
00.0;10.0;490.0;10.0;490.0;460.0;10.0;46
0.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
</element>
<element>
<id>Relation</id>
<coordinates>
- <x>
6
0</x>
- <y>4
3
0</y>
- <w>4
3
0</w>
- <h>
6
0</h>
+ <x>
7
0</x>
+ <y>4
8
0</y>
+ <w>4
8
0</w>
+ <h>
5
0</h>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
- <additional_attributes>10.0;
40.0;10.0;10.0;410.0;10.0;410.0;4
0.0</additional_attributes>
+ <additional_attributes>10.0;
30.0;10.0;10.0;460.0;10.0;460.0;3
0.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
</element>
<element>
<id>Relation</id>
<coordinates>
- <x>3
2
0</x>
- <y>3
1
0</y>
+ <x>3
3
0</x>
+ <y>3
4
0</y>
<w>30</w>
<w>30</w>
- <h>1
5
0</h>
+ <h>1
7
0</h>
</coordinates>
<panel_attributes>lt=<<-</panel_attributes>
</coordinates>
<panel_attributes>lt=<<-</panel_attributes>
- <additional_attributes>10.0;10.0;10.0;1
3
0.0</additional_attributes>
+ <additional_attributes>10.0;10.0;10.0;1
5
0.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
</element>
<element>
<id>Relation</id>
<coordinates>
- <x>2
5
0</x>
- <y>4
3
0</y>
+ <x>2
9
0</x>
+ <y>4
8
0</y>
<w>30</w>
<w>30</w>
- <h>
6
0</h>
+ <h>
5
0</h>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
- <additional_attributes>10.0;10.0;10.0;
4
0.0</additional_attributes>
+ <additional_attributes>10.0;10.0;10.0;
3
0.0</additional_attributes>
</element>
</diagram>
</element>
</diagram>