Исправлены критические ошибки при снатии данных опыта и переделаны графики

This commit is contained in:
Proninvv 2026-03-24 18:08:56 +03:00
parent 34d23ee54b
commit 5fbb0eee9c
55 changed files with 13162 additions and 3446 deletions

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.

Binary file not shown.

Binary file not shown.

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
Internal Server Error - DRE.lab repo

Internal Server Error

Gitea Version: 1.22.0