-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUntitled Diagram.drawio
141 lines (141 loc) · 12.8 KB
/
Untitled Diagram.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<mxfile host="app.diagrams.net" modified="2021-03-10T21:56:56.346Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 YaBrowser/21.2.2.101 Yowser/2.5 Safari/537.36" etag="fkff87lk4_khHES_BKSe" version="14.4.3" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="2477" dy="960" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="5UwY4pMz2tyHPpEArCMc-0" value="<b>istream</b>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="70" y="850" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-1" value="<b>ostream</b>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="80" y="30" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-10" value="" style="endArrow=block;dashed=1;endFill=0;endSize=12;html=1;entryX=1.006;entryY=0.637;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.675;exitY=1.047;exitDx=0;exitDy=0;exitPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" target="5UwY4pMz2tyHPpEArCMc-0" edge="1" source="5UwY4pMz2tyHPpEArCMc-27">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="508" y="162.5" as="sourcePoint" />
<mxPoint x="430" y="170" as="targetPoint" />
<Array as="points">
<mxPoint x="618" y="500" />
<mxPoint x="618" y="625" />
<mxPoint x="618" y="875" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-24" value="TApplication" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="510" y="20" width="160" height="124" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-26" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="5UwY4pMz2tyHPpEArCMc-24" vertex="1">
<mxGeometry y="26" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-27" value="+ TApplication()

+ exec(): void

- menu(): int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="5UwY4pMz2tyHPpEArCMc-24" vertex="1">
<mxGeometry y="34" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-12" value="Polinom" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="240" y="150" width="240" height="198" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-13" value="- a: number
- b: number
- c: number
- printmode: EPrintMode" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="5UwY4pMz2tyHPpEArCMc-12" vertex="1">
<mxGeometry y="26" width="240" height="74" as="geometry" />
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-16" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="5UwY4pMz2tyHPpEArCMc-12">
<mxGeometry y="100" width="240" height="8" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-14" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="5UwY4pMz2tyHPpEArCMc-12" vertex="1">
<mxGeometry y="108" width="240" height="8" as="geometry" />
</mxCell>
<mxCell id="5UwY4pMz2tyHPpEArCMc-15" value="+ Polinom()
+ Value(): number
+ roots(): number*
+ setPrintMode(): void
+operator <<(): ostream&" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="5UwY4pMz2tyHPpEArCMc-12" vertex="1">
<mxGeometry y="116" width="240" height="82" as="geometry" />
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-11" value="" style="endArrow=diamondThin;endFill=1;endSize=24;html=1;entryX=0.513;entryY=1.004;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="5UwY4pMz2tyHPpEArCMc-12" target="5UwY4pMz2tyHPpEArCMc-15">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="123" y="290" as="sourcePoint" />
<mxPoint x="83" y="280" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-3" value="TRational" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="440" width="340" height="350" as="geometry" />
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-4" value="- a: int
- b: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="DQD8V4vmmcMp9nrapw0v-3">
<mxGeometry y="26" width="340" height="44" as="geometry" />
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-5" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="DQD8V4vmmcMp9nrapw0v-3">
<mxGeometry y="70" width="340" height="8" as="geometry" />
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-6" value="+ TRational()
+ TRational(int,int)
+ TRational(const &int)
- gcd(int,int): int
- compact(): void
+ operator ==(const TRational&) const: bool
+ operator >=(const TRational&) const: bool
+ operator <(const TRational&) const: bool
+ operator *(const TRational&, const TRational&): TRational
+ operator /(const TRational&) const: TRational
+ operator +(const TRational&) const: TRational 
+ operator -(const TRational&) const: TRational
+ operator -() const: TRational
+ sqrt(TRational): TRational
+ std::abs(TRational): TRational
+ operator <<(ostream&, TRational): ostream&
+ operator >>(istream&, TRational&): istream&" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="DQD8V4vmmcMp9nrapw0v-3">
<mxGeometry y="78" width="340" height="272" as="geometry" />
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.433;entryY=-0.02;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="DQD8V4vmmcMp9nrapw0v-3" target="DQD8V4vmmcMp9nrapw0v-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-12" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;exitX=-0.014;exitY=0.173;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="DQD8V4vmmcMp9nrapw0v-6" target="5UwY4pMz2tyHPpEArCMc-1">
<mxGeometry x="-0.1424" y="340" width="160" relative="1" as="geometry">
<mxPoint x="440" y="420" as="sourcePoint" />
<mxPoint x="600" y="420" as="targetPoint" />
<Array as="points">
<mxPoint x="120" y="565" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-13" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;exitX=-0.014;exitY=0.173;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="DQD8V4vmmcMp9nrapw0v-6" target="5UwY4pMz2tyHPpEArCMc-1">
<mxGeometry x="-0.1424" y="340" width="160" relative="1" as="geometry">
<mxPoint x="195.24000000000024" y="565.056" as="sourcePoint" />
<mxPoint x="120" y="80" as="targetPoint" />
<Array as="points">
<mxPoint x="120" y="565" />
<mxPoint x="120" y="290" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-14" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;entryX=0.75;entryY=1;entryDx=0;entryDy=0;exitX=0;exitY=0.024;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5UwY4pMz2tyHPpEArCMc-15" target="5UwY4pMz2tyHPpEArCMc-1">
<mxGeometry x="0.1908" y="523" width="160" relative="1" as="geometry">
<mxPoint x="440" y="420" as="sourcePoint" />
<mxPoint x="600" y="420" as="targetPoint" />
<Array as="points">
<mxPoint x="200" y="270" />
</Array>
<mxPoint y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-15" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" target="5UwY4pMz2tyHPpEArCMc-1">
<mxGeometry x="1" y="601" width="160" relative="1" as="geometry">
<mxPoint x="508" y="40" as="sourcePoint" />
<mxPoint x="420" y="90" as="targetPoint" />
<Array as="points" />
<mxPoint x="-515" y="-283" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-18" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;exitX=0.331;exitY=1.1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1.018;entryY=0.183;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5UwY4pMz2tyHPpEArCMc-27" target="5UwY4pMz2tyHPpEArCMc-15">
<mxGeometry x="1" y="732" width="160" relative="1" as="geometry">
<mxPoint x="440" y="420" as="sourcePoint" />
<mxPoint x="600" y="420" as="targetPoint" />
<Array as="points">
<mxPoint x="563" y="281" />
</Array>
<mxPoint x="-714" y="-573" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-19" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;exitX=0.556;exitY=1.041;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5UwY4pMz2tyHPpEArCMc-27">
<mxGeometry x="1" y="-733" width="160" relative="1" as="geometry">
<mxPoint x="440" y="420" as="sourcePoint" />
<mxPoint x="540" y="569" as="targetPoint" />
<Array as="points">
<mxPoint x="600" y="569" />
</Array>
<mxPoint x="-724" y="644" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="DQD8V4vmmcMp9nrapw0v-20" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=-0.003;exitY=0.81;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="DQD8V4vmmcMp9nrapw0v-6" target="5UwY4pMz2tyHPpEArCMc-0">
<mxGeometry x="0.4029" y="-410" width="160" relative="1" as="geometry">
<mxPoint x="-40" y="770" as="sourcePoint" />
<mxPoint x="120" y="770" as="targetPoint" />
<Array as="points">
<mxPoint x="110" y="738" />
</Array>
<mxPoint y="-1" as="offset" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>