[1] task-1-data-structures #163

Open
ProninVV wants to merge 12 commits from ProninVV/2026-rff_mp:task-1-data-structures into develop
55 changed files with 13162 additions and 3446 deletions
Showing only changes of commit 5fbb0eee9c - Show all commits

View File

@ -0,0 +1,20 @@
import pandas as pd
import glob
folder_path = 'results'
sizes = ['500', '1000', '2000', '5000', '10000']
for size in sizes:
files = glob.glob(f'{folder_path}/timedata_{size}_epochs_*.csv')
data = [pd.read_csv(f)['Время (сек)'] for f in files]
datatomean = pd.concat(data, axis=1)
datamean = datatomean.mean(axis=1)
df = pd.read_csv(files[0])
df['Время (сек)'] = datamean
df.to_csv(f'results/aaverage_timedata_{size}.csv', index=False)

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -1,8 +1,8 @@
%!PS-Adobe-3.0 EPSF-3.0
%%LanguageLevel: 3
%%Title: llist.eps
%%Title: TLinklist1.eps
%%Creator: Matplotlib v3.10.0, https://matplotlib.org/
%%CreationDate: Sat Mar 21 20:36:28 2026
%%CreationDate: Tue Mar 24 18:05:26 2026
%%Orientation: portrait
%%BoundingBox: 0 0 720 360
%%HiResBoundingBox: 0.000000 0.000000 720.000000 360.000000
@ -26,8 +26,8 @@ mpldict begin
/FontMatrix [0.00048828125 0 0 0.00048828125 0 0] def
/FontBBox [-2090 -948 3673 2524] def
/FontType 3 def
/Encoding [/uni0413 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /three /four /five /six /uni0435 /eight /uni0430 /uni043A /uni0438 /uni043B /uni0436 /uni043E /uni043D /uni0440 /uni0441 /uni0442 /uni0439 /uni0444 /uni043F /N /uni044F /d /e /f /h /i /l /n /o /r /s /t /u] def
/CharStrings 44 dict dup begin
/Encoding [/uni0413 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /three /four /five /six /uni0435 /eight /uni0430 /uni043A /uni0438 /uni043B /uni0436 /uni043E /uni043D /uni0440 /uni0441 /uni0442 /uni0439 /uni0444 /L /N /uni044F /d /e /f /h /i /k /l /n /o /r /s /t /u] def
/CharStrings 45 dict dup begin
/.notdef 0 def
/uni0413{1249 0 201 0 1130 1493 sc
201 0 m
@ -636,16 +636,14 @@ ce} _d
1424 291 1448 402 1448 559 c
ce} _d
/uni043F{1339 0 186 0 1153 1120 sc
1153 1120 m
1153 0 l
968 0 l
968 973 l
371 973 l
371 0 l
186 0 l
186 1120 l
1153 1120 l
/L{1141 0 201 0 1130 1493 sc
201 1493 m
403 1493 l
403 170 l
1130 170 l
1130 0 l
201 0 l
201 1493 l
ce} _d
/N{1532 0 201 0 1331 1493 sc
@ -795,6 +793,21 @@ ce} _d
193 1323 l
193 1556 l
ce} _d
/k{1186 0 186 0 1180 1556 sc
186 1556 m
371 1556 l
371 637 l
920 1120 l
1155 1120 l
561 596 l
1180 0 l
940 0 l
371 547 l
371 0 l
186 0 l
186 1556 l
ce} _d
/l{569 0 193 0 377 1556 sc
193 1556 m
@ -2854,61 +2867,61 @@ grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.675762 m
113.664637 39.750339 l
137.936059 39.932179 l
210.750326 40.574399 l
332.107438 41.222973 l
101.528926 40.20153 m
113.664637 42.282004 l
137.936059 50.024638 l
210.750326 110.163346 l
332.107438 317.187993 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.730793 m
113.664637 39.832061 l
137.936059 40.12063 l
210.750326 41.102261 l
332.107438 42.475689 l
101.528926 39.713375 m
113.664637 39.851662 l
137.936059 40.102985 l
210.750326 40.955933 l
332.107438 42.275074 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 40.295315 m
113.664637 42.11409 l
137.936059 51.013416 l
210.750326 120.935992 l
332.107438 321.355573 l
101.528926 39.670412 m
113.664637 39.763459 l
137.936059 39.876982 l
210.750326 40.411248 l
332.107438 41.10807 l
stroke
grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.675762 m
113.664637 39.750339 l
137.936059 39.932179 l
210.750326 40.574399 l
332.107438 41.222973 l
101.528926 40.20153 m
113.664637 42.282004 l
137.936059 50.024638 l
210.750326 110.163346 l
332.107438 317.187993 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.730793 m
113.664637 39.832061 l
137.936059 40.12063 l
210.750326 41.102261 l
332.107438 42.475689 l
101.528926 39.713375 m
113.664637 39.851662 l
137.936059 40.102985 l
210.750326 40.955933 l
332.107438 42.275074 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 40.295315 m
113.664637 42.11409 l
137.936059 51.013416 l
210.750326 120.935992 l
332.107438 321.355573 l
101.528926 39.670412 m
113.664637 39.763459 l
137.936059 39.876982 l
210.750326 40.411248 l
332.107438 41.10807 l
stroke
grestore
0.8 setlinewidth
@ -2937,7 +2950,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
97.5838 322.8 translate
98.2088 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -2961,19 +2974,21 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0441 glyphshow
165.199 0 m /uni043F glyphshow
173.045 0 m /uni0438 glyphshow
180.844 0 m /uni0441 glyphshow
187.441 0 m /uni043A glyphshow
194.689 0 m /uni0430 glyphshow
202.043 0 m /space glyphshow
205.857 0 m /parenleft glyphshow
210.539 0 m /s glyphshow
216.791 0 m /o glyphshow
224.133 0 m /r glyphshow
229.066 0 m /t glyphshow
233.771 0 m /parenright glyphshow
158.602 0 m /L glyphshow
165.287 0 m /i glyphshow
168.621 0 m /n glyphshow
176.227 0 m /k glyphshow
183.176 0 m /l glyphshow
186.51 0 m /i glyphshow
189.844 0 m /s glyphshow
196.096 0 m /t glyphshow
200.801 0 m /space glyphshow
204.615 0 m /parenleft glyphshow
209.297 0 m /s glyphshow
215.549 0 m /o glyphshow
222.891 0 m /r glyphshow
227.824 0 m /t glyphshow
232.529 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap
@ -4935,61 +4950,61 @@ grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.681901 m
418.028273 39.732819 l
442.299696 39.960653 l
515.113963 40.689328 l
636.471074 41.134597 l
405.892562 40.210718 m
418.028273 42.296188 l
442.299696 49.73127 l
515.113963 105.104337 l
636.471074 301.632252 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.726854 m
418.028273 39.844774 l
442.299696 40.118013 l
515.113963 41.085345 l
636.471074 42.270145 l
405.892562 39.715465 m
418.028273 39.837119 l
442.299696 40.083389 l
515.113963 40.962447 l
636.471074 42.274123 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 40.291647 m
418.028273 42.117123 l
442.299696 51.476938 l
515.113963 120.72904 l
636.471074 303.856963 l
405.892562 39.671495 m
418.028273 39.76911 l
442.299696 39.896931 l
515.113963 40.413961 l
636.471074 41.187406 l
stroke
grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.681901 m
418.028273 39.732819 l
442.299696 39.960653 l
515.113963 40.689328 l
636.471074 41.134597 l
405.892562 40.210718 m
418.028273 42.296188 l
442.299696 49.73127 l
515.113963 105.104337 l
636.471074 301.632252 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.726854 m
418.028273 39.844774 l
442.299696 40.118013 l
515.113963 41.085345 l
636.471074 42.270145 l
405.892562 39.715465 m
418.028273 39.837119 l
442.299696 40.083389 l
515.113963 40.962447 l
636.471074 42.274123 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 40.291647 m
418.028273 42.117123 l
442.299696 51.476938 l
515.113963 120.72904 l
636.471074 303.856963 l
405.892562 39.671495 m
418.028273 39.76911 l
442.299696 39.896931 l
515.113963 40.413961 l
636.471074 41.187406 l
stroke
grestore
0.8 setlinewidth
@ -5018,7 +5033,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
398.612 322.8 translate
399.237 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -5042,34 +5057,36 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0441 glyphshow
165.199 0 m /uni043F glyphshow
173.045 0 m /uni0438 glyphshow
180.844 0 m /uni0441 glyphshow
187.441 0 m /uni043A glyphshow
194.689 0 m /uni0430 glyphshow
202.043 0 m /space glyphshow
205.857 0 m /parenleft glyphshow
210.539 0 m /s glyphshow
216.791 0 m /h glyphshow
224.396 0 m /u glyphshow
232.002 0 m /f glyphshow
236.227 0 m /f glyphshow
240.451 0 m /parenright glyphshow
158.602 0 m /L glyphshow
165.287 0 m /i glyphshow
168.621 0 m /n glyphshow
176.227 0 m /k glyphshow
183.176 0 m /l glyphshow
186.51 0 m /i glyphshow
189.844 0 m /s glyphshow
196.096 0 m /t glyphshow
200.801 0 m /space glyphshow
204.615 0 m /parenleft glyphshow
209.297 0 m /s glyphshow
215.549 0 m /h glyphshow
223.154 0 m /u glyphshow
230.76 0 m /f glyphshow
234.984 0 m /f glyphshow
239.209 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap
0.8 setgray
gsave
401.363636 303.8 m
405.363636 303.8 l
406.69697 303.8 407.363636 304.466667 407.363636 305.8 c
407.363636 309.8 l
407.363636 311.133333 406.69697 311.8 405.363636 311.8 c
401.363636 311.8 l
400.030303 311.8 399.363636 311.133333 399.363636 309.8 c
399.363636 305.8 l
399.363636 304.466667 400.030303 303.8 401.363636 303.8 c
637 303.8 m
641 303.8 l
642.333333 303.8 643 304.466667 643 305.8 c
643 309.8 l
643 311.133333 642.333333 311.8 641 311.8 c
637 311.8 l
635.666667 311.8 635 311.133333 635 309.8 c
635 305.8 l
635 304.466667 635.666667 303.8 637 303.8 c
cl
gsave
1 setgray

View File

@ -1,8 +1,8 @@
%!PS-Adobe-3.0 EPSF-3.0
%%LanguageLevel: 3
%%Title: llist2.eps
%%Title: TLinklist2.eps
%%Creator: Matplotlib v3.10.0, https://matplotlib.org/
%%CreationDate: Sat Mar 21 20:36:59 2026
%%CreationDate: Tue Mar 24 18:05:46 2026
%%Orientation: portrait
%%BoundingBox: 0 0 720 360
%%HiResBoundingBox: 0.000000 0.000000 720.000000 360.000000
@ -26,8 +26,8 @@ mpldict begin
/FontMatrix [0.00048828125 0 0 0.00048828125 0 0] def
/FontBBox [-2090 -948 3673 2524] def
/FontType 3 def
/Encoding [/uni0413 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /uni0430 /four /uni0435 /six /uni0436 /uni0438 /eight /uni043A /uni043B /uni0439 /uni043D /uni043E /uni043F /uni0440 /uni0441 /uni0442 /uni0444 /N /uni044F /d /e /f /h /i /l /n /o /r /s /t /u] def
/CharStrings 42 dict dup begin
/Encoding [/uni0413 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /uni0430 /four /uni0435 /six /uni0436 /uni0438 /eight /uni043A /uni043B /uni0439 /uni043D /uni043E /uni0440 /uni0441 /uni0442 /uni0444 /L /N /uni044F /d /e /f /h /i /k /l /n /o /r /s /t /u] def
/CharStrings 43 dict dup begin
/.notdef 0 def
/uni0413{1249 0 201 0 1130 1493 sc
201 0 m
@ -471,18 +471,6 @@ ce} _d
113 743 158 887 249 991 c
340 1095 466 1147 627 1147 c
ce} _d
/uni043F{1339 0 186 0 1153 1120 sc
1153 1120 m
1153 0 l
968 0 l
968 973 l
371 973 l
371 0 l
186 0 l
186 1120 l
1153 1120 l
ce} _d
/uni0440{1300 0 186 -426 1188 1147 sc
371 168 m
@ -588,6 +576,16 @@ ce} _d
1262 125 1327 158 1375 224 c
1424 291 1448 402 1448 559 c
ce} _d
/L{1141 0 201 0 1130 1493 sc
201 1493 m
403 1493 l
403 170 l
1130 170 l
1130 0 l
201 0 l
201 1493 l
ce} _d
/N{1532 0 201 0 1331 1493 sc
201 1493 m
@ -736,6 +734,21 @@ ce} _d
193 1323 l
193 1556 l
ce} _d
/k{1186 0 186 0 1180 1556 sc
186 1556 m
371 1556 l
371 637 l
920 1120 l
1155 1120 l
561 596 l
1180 0 l
940 0 l
371 547 l
371 0 l
186 0 l
186 1556 l
ce} _d
/l{569 0 193 0 377 1556 sc
193 1556 m
@ -2452,57 +2465,59 @@ grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 41.872874 m
113.664637 44.110173 l
137.936059 49.565377 l
210.750326 68.831978 l
332.107438 88.289182 l
101.528926 57.645886 m
113.664637 120.060127 l
137.936059 352.339147 l
138.285603 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 43.523803 m
113.664637 46.561841 l
137.936059 55.218889 l
210.750326 84.667823 l
332.107438 125.870683 l
101.528926 43.001244 m
113.664637 47.149875 l
137.936059 54.689548 l
210.750326 80.277991 l
332.107438 119.852227 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 60.459448 m
113.664637 115.022701 l
136.026702 361 l
101.528926 41.712375 m
113.664637 44.503779 l
137.936059 47.909458 l
210.750326 63.937439 l
332.107438 84.842089 l
stroke
grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 41.872874 m
113.664637 44.110173 l
137.936059 49.565377 l
210.750326 68.831978 l
332.107438 88.289182 l
101.528926 57.645886 m
113.664637 120.060127 l
137.936059 352.339147 l
138.285603 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 43.523803 m
113.664637 46.561841 l
137.936059 55.218889 l
210.750326 84.667823 l
332.107438 125.870683 l
101.528926 43.001244 m
113.664637 47.149875 l
137.936059 54.689548 l
210.750326 80.277991 l
332.107438 119.852227 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 60.459448 m
113.664637 115.022701 l
136.026702 361 l
101.528926 41.712375 m
113.664637 44.503779 l
137.936059 47.909458 l
210.750326 63.937439 l
332.107438 84.842089 l
stroke
grestore
0.8 setlinewidth
@ -2531,7 +2546,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
97.5838 322.8 translate
98.2088 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -2555,19 +2570,21 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0441 glyphshow
165.199 0 m /uni043F glyphshow
173.045 0 m /uni0438 glyphshow
180.844 0 m /uni0441 glyphshow
187.441 0 m /uni043A glyphshow
194.689 0 m /uni0430 glyphshow
202.043 0 m /space glyphshow
205.857 0 m /parenleft glyphshow
210.539 0 m /s glyphshow
216.791 0 m /o glyphshow
224.133 0 m /r glyphshow
229.066 0 m /t glyphshow
233.771 0 m /parenright glyphshow
158.602 0 m /L glyphshow
165.287 0 m /i glyphshow
168.621 0 m /n glyphshow
176.227 0 m /k glyphshow
183.176 0 m /l glyphshow
186.51 0 m /i glyphshow
189.844 0 m /s glyphshow
196.096 0 m /t glyphshow
200.801 0 m /space glyphshow
204.615 0 m /parenleft glyphshow
209.297 0 m /s glyphshow
215.549 0 m /o glyphshow
222.891 0 m /r glyphshow
227.824 0 m /t glyphshow
232.529 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap
@ -4186,57 +4203,59 @@ grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 42.057027 m
418.028273 43.584584 l
442.299696 50.419596 l
515.113963 72.279847 l
636.471074 85.637912 l
405.892562 57.921534 m
418.028273 120.485629 l
442.299696 343.538102 l
443.065095 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 43.405623 m
418.028273 46.943213 l
442.299696 55.140405 l
515.113963 84.160362 l
636.471074 119.70435 l
405.892562 43.063947 m
418.028273 46.713562 l
442.299696 54.101663 l
515.113963 80.473417 l
636.471074 119.823676 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 60.349399 m
418.028273 115.113678 l
439.282293 361 l
405.892562 41.744863 m
418.028273 44.673314 l
442.299696 48.507933 l
515.113963 64.018825 l
636.471074 87.222184 l
stroke
grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 42.057027 m
418.028273 43.584584 l
442.299696 50.419596 l
515.113963 72.279847 l
636.471074 85.637912 l
405.892562 57.921534 m
418.028273 120.485629 l
442.299696 343.538102 l
443.065095 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 43.405623 m
418.028273 46.943213 l
442.299696 55.140405 l
515.113963 84.160362 l
636.471074 119.70435 l
405.892562 43.063947 m
418.028273 46.713562 l
442.299696 54.101663 l
515.113963 80.473417 l
636.471074 119.823676 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 60.349399 m
418.028273 115.113678 l
439.282293 361 l
405.892562 41.744863 m
418.028273 44.673314 l
442.299696 48.507933 l
515.113963 64.018825 l
636.471074 87.222184 l
stroke
grestore
0.8 setlinewidth
@ -4265,7 +4284,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
398.612 322.8 translate
399.237 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -4289,20 +4308,22 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0441 glyphshow
165.199 0 m /uni043F glyphshow
173.045 0 m /uni0438 glyphshow
180.844 0 m /uni0441 glyphshow
187.441 0 m /uni043A glyphshow
194.689 0 m /uni0430 glyphshow
202.043 0 m /space glyphshow
205.857 0 m /parenleft glyphshow
210.539 0 m /s glyphshow
216.791 0 m /h glyphshow
224.396 0 m /u glyphshow
232.002 0 m /f glyphshow
236.227 0 m /f glyphshow
240.451 0 m /parenright glyphshow
158.602 0 m /L glyphshow
165.287 0 m /i glyphshow
168.621 0 m /n glyphshow
176.227 0 m /k glyphshow
183.176 0 m /l glyphshow
186.51 0 m /i glyphshow
189.844 0 m /s glyphshow
196.096 0 m /t glyphshow
200.801 0 m /space glyphshow
204.615 0 m /parenleft glyphshow
209.297 0 m /s glyphshow
215.549 0 m /h glyphshow
223.154 0 m /u glyphshow
230.76 0 m /f glyphshow
234.984 0 m /f glyphshow
239.209 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
%!PS-Adobe-3.0 EPSF-3.0
%%LanguageLevel: 3
%%Title: Tre1.eps
%%Title: TTree2.eps
%%Creator: Matplotlib v3.10.0, https://matplotlib.org/
%%CreationDate: Sat Mar 21 20:52:19 2026
%%CreationDate: Tue Mar 24 18:03:55 2026
%%Orientation: portrait
%%BoundingBox: 0 0 720 360
%%HiResBoundingBox: 0.000000 0.000000 720.000000 360.000000
@ -26,7 +26,7 @@ mpldict begin
/FontMatrix [0.00048828125 0 0 0.00048828125 0 0] def
/FontBBox [-2090 -948 3673 2524] def
/FontType 3 def
/Encoding [/uni0413 /uni0432 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /uni0430 /four /uni0435 /six /uni0436 /uni0438 /eight /uni043A /uni043B /uni0439 /uni043D /uni043E /uni0440 /uni0441 /uni0442 /uni0444 /N /uni044F /d /e /f /h /i /l /n /o /r /s /t /u] def
/Encoding [/uni0413 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /uni0430 /four /uni0435 /six /uni0436 /uni0438 /eight /uni043A /uni043B /uni0439 /uni043D /uni043E /uni0440 /uni0441 /uni0442 /uni0444 /N /uni044F /T /d /e /f /h /i /l /n /o /r /s /t /u] def
/CharStrings 42 dict dup begin
/.notdef 0 def
/uni0413{1249 0 201 0 1130 1493 sc
@ -38,39 +38,6 @@ mpldict begin
403 0 l
201 0 l
ce} _d
/uni0432{1207 0 186 0 1086 1120 sc
370 516 m
370 147 l
632 147 l
716 147 780 163 824 194 c
868 226 890 272 890 332 c
890 392 868 438 824 469 c
780 500 716 516 632 516 c
370 516 l
370 973 m
370 663 l
612 663 l
681 663 738 677 782 704 c
826 732 848 771 848 820 c
848 869 826 907 782 933 c
738 960 681 973 612 973 c
370 973 l
186 1120 m
624 1120 l
755 1120 856 1096 927 1048 c
998 1000 1033 932 1033 843 c
1033 774 1015 720 979 679 c
943 639 890 614 819 604 c
904 588 969 555 1016 504 c
1063 453 1086 390 1086 314 c
1086 214 1047 137 970 82 c
893 27 784 0 641 0 c
186 0 l
186 1120 l
ce} _d
/space{651 0 0 0 0 0 sc
ce} _d
@ -648,6 +615,18 @@ ce} _d
314 0 l
116 0 l
ce} _d
/T{1251 0 -6 0 1257 1493 sc
-6 1493 m
1257 1493 l
1257 1323 l
727 1323 l
727 0 l
524 0 l
524 1323 l
-6 1323 l
-6 1493 l
ce} _d
/d{1300 0 113 -29 1114 1556 sc
930 950 m
@ -2473,55 +2452,55 @@ grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 44.206879 m
113.664637 50.763971 l
137.936059 68.174774 l
210.750326 98.364626 l
332.107438 164.156771 l
101.528926 122.332724 m
112.636893 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 49.98199 m
113.664637 62.530797 l
137.936059 88.332056 l
210.750326 153.833806 l
332.107438 269.884953 l
101.528926 50.046337 m
113.664637 61.77417 l
137.936059 87.452426 l
210.750326 150.875564 l
332.107438 277.661079 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 121.025467 m
112.462178 361 l
101.528926 44.381423 m
113.664637 51.159295 l
137.936059 63.2471 l
210.750326 99.488672 l
332.107438 161.526642 l
stroke
grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 44.206879 m
113.664637 50.763971 l
137.936059 68.174774 l
210.750326 98.364626 l
332.107438 164.156771 l
101.528926 122.332724 m
112.636893 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 49.98199 m
113.664637 62.530797 l
137.936059 88.332056 l
210.750326 153.833806 l
332.107438 269.884953 l
101.528926 50.046337 m
113.664637 61.77417 l
137.936059 87.452426 l
210.750326 150.875564 l
332.107438 277.661079 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 121.025467 m
112.462178 361 l
101.528926 44.381423 m
113.664637 51.159295 l
137.936059 63.2471 l
210.750326 99.488672 l
332.107438 161.526642 l
stroke
grestore
0.8 setlinewidth
@ -2550,7 +2529,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
96.7322 322.8 translate
106.779 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -2574,19 +2553,17 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0434 glyphshow
166.898 0 m /uni0435 glyphshow
174.281 0 m /uni0440 glyphshow
181.898 0 m /uni0435 glyphshow
189.281 0 m /uni0432 glyphshow
196.354 0 m /uni0430 glyphshow
203.707 0 m /space glyphshow
207.521 0 m /parenleft glyphshow
212.203 0 m /s glyphshow
218.455 0 m /o glyphshow
225.797 0 m /r glyphshow
230.73 0 m /t glyphshow
235.436 0 m /parenright glyphshow
158.602 0 m /T glyphshow
164.182 0 m /r glyphshow
168.865 0 m /e glyphshow
176.248 0 m /e glyphshow
183.631 0 m /space glyphshow
187.445 0 m /parenleft glyphshow
192.127 0 m /s glyphshow
198.379 0 m /o glyphshow
205.721 0 m /r glyphshow
210.654 0 m /t glyphshow
215.359 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap
@ -4205,61 +4182,61 @@ grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.782139 m
418.028273 39.797514 l
442.299696 39.820707 l
515.113963 39.869069 l
636.471074 39.874502 l
405.892562 42.238445 m
418.028273 45.466993 l
442.299696 52.742662 l
515.113963 79.857146 l
636.471074 125.378764 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.953393 m
418.028273 39.980023 l
442.299696 40.021843 l
515.113963 40.105299 l
636.471074 40.139062 l
405.892562 39.935301 m
418.028273 39.988524 l
442.299696 40.036146 l
515.113963 40.120582 l
636.471074 40.139154 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 42.250605 m
418.028273 45.365132 l
442.299696 52.723905 l
515.113963 79.457424 l
636.471074 125.814153 l
405.892562 39.789716 m
418.028273 39.802356 l
442.299696 39.829688 l
515.113963 39.877255 l
636.471074 39.871323 l
stroke
grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.782139 m
418.028273 39.797514 l
442.299696 39.820707 l
515.113963 39.869069 l
636.471074 39.874502 l
405.892562 42.238445 m
418.028273 45.466993 l
442.299696 52.742662 l
515.113963 79.857146 l
636.471074 125.378764 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.953393 m
418.028273 39.980023 l
442.299696 40.021843 l
515.113963 40.105299 l
636.471074 40.139062 l
405.892562 39.935301 m
418.028273 39.988524 l
442.299696 40.036146 l
515.113963 40.120582 l
636.471074 40.139154 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 42.250605 m
418.028273 45.365132 l
442.299696 52.723905 l
515.113963 79.457424 l
636.471074 125.814153 l
405.892562 39.789716 m
418.028273 39.802356 l
442.299696 39.829688 l
515.113963 39.877255 l
636.471074 39.871323 l
stroke
grestore
0.8 setlinewidth
@ -4288,7 +4265,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
397.76 322.8 translate
407.807 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -4312,20 +4289,18 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0434 glyphshow
166.898 0 m /uni0435 glyphshow
174.281 0 m /uni0440 glyphshow
181.898 0 m /uni0435 glyphshow
189.281 0 m /uni0432 glyphshow
196.354 0 m /uni0430 glyphshow
203.707 0 m /space glyphshow
207.521 0 m /parenleft glyphshow
212.203 0 m /s glyphshow
218.455 0 m /h glyphshow
226.061 0 m /u glyphshow
233.666 0 m /f glyphshow
237.891 0 m /f glyphshow
242.115 0 m /parenright glyphshow
158.602 0 m /T glyphshow
164.182 0 m /r glyphshow
168.865 0 m /e glyphshow
176.248 0 m /e glyphshow
183.631 0 m /space glyphshow
187.445 0 m /parenleft glyphshow
192.127 0 m /s glyphshow
198.379 0 m /h glyphshow
205.984 0 m /u glyphshow
213.59 0 m /f glyphshow
217.814 0 m /f glyphshow
222.039 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap

View File

@ -1,8 +1,8 @@
%!PS-Adobe-3.0 EPSF-3.0
%%LanguageLevel: 3
%%Title: hasht.eps
%%Title: Thasht1.eps
%%Creator: Matplotlib v3.10.0, https://matplotlib.org/
%%CreationDate: Sat Mar 21 20:39:59 2026
%%CreationDate: Tue Mar 24 18:06:57 2026
%%Orientation: portrait
%%BoundingBox: 0 0 720 360
%%HiResBoundingBox: 0.000000 0.000000 720.000000 360.000000
@ -26,8 +26,8 @@ mpldict begin
/FontMatrix [0.00048828125 0 0 0.00048828125 0 0] def
/FontBBox [-2090 -948 3673 2524] def
/FontType 3 def
/Encoding [/uni0413 /uni0431 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /uni0430 /four /uni0435 /six /uni0436 /uni0438 /eight /uni043A /uni043B /uni0439 /uni043D /uni043E /uni0440 /uni0441 /uni0442 /uni0444 /uni0446 /uni044B /N /uni044F /d /e /f /h /i /l /n /o /r /s /t /u] def
/CharStrings 44 dict dup begin
/Encoding [/uni0413 /space /uni0434 /parenleft /parenright /asterisk /period /zero /one /two /uni0430 /four /uni0435 /six /uni0436 /uni0438 /eight /uni043A /uni043B /uni0439 /uni043D /uni043E /uni0440 /uni0441 /uni0442 /uni0444 /N /uni044F /a /d /e /f /h /i /l /n /o /r /s /t /u] def
/CharStrings 42 dict dup begin
/.notdef 0 def
/uni0413{1249 0 201 0 1130 1493 sc
201 0 m
@ -38,39 +38,6 @@ mpldict begin
403 0 l
201 0 l
ce} _d
/uni0431{1263 0 112 -29 1151 1591 sc
637 1147 m
797 1147 923 1095 1014 991 c
1105 887 1151 743 1151 559 c
1151 376 1105 232 1014 127 c
923 23 797 -29 637 -29 c
476 -29 352 22 263 123 c
174 224 128 370 123 559 c
117 788 l
114 867 112 921 112 948 c
112 1055 131 1147 170 1226 c
231 1349 313 1438 418 1491 c
523 1544 664 1572 840 1573 c
921 1574 980 1580 1016 1591 c
1067 1445 l
1034 1432 1003 1425 973 1424 c
723 1407 l
639 1401 572 1383 521 1354 c
388 1276 316 1186 303 1084 c
296 1028 l
383 1107 496 1147 637 1147 c
637 991 m
538 991 460 952 403 875 c
346 798 317 693 317 559 c
317 425 345 319 402 242 c
459 165 538 127 637 127 c
735 127 813 166 870 243 c
927 320 956 426 956 559 c
956 692 927 797 870 874 c
813 952 735 991 637 991 c
ce} _d
/space{651 0 0 0 0 0 sc
ce} _d
@ -609,53 +576,6 @@ ce} _d
1262 125 1327 158 1375 224 c
1424 291 1448 402 1448 559 c
ce} _d
/uni0446{1394 0 186 -283 1300 1120 sc
1153 0 m
186 0 l
186 1120 l
371 1120 l
371 147 l
968 147 l
968 1120 l
1153 1120 l
1153 147 l
1300 147 l
1300 -283 l
1153 -283 l
1153 0 l
ce} _d
/uni044B{1617 0 186 0 1435 1147 sc
1251 1120 m
1435 1120 l
1435 0 l
1251 0 l
1251 1120 l
1343 1147 m
1343 1147 l
890 332 m
890 392 868 438 824 469 c
781 500 717 516 633 516 c
371 516 l
371 147 l
633 147 l
717 147 781 163 824 194 c
868 226 890 272 890 332 c
186 1120 m
371 1120 l
371 663 l
641 663 l
784 663 893 636 970 581 c
1047 527 1086 444 1086 332 c
1086 220 1047 137 970 82 c
893 27 784 0 641 0 c
186 0 l
186 1120 l
ce} _d
/N{1532 0 201 0 1331 1493 sc
201 1493 m
@ -695,6 +615,40 @@ ce} _d
314 0 l
116 0 l
ce} _d
/a{1255 0 123 -29 1069 1147 sc
702 563 m
553 563 450 546 393 512 c
336 478 307 420 307 338 c
307 273 328 221 371 182 c
414 144 473 125 547 125 c
649 125 731 161 792 233 c
854 306 885 402 885 522 c
885 563 l
702 563 l
1069 639 m
1069 0 l
885 0 l
885 170 l
843 102 791 52 728 19 c
665 -13 589 -29 498 -29 c
383 -29 292 3 224 67 c
157 132 123 218 123 326 c
123 452 165 547 249 611 c
334 675 460 707 627 707 c
885 707 l
885 725 l
885 810 857 875 801 921 c
746 968 668 991 567 991 c
503 991 441 983 380 968 c
319 953 261 930 205 899 c
205 1069 l
272 1095 338 1114 401 1127 c
464 1140 526 1147 586 1147 c
748 1147 869 1105 949 1021 c
1029 937 1069 810 1069 639 c
ce} _d
/d{1300 0 113 -29 1114 1556 sc
930 950 m
@ -2520,61 +2474,61 @@ grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.822795 m
113.664637 39.949568 l
137.936059 40.304938 l
210.750326 41.216834 l
332.107438 42.088221 l
101.528926 41.546055 m
113.664637 45.687866 l
137.936059 60.040174 l
210.750326 163.794027 l
282.812834 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.952839 m
113.664637 40.098664 l
137.936059 40.539671 l
210.750326 41.881338 l
332.107438 43.604671 l
101.528926 39.924601 m
113.664637 40.118863 l
137.936059 40.512986 l
210.750326 41.585417 l
332.107438 43.622616 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 41.722188 m
113.664637 45.378419 l
137.936059 61.693302 l
210.750326 181.852498 l
279.945825 361 l
101.528926 39.817713 m
113.664637 39.925876 l
137.936059 40.164712 l
210.750326 40.997199 l
332.107438 42.464862 l
stroke
grestore
1 0 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.822795 m
113.664637 39.949568 l
137.936059 40.304938 l
210.750326 41.216834 l
332.107438 42.088221 l
101.528926 41.546055 m
113.664637 45.687866 l
137.936059 60.040174 l
210.750326 163.794027 l
282.812834 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 39.952839 m
113.664637 40.098664 l
137.936059 40.539671 l
210.750326 41.881338 l
332.107438 43.604671 l
101.528926 39.924601 m
113.664637 40.118863 l
137.936059 40.512986 l
210.750326 41.585417 l
332.107438 43.622616 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
90 39.6 253.636 277.2 rectclip
101.528926 41.722188 m
113.664637 45.378419 l
137.936059 61.693302 l
210.750326 181.852498 l
279.945825 361 l
101.528926 39.817713 m
113.664637 39.925876 l
137.936059 40.164712 l
210.750326 40.997199 l
332.107438 42.464862 l
stroke
grestore
0.8 setlinewidth
@ -2603,7 +2557,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
91.8729 322.8 translate
102.537 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -2627,20 +2581,18 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0442 glyphshow
165.592 0 m /uni0430 glyphshow
172.945 0 m /uni0431 glyphshow
180.346 0 m /uni043B glyphshow
188.016 0 m /uni0438 glyphshow
195.814 0 m /uni0446 glyphshow
203.982 0 m /uni044B glyphshow
213.457 0 m /space glyphshow
217.271 0 m /parenleft glyphshow
221.953 0 m /s glyphshow
228.205 0 m /o glyphshow
235.547 0 m /r glyphshow
240.48 0 m /t glyphshow
245.186 0 m /parenright glyphshow
158.602 0 m /h glyphshow
166.207 0 m /a glyphshow
173.561 0 m /s glyphshow
179.812 0 m /h glyphshow
187.418 0 m /t glyphshow
192.123 0 m /space glyphshow
195.938 0 m /parenleft glyphshow
200.619 0 m /s glyphshow
206.871 0 m /o glyphshow
214.213 0 m /r glyphshow
219.146 0 m /t glyphshow
223.852 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap
@ -4259,61 +4211,61 @@ grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.836174 m
418.028273 39.947369 l
442.299696 40.20984 l
515.113963 41.417028 l
636.471074 42.306969 l
405.892562 41.565736 m
418.028273 45.793757 l
442.299696 60.118178 l
515.113963 169.27233 l
584.927972 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.96498 m
418.028273 40.117237 l
442.299696 40.486208 l
515.113963 41.996191 l
636.471074 43.758499 l
405.892562 39.940901 m
418.028273 40.11027 l
442.299696 40.474732 l
515.113963 41.717198 l
636.471074 43.499539 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 41.776889 m
418.028273 45.522951 l
442.299696 62.252174 l
515.113963 187.848574 l
582.578284 361 l
405.892562 39.823922 m
418.028273 39.967401 l
442.299696 40.200692 l
515.113963 40.986333 l
636.471074 42.457821 l
stroke
grestore
1 0 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.836174 m
418.028273 39.947369 l
442.299696 40.20984 l
515.113963 41.417028 l
636.471074 42.306969 l
405.892562 41.565736 m
418.028273 45.793757 l
442.299696 60.118178 l
515.113963 169.27233 l
584.927972 361 l
stroke
grestore
0 0 1 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 39.96498 m
418.028273 40.117237 l
442.299696 40.486208 l
515.113963 41.996191 l
636.471074 43.758499 l
405.892562 39.940901 m
418.028273 40.11027 l
442.299696 40.474732 l
515.113963 41.717198 l
636.471074 43.499539 l
stroke
grestore
0 0.502 0 setrgbcolor
gsave
394.364 39.6 253.636 277.2 rectclip
405.892562 41.776889 m
418.028273 45.522951 l
442.299696 62.252174 l
515.113963 187.848574 l
582.578284 361 l
405.892562 39.823922 m
418.028273 39.967401 l
442.299696 40.200692 l
515.113963 40.986333 l
636.471074 42.457821 l
stroke
grestore
0.8 setlinewidth
@ -4342,7 +4294,7 @@ grestore
/DejaVuSans 12.000 selectfont
gsave
392.901 322.8 translate
403.565 322.8 translate
0 rotate
0 0 m /uni0413 glyphshow
7.31836 0 m /uni0440 glyphshow
@ -4366,21 +4318,19 @@ gsave
139.898 0 m /uni043B glyphshow
147.568 0 m /uni044F glyphshow
154.787 0 m /space glyphshow
158.602 0 m /uni0442 glyphshow
165.592 0 m /uni0430 glyphshow
172.945 0 m /uni0431 glyphshow
180.346 0 m /uni043B glyphshow
188.016 0 m /uni0438 glyphshow
195.814 0 m /uni0446 glyphshow
203.982 0 m /uni044B glyphshow
213.457 0 m /space glyphshow
217.271 0 m /parenleft glyphshow
221.953 0 m /s glyphshow
228.205 0 m /h glyphshow
235.811 0 m /u glyphshow
243.416 0 m /f glyphshow
247.641 0 m /f glyphshow
251.865 0 m /parenright glyphshow
158.602 0 m /h glyphshow
166.207 0 m /a glyphshow
173.561 0 m /s glyphshow
179.812 0 m /h glyphshow
187.418 0 m /t glyphshow
192.123 0 m /space glyphshow
195.938 0 m /parenleft glyphshow
200.619 0 m /s glyphshow
206.871 0 m /h glyphshow
214.477 0 m /u glyphshow
222.082 0 m /f glyphshow
226.307 0 m /f glyphshow
230.531 0 m /parenright glyphshow
grestore
1 setlinewidth
0 setlinecap

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -1,5 +1,4 @@
import pandas as pd
import glob
import re
import os
import matplotlib.pyplot as plt
@ -10,44 +9,11 @@ from scipy.optimize import curve_fit
from numpy.polynomial import Polynomial
# folder_path = 'results'
# # Список размеров (500, 1000, 2000, 5000, 10000)
# sizes = ['500', '1000', '2000', '5000', '10000']
# for size in sizes:
# files = glob.glob(os.path.join(folder_path, f'timedata_{size}_epochs_*.csv'))
# if not files:
# continue
# # Читаем файлы
# dfs = [pd.read_csv(f) for f in files]
# # Определяем, какие колонки текстовые (не числовые)
# # Предполагаем, что во всех файлах они одинаковые
# text_cols = dfs[0].select_dtypes(exclude=['number']).columns.tolist()
# # Объединяем и считаем среднее
# # Группируем по текстовым колонкам, чтобы они остались в результате
# if text_cols:
# combined = pd.concat(dfs)
# mean_df = combined.groupby(text_cols).mean().reset_index()
# else:
# # Если текста нет, просто среднее по строкам
# mean_df = pd.concat(dfs).groupby(level=0).mean()
# output_name = f'average_timedata_{size}.csv'
# mean_df.to_csv(os.path.join(folder_path, output_name), index=False)
# print(f"Файл {output_name} успешно создан")
df500 = pd.read_csv("results/average_timedata_500.csv")
df1000 = pd.read_csv("results/average_timedata_1000.csv")
df2000 = pd.read_csv("results/average_timedata_2000.csv")
df5000 = pd.read_csv("results/average_timedata_5000.csv")
df10000 = pd.read_csv("results/average_timedata_10000.csv")
df500 = pd.read_csv("results/aaverage_timedata_500.csv")
df1000 = pd.read_csv("results/aaverage_timedata_1000.csv")
df2000 = pd.read_csv("results/aaverage_timedata_2000.csv")
df5000 = pd.read_csv("results/aaverage_timedata_5000.csv")
df10000 = pd.read_csv("results/aaverage_timedata_10000.csv")
def select_data_list(ax):
@ -106,26 +72,30 @@ def select_data_tree(ax):
ax[0].plot(Nvals, [row[2] for row in valsSort], label="insert", color='green')
ax[1].plot(Nvals, [row[2] for row in valsShuff], color='green')
# list(df500[(df500['Структура'] == "linklist") & (df500['Режим'] == "shuffled")]["Время (сек)"])
# построение графика
fig, ax = plt.subplots(figsize=(10, 5), nrows=1, ncols=2)
for i in range(2):
# select_data_list(ax)
# select_data_hasht(ax)
select_data_tree(ax)
ax[0].set_title("График сложностей для дерева (sort)")
ax[1].set_title("График сложностей для дерева (shuff)")
ax[i].set_xlabel("N")
ax[i].set_ylabel("сек * ")
ax[i].grid(which="major", linewidth=1.5)
ax[i].grid(which="minor", color="gray", linewidth=0.5)
ax[i].xaxis.set_minor_locator(AutoMinorLocator())
ax[i].yaxis.set_minor_locator(AutoMinorLocator())
ax[i].legend()
ax[i].set_ylim(0, 0.1)
plt.savefig('graphics\Tree1.png', dpi=200)
plt.savefig('graphics\Tre1.eps', dpi=200)
plt.show()
def design_show_graph(title, version, ymaxlim):
fig, ax = plt.subplots(figsize=(10, 5), nrows=1, ncols=2)
for i in range(2):
match title:
case "Tree":
select_data_tree(ax)
case "Linklist":
select_data_list(ax)
case "hasht":
select_data_hasht(ax)
ax[0].set_title(f"График сложностей для {title} (sort)")
ax[1].set_title(f"График сложностей для {title} (shuff)")
ax[i].set_xlabel("N")
ax[i].set_ylabel("сек * ")
ax[i].grid(which="major", linewidth=1.5)
ax[i].grid(which="minor", color="gray", linewidth=0.5)
ax[i].xaxis.set_minor_locator(AutoMinorLocator())
ax[i].yaxis.set_minor_locator(AutoMinorLocator())
ax[i].legend()
ax[i].set_ylim(0, ymaxlim)
plt.savefig(f'graphics\{title}{version}.png', dpi=200)
plt.savefig(f'graphics\T{title}{version}.eps', dpi=200)
plt.show()
design_show_graph("hasht", 2, 0.4)

View File

@ -0,0 +1,19 @@
Структура,Режим,Операция,Время (сек)
linklist,shuffled,insert,0.02917951999970676
linklist,shuffled,find,0.00256621999997146
linklist,shuffled,delete,0.0018302000000403
hashtable,shuffled,insert,0.00223439999972464
hashtable,shuffled,find,0.00018408000032643998
hashtable,shuffled,delete,0.00013254000023147998
bintree,shuffled,insert,0.00211651999998134
bintree,shuffled,find,0.00014015999986434
bintree,shuffled,delete,7.299999997485429e-05
linklist,sorted,insert,0.02902601999994654
linklist,sorted,find,0.00272362000014248
linklist,sorted,delete,0.0017690399998172598
hashtable,sorted,insert,0.00219620000007122
hashtable,sorted,find,0.00018717999992074
hashtable,sorted,delete,0.00011756000003512
bintree,sorted,insert,0.12391134000008604
bintree,sorted,find,0.0079993400002422
bintree,sorted,delete,0.004170019999764881
1 Структура Режим Операция Время (сек)
2 linklist shuffled insert 0.02917951999970676
3 linklist shuffled find 0.00256621999997146
4 linklist shuffled delete 0.0018302000000403
5 hashtable shuffled insert 0.00223439999972464
6 hashtable shuffled find 0.00018408000032643998
7 hashtable shuffled delete 0.00013254000023147998
8 bintree shuffled insert 0.00211651999998134
9 bintree shuffled find 0.00014015999986434
10 bintree shuffled delete 7.299999997485429e-05
11 linklist sorted insert 0.02902601999994654
12 linklist sorted find 0.00272362000014248
13 linklist sorted delete 0.0017690399998172598
14 hashtable sorted insert 0.00219620000007122
15 hashtable sorted find 0.00018717999992074
16 hashtable sorted delete 0.00011756000003512
17 bintree sorted insert 0.12391134000008604
18 bintree sorted find 0.0079993400002422
19 bintree sorted delete 0.004170019999764881

View File

@ -0,0 +1,19 @@
Структура,Режим,Операция,Время (сек)
linklist,shuffled,insert,2.835846880000099
linklist,shuffled,find,0.02894071999999136
linklist,shuffled,delete,0.017179720000240158
hashtable,shuffled,insert,0.16700972000016914
hashtable,shuffled,find,0.0014067599999179402
hashtable,shuffled,delete,0.00103095999966166
bintree,shuffled,insert,0.030944720000115878
bintree,shuffled,find,0.00019450000017964003
bintree,shuffled,delete,9.787999988471869e-05
linklist,sorted,insert,3.0041990600000643
linklist,sorted,find,0.02895102000002222
linklist,sorted,delete,0.016321099999913664
hashtable,sorted,insert,0.16461017999990868
hashtable,sorted,find,0.0014511600000332201
hashtable,sorted,delete,0.0010335000002669001
bintree,sorted,insert,13.270635900000162
bintree,sorted,find,0.08588061999998894
bintree,sorted,delete,0.04398507999994758
1 Структура Режим Операция Время (сек)
2 linklist shuffled insert 2.835846880000099
3 linklist shuffled find 0.02894071999999136
4 linklist shuffled delete 0.017179720000240158
5 hashtable shuffled insert 0.16700972000016914
6 hashtable shuffled find 0.0014067599999179402
7 hashtable shuffled delete 0.00103095999966166
8 bintree shuffled insert 0.030944720000115878
9 bintree shuffled find 0.00019450000017964003
10 bintree shuffled delete 9.787999988471869e-05
11 linklist sorted insert 3.0041990600000643
12 linklist sorted find 0.02895102000002222
13 linklist sorted delete 0.016321099999913664
14 hashtable sorted insert 0.16461017999990868
15 hashtable sorted find 0.0014511600000332201
16 hashtable sorted delete 0.0010335000002669001
17 bintree sorted insert 13.270635900000162
18 bintree sorted find 0.08588061999998894
19 bintree sorted delete 0.04398507999994758

View File

@ -0,0 +1,19 @@
Структура,Режим,Операция,Время (сек)
linklist,shuffled,insert,0.10964577999984607
linklist,shuffled,find,0.0052314799999293796
linklist,shuffled,delete,0.0032135400000697202
hashtable,shuffled,insert,0.00740193999990874
hashtable,shuffled,find,0.00031556000012638
hashtable,shuffled,delete,0.00021670000005536002
bintree,shuffled,insert,0.00474121999995982
bintree,shuffled,find,0.00015733999989602
bintree,shuffled,delete,8.285999992949656e-05
linklist,sorted,insert,0.11282076000006777
linklist,sorted,find,0.005443559999912359
linklist,sorted,delete,0.00299764000028512
hashtable,sorted,insert,0.007373800000095761
hashtable,sorted,find,0.0003293600002507
hashtable,sorted,delete,0.0002037199999904
bintree,sorted,insert,0.5389307199999166
bintree,sorted,find,0.01726278000005546
bintree,sorted,delete,0.008530699999937438
1 Структура Режим Операция Время (сек)
2 linklist shuffled insert 0.10964577999984607
3 linklist shuffled find 0.0052314799999293796
4 linklist shuffled delete 0.0032135400000697202
5 hashtable shuffled insert 0.00740193999990874
6 hashtable shuffled find 0.00031556000012638
7 hashtable shuffled delete 0.00021670000005536002
8 bintree shuffled insert 0.00474121999995982
9 bintree shuffled find 0.00015733999989602
10 bintree shuffled delete 8.285999992949656e-05
11 linklist sorted insert 0.11282076000006777
12 linklist sorted find 0.005443559999912359
13 linklist sorted delete 0.00299764000028512
14 hashtable sorted insert 0.007373800000095761
15 hashtable sorted find 0.0003293600002507
16 hashtable sorted delete 0.0002037199999904
17 bintree sorted insert 0.5389307199999166
18 bintree sorted find 0.01726278000005546
19 bintree sorted delete 0.008530699999937438

View File

@ -0,0 +1,19 @@
Структура,Режим,Операция,Время (сек)
linklist,shuffled,insert,0.00660949999983126
linklist,shuffled,find,0.00124962000008958
linklist,shuffled,delete,0.00077375999971984
hashtable,shuffled,insert,0.0007091399998898401
hashtable,shuffled,find,0.0001229800000146
hashtable,shuffled,delete,8.078000028035603e-05
bintree,shuffled,insert,0.0009518200002275399
bintree,shuffled,find,0.00012096000027665998
bintree,shuffled,delete,6.843999981356318e-05
linklist,sorted,insert,0.00651006000007322
linklist,sorted,find,0.00122699999992614
linklist,sorted,delete,0.00076204000015418
hashtable,sorted,insert,0.00070204000003282
hashtable,sorted,find,0.00011710000017042001
hashtable,sorted,delete,7.854000014049234e-05
bintree,sorted,insert,0.029845859999841146
bintree,sorted,find,0.0037685199999031604
bintree,sorted,delete,0.0017249000000446799
1 Структура Режим Операция Время (сек)
2 linklist shuffled insert 0.00660949999983126
3 linklist shuffled find 0.00124962000008958
4 linklist shuffled delete 0.00077375999971984
5 hashtable shuffled insert 0.0007091399998898401
6 hashtable shuffled find 0.0001229800000146
7 hashtable shuffled delete 8.078000028035603e-05
8 bintree shuffled insert 0.0009518200002275399
9 bintree shuffled find 0.00012096000027665998
10 bintree shuffled delete 6.843999981356318e-05
11 linklist sorted insert 0.00651006000007322
12 linklist sorted find 0.00122699999992614
13 linklist sorted delete 0.00076204000015418
14 hashtable sorted insert 0.00070204000003282
15 hashtable sorted find 0.00011710000017042001
16 hashtable sorted delete 7.854000014049234e-05
17 bintree sorted insert 0.029845859999841146
18 bintree sorted find 0.0037685199999031604
19 bintree sorted delete 0.0017249000000446799

View File

@ -0,0 +1,19 @@
Структура,Режим,Операция,Время (сек)
linklist,shuffled,insert,0.7089213999999628
linklist,shuffled,find,0.014745099999890881
linklist,shuffled,delete,0.008809099999962159
hashtable,shuffled,insert,0.04677934000010278
hashtable,shuffled,find,0.00076378000012476
hashtable,shuffled,delete,0.00050011999974224
bintree,shuffled,insert,0.014522779999788299
bintree,shuffled,find,0.00018779999973043998
bintree,shuffled,delete,0.00010001999980885392
linklist,sorted,insert,0.7636725799999112
linklist,sorted,find,0.014674599999852881
linklist,sorted,delete,0.00877973999977252
hashtable,sorted,insert,0.044803039999715064
hashtable,sorted,find,0.00071623999974684
hashtable,sorted,delete,0.0005040399997596401
bintree,sorted,insert,3.3051618999999848
bintree,sorted,find,0.040142699999887496
bintree,sorted,delete,0.02160486000011582
1 Структура Режим Операция Время (сек)
2 linklist shuffled insert 0.7089213999999628
3 linklist shuffled find 0.014745099999890881
4 linklist shuffled delete 0.008809099999962159
5 hashtable shuffled insert 0.04677934000010278
6 hashtable shuffled find 0.00076378000012476
7 hashtable shuffled delete 0.00050011999974224
8 bintree shuffled insert 0.014522779999788299
9 bintree shuffled find 0.00018779999973043998
10 bintree shuffled delete 0.00010001999980885392
11 linklist sorted insert 0.7636725799999112
12 linklist sorted find 0.014674599999852881
13 linklist sorted delete 0.00877973999977252
14 hashtable sorted insert 0.044803039999715064
15 hashtable sorted find 0.00071623999974684
16 hashtable sorted delete 0.0005040399997596401
17 bintree sorted insert 3.3051618999999848
18 bintree sorted find 0.040142699999887496
19 bintree sorted delete 0.02160486000011582

View File

@ -1,19 +0,0 @@
Структура,Режим,Операция,Время (сек)
bintree,shuffled,delete,7.1253333317145e-05
bintree,shuffled,find,0.00013709333328122667
bintree,shuffled,insert,0.00207977333326802
bintree,sorted,delete,0.004027406666697627
bintree,sorted,find,0.008272293333326707
bintree,sorted,insert,0.12546639333337828
hashtable,shuffled,delete,0.00012531333333446666
hashtable,shuffled,find,0.00018659333342529335
hashtable,shuffled,insert,0.0021367066666243334
hashtable,sorted,delete,0.00012610666664531332
hashtable,sorted,find,0.00017989333330958
hashtable,sorted,insert,0.0020845666666142264
linklist,shuffled,delete,0.0014374400000330134
linklist,shuffled,find,0.0026490666666783135
linklist,shuffled,insert,0.027241586666680903
linklist,sorted,delete,0.0016270466666658602
linklist,sorted,find,0.0025114866666474866
linklist,sorted,insert,0.02720876666670236
Internal Server Error - DRE.lab repo

Internal Server Error

Gitea Version: 1.22.0