Кафедра АВТ
Контрольная работа по АВТ
СОДЕРЖАНИЕ
Контрольная работа№1
Контрольная работа №2
Контрольная работа №3
Контрольная работа №4
Контрольная работа №5
Контрольная работа №6
1 Контрольная работа №1
1. Построить сеть, состоящую из 3х ПК и файл-сервера, сигнал идет от ПК на файл-сервер и обратно.
Листинг программы:
10 GENERATE 15,5
20 SEIZE PC1
30 ADVANCE 5,1
40 RELEASE PC1
50 SEIZE K1
60 ADVANCE 5,1
70 RELEASE K1
80 SEIZE FS
81 ADVANCE 4,1
90 RELEASE FS
91 SEIZE K1
92 ADVANCE 5,1
93 RELEASE K1
94 SEIZE PC1
95 ADVANCE 5,1
96 RELEASE PC1
100 TERMINATE
110 GENERATE 15,5
120 SEIZE PC2
130 ADVANCE 5,1
140 RELEASE PC2
150 SEIZE K2
160 ADVANCE 5,1
170 RELEASE K2
180 SEIZE FS
181 ADVANCE 4,1
190 RELEASE FS
191 SEIZE K2
192 ADVANCE 5,1
193 RELEASE K2
194 SEIZE PC2
195 ADVANCE 5,1
196 RELEASE PC2
200 TERMINATE
210 GENERATE 15,5
220 SEIZE PC3
230 ADVANCE 5,1
240 RELEASE PC3
250 SEIZE K3
260 ADVANCE 5,1
270 RELEASE K3
280 SEIZE FS
281 ADVANCE 4,1
290 RELEASE FS
291 SEIZE K3
292 ADVANCE 5,1
293 RELEASE K3
294 SEIZE PC3
295 ADVANCE 5,1
296 RELEASE PC3
300 TERMINATE
2000 GENERATE 1000
2010 TERMINATE 1
2020 START 1
Отчет GPSSREPT:
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 52 7 0 352400
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
PC1 10008 2
K1 10009 2
FS 10010 2
PC2 10011 2
K2 10012 2
PC3 10013 2
K3 10014 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 67 0 0
20 2 SEIZE 67 0 0
30 3 ADVANCE 67 0 0
40 4 RELEASE 67 0 0
50 5 SEIZE 67 0 0
60 6 ADVANCE 67 1 0
70 7 RELEASE 66 0 0
80 8 SEIZE 66 0 0
81 9 ADVANCE 66 0 0
90 10 RELEASE 66 1 0
91 11 SEIZE 65 0 0
92 12 ADVANCE 65 0 0
93 13 RELEASE 65 0 0
94 14 SEIZE 65 0 0
95 15 ADVANCE 65 1 0
96 16 RELEASE 64 0 0
110 18 GENERATE 67 0 0
120 19 SEIZE 67 0 0
130 20 ADVANCE 67 1 0
140 21 RELEASE 66 0 0
150 22 SEIZE 66 0 0
160 23 ADVANCE 66 0 0
170 24 RELEASE 66 0 0
180 25 SEIZE 66 1 0
181 26 ADVANCE 65 0 0
190 27 RELEASE 65 0 0
191 28 SEIZE 65 0 0
192 29 ADVANCE 65 0 0
193 30 RELEASE 65 0 0
194 31 SEIZE 65 0 0
195 32 ADVANCE 65 0 0
196 33 RELEASE 65 0 0
200 34 TERMINATE 65 0 0
210 35 GENERATE 65 0 0
220 36 SEIZE 65 0 0
230 37 ADVANCE 65 0 0
240 38 RELEASE 65 1 0
250 39 SEIZE 64 0 0
260 40 ADVANCE 64 0 0
270 41 RELEASE 64 0 0
280 42 SEIZE 64 0 0
281 43 ADVANCE 64 0 0
290 44 RELEASE 64 0 0
291 45 SEIZE 64 0 0
292 46 ADVANCE 64 1 0
293 47 RELEASE 63 0 0
294 48 SEIZE 63 0 0
295 49 ADVANCE 63 0 0
296 50 RELEASE 63 0 0
300 51 TERMINATE 63 0 0
2000 52 GENERATE 1 0 0
2010 53 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 132 0.661 5.01 1 193 0 0 0 0
K1 132 0.649 4.92 1 199 0 0 0 1
FS 196 0.777 3.96 1 196 0 0 0 0
PC2 132 0.666 5.05 1 198 0 0 0 0
K2 131 0.634 4.84 1 0 0 0 0 0
PC3 128 0.640 5.00 1 0 0 0 0 0
K3 128 0.651 5.09 1 195 0 0 0 1
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
2. Построить сеть, состоящую из 3х ПК и файл-сервера, соединенных через HUB.
Листинг программы
10 GENERATE 15,5
20 SEIZE PC1
30 ADVANCE 4,3
40 RELEASE PC1
50 SEIZE K1
60 ADVANCE 4,3
70 RELEASE K1
80 SEIZE HUB
90 ADVANCE 4,3
100 RELEASE HUB
110 SPLIT 1,A2
120 SPLIT 1,A3
130 SPLIT 1,A4
140 TERMINATE
150 A2 SEIZE K2
160 ADVANCE 4,3
170 RELEASE K2
180 SEIZE PC2
190 ADVANCE 4,3
200 RELEASE PC2
210 TERMINATE
220 A3 SEIZE K3
230 ADVANCE 4,3
240 RELEASE K3
250 SEIZE PC3
260 ADVANCE 4,3
270 RELEASE PC3
280 TERMINATE
290 A4 SEIZE K4
300 ADVANCE 4,3
310 RELEASE K4
320 SEIZE FS
330 ADVANCE 8,5
340 RELEASE FS
350 SEIZE K4
360 ADVANCE 4,3
370 RELEASE K4
380 SEIZE HUB
390 ADVANCE 4,3
400 RELEASE HUB
410 SPLIT 1,A1
420 SPLIT 1,A2
430 SPLIT 1,A3
440 TERMINATE
450 A1 SEIZE K1
460 ADVANCE 4,3
470 RELEASE K1
480 SEIZE PC1
490 ADVANCE 4,3
500 RELEASE PC1
510 TERMINATE
520 GENERATE 15,5
530 SEIZE PC2
540 ADVANCE 4,3
560 RELEASE PC2
570 SEIZE K2
580 ADVANCE 4,3
590 RELEASE K2
600 SEIZE HUB
610 ADVANCE 4,3
620 RELEASE HUB
630 SPLIT 1,A1
640 SPLIT 1,A3
650 SPLIT 1,A4
660 TERMINATE
670 GENERATE 15,5
680 SEIZE PC3
690 ADVANCE 4,3
700 RELEASE PC3
710 SEIZE K3
720 ADVANCE 4,3
730 RELEASE K3
740 SEIZE HUB
750 ADVANCE 4,3
760 RELEASE HUB
770 SPLIT 1,A1
780 SPLIT 1,A2
790 SPLIT 1,A4
800 TERMINATE
810 GENERATE 1000
820 TERMINATE 1
830 START 1
Отчет GPSSREPT:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:11:12 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 80 9 0 339600
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
PC1 10008 2
K1 10009 2
HUB 10010 2
A2 15 3
A3 22 3
A4 29 3
K2 10014 2
PC2 10015 2
K3 10016 2
PC3 10017 2
K4 10018 2
FS 10019 2
A1 45 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 62 2 0
20 2 SEIZE 60 0 0
30 3 ADVANCE 60 0 0
40 4 RELEASE 60 2 0
50 5 SEIZE 58 0 0
60 6 ADVANCE 58 1 0
70 7 RELEASE 57 7 0
80 8 SEIZE 50 0 0
90 9 ADVANCE 50 0 0
100 10 RELEASE 50 0 0
110 11 SPLIT 50 0 0
120 12 SPLIT 50 0 0
130 13 SPLIT 50 0 0
140 14 TERMINATE 50 0 0
150 A2 SEIZE 183 0 0
160 16 ADVANCE 183 0 0
170 17 RELEASE 183 0 0
180 18 SEIZE 183 0 0
190 19 ADVANCE 183 1 0
200 20 RELEASE 182 0 0
210 21 TERMINATE 182 0 0
220 A3 SEIZE 193 0 0
230 23 ADVANCE 193 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:11:12 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
240 24 RELEASE 193 12 0
250 25 SEIZE 181 0 0
260 26 ADVANCE 181 0 0
270 27 RELEASE 181 0 0
280 28 TERMINATE 181 0 0
290 A4 SEIZE 136 0 0
300 30 ADVANCE 136 0 0
310 31 RELEASE 136 16 0
320 32 SEIZE 120 0 0
330 33 ADVANCE 120 1 0
340 34 RELEASE 119 12 0
350 35 SEIZE 107 0 0
360 36 ADVANCE 107 1 0
370 37 RELEASE 106 13 0
380 38 SEIZE 93 0 0
390 39 ADVANCE 93 0 0
400 40 RELEASE 93 0 0
410 41 SPLIT 93 0 0
420 42 SPLIT 93 0 0
440 44 TERMINATE 93 0 0
450 A1 SEIZE 188 0 0
460 46 ADVANCE 188 0 0
470 47 RELEASE 188 6 0
480 48 SEIZE 182 0 0
490 49 ADVANCE 182 1 0
500 50 RELEASE 181 0 0
510 51 TERMINATE 181 0 0
520 52 GENERATE 64 0 0
530 53 SEIZE 64 0 0
540 54 ADVANCE 64 0 0
560 55 RELEASE 64 5 0
570 56 SEIZE 59 0 0
580 57 ADVANCE 59 1 0
590 58 RELEASE 58 6 0
600 59 SEIZE 52 0 0
610 60 ADVANCE 52 0 0
620 61 RELEASE 52 0 0
630 62 SPLIT 52 0 0
640 63 SPLIT 52 0 0
650 64 SPLIT 52 0 0
660 65 TERMINATE 52 0 0
670 66 GENERATE 67 4 0
680 67 SEIZE 63 0 0
690 68 ADVANCE 63 1 0
700 69 RELEASE 62 0 0
710 70 SEIZE 62 0 0
720 71 ADVANCE 62 1 0
730 72 RELEASE 61 7 0
740 73 SEIZE 54 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:11:12 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
750 74 ADVANCE 54 1 0
760 75 RELEASE 53 0 0
770 76 SPLIT 53 0 0
780 77 SPLIT 53 0 0
790 78 SPLIT 53 0 0
800 79 TERMINATE 53 0 0
810 80 GENERATE 1 0 0
820 81 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 242 0.845 3.94 1 863 0 0 0 8
K1 246 0.892 3.92 1 858 0 0 0 12
HUB 249 0.871 3.90 1 752 0 0 0 33
K2 242 0.931 3.98 1 841 0 0 0 18
PC2 247 0.867 3.91 1 873 0 0 0 0
K3 255 0.883 3.46 1 851 0 0 0 2
PC3 244 0.845 3.99 1 869 0 0 0 16
K4 243 0.787 3.95 1 649 0 0 0 31
FS 120 0.870 8.08 1 736 0 0 0 16
XACT_GROUP GROUP_SIZE RETRY POSITION 0 0
Вывод: в данной лабораторной работе рассмотрели работу простейшей сети, состоящей из 3х ПК и файл-сервера с HUB-ом и без него.
Контрольная работа № 2
1. Построить сеть, состоящую из 2х ПК и файл-сервера, соединенных через SWITCH
Листинг программы:
10 GENERATE 15,5
11 ASSIGN 1,1
12 ASSIGN 2,3
20 SEIZE PC1
30 ADVANCE 5,1
40 RELEASE PC1
50 SEIZE K1
60 ADVANCE 5,1
70 RELEASE K1
80 SEIZE SW
81 ADVANCE 6,2
90 RELEASE SW
91 TEST NE P2,1,A1
92 TEST NE P2,2,A2
93 TEST NE P2,3,A3
94 TERMINATE
96 A3 SEIZE K3
97 ADVANCE 5,1
98 RELEASE K3
99 SEIZE FS
100 ADVANCE 5,1
101 RELEASE FS
102 ASSIGN 2,P1
103 ASSIGN 1,3
103.1 SEIZE K3
103.2 ADVANCE 2,1
103.3 RELEASE K3
104 SEIZE SW
105 ADVANCE 6,2
106 RELEASE SW
107 TEST NE P2,1,A1
108 TEST NE P2,2,A2
109 TEST NE P2,3,A3
110 TERMINATE
111 A2 SEIZE K2
112 ADVANCE 5,1
117 RELEASE K2
118 SEIZE PC2
119 ADVANCE 5,1
120 RELEASE PC2
121 TERMINATE
122 A1 SEIZE K1
123 ADVANCE 5,1
124 RELEASE K1
125 SEIZE PC1
126 ADVANCE 5,1
127 RELEASE PC1
128 TERMINATE
129 GENERATE 15,5
130 ASSIGN 1,2
131 ASSIGN 2,3
132 SEIZE PC2
133 ADVANCE 5,1
140 RELEASE PC2
150 SEIZE K2
160 ADVANCE 5,1
170 RELEASE K2
180 SEIZE SW
181 ADVANCE 5,1
182 RELEASE SW
183 TEST NE P2,1,A1
184 TEST NE P2,2,A2
184 TEST NE P2,3,A3
185 TERMINATE
2000 GENERATE 1000
2010 TERMINATE 1
2020 START 1
Отчет GPSSREPT
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 64 7 0 343536
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
PC1 10008 2
K1 10009 2
SW 10010 2
A1 42 3
A2 35 3
A3 17 3
K3 10014 2
FS 10015 2
K2 10016 2
PC2 10017 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 67 0 0
11 2 ASSIGN 67 0 0
12 3 ASSIGN 67 0 0
20 4 SEIZE 67 0 0
30 5 ADVANCE 67 0 0
40 6 RELEASE 67 0 0
50 7 SEIZE 67 0 0
60 8 ADVANCE 67 0 0
70 9 RELEASE 67 18 0
80 10 SEIZE 49 0 0
81 11 ADVANCE 49 1 0
90 12 RELEASE 48 0 0
91 13 TEST 48 0 0
92 14 TEST 48 0 0
93 15 TEST 48 0 0
94 16 TERMINATE 0 0 0
96 A3 SEIZE 99 0 0
97 18 ADVANCE 99 0 0
98 19 RELEASE 99 0 0
99 20 SEIZE 99 0 0
100 21 ADVANCE 99 1 0
101 22 RELEASE 98 0 0
102 23 ASSIGN 98 0 0
103 24 ASSIGN 98 0 0
103.1 25 SEIZE 98 0 0
103.2 26 ADVANCE 98 1 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:27:09 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
103.3 27 RELEASE 97 27 0
104 28 SEIZE 70 0 0
105 29 ADVANCE 70 0 0
106 30 RELEASE 70 0 0
107 31 TEST 70 0 0
108 32 TEST 35 0 0
109 33 TEST 0 0 0
110 34 TERMINATE 0 0 0
111 A2 SEIZE 35 0 0
112 36 ADVANCE 35 0 0
117 37 RELEASE 35 0 0
118 38 SEIZE 35 0 0
119 39 ADVANCE 35 0 0
120 40 RELEASE 35 0 0
121 41 TERMINATE 35 0 0
122 A1 SEIZE 35 0 0
123 43 ADVANCE 35 0 0
124 44 RELEASE 35 0 0
125 45 SEIZE 35 0 0
126 46 ADVANCE 35 0 0
127 47 RELEASE 35 0 0
128 48 TERMINATE 35 0 0
129 49 GENERATE 69 0 0
130 50 ASSIGN 69 0 0
131 51 ASSIGN 69 0 0
132 52 SEIZE 69 0 0
133 53 ADVANCE 69 1 0
140 54 RELEASE 68 0 0
150 55 SEIZE 68 0 0
160 56 ADVANCE 68 0 0
170 57 RELEASE 68 17 0
180 58 SEIZE 51 0 0
181 59 ADVANCE 51 0 0
182 60 RELEASE 51 0 0
183 61 TEST 51 0 0
184 62 TEST 51 0 0
185 63 TERMINATE 0 0 0
2000 64 GENERATE 1 0 0
2010 65 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 102 0.511 5.01 1 0 0 0 0 0
K1 102 0.517 5.07 1 0 0 0 0 0
SW 170 0.871 5.71 1 100 0 0 0 62
K3 197 0.698 3.54 1 99 0 0 0 0
FS 99 0.576 4.81 1 101 0 0 0 0
K2 103 0.518 5.03 1 0 0 0 0 0
PC2 104 0.515 4.95 1 137 0 0 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:27:09 page 3
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
2. Построить сеть, состоящую из 2х ПК и файл-сервера, соединенных через SWITCH, добавить функцию генерирования адреса
Листинг программы:
1 ADR1 FUNCTION RN3,D2
0.2,2/1,3
2 ADR2 FUNCTION RN3,D2
0.2,1/1,3
10 GENERATE 15,5
11 ASSIGN 1,1
12 ASSIGN 2,FN$ADR1
20 SEIZE PC1
30 ADVANCE 5,1
40 RELEASE PC1
50 SEIZE K1
60 ADVANCE 5,1
70 RELEASE K1
80 SEIZE SW
81 ADVANCE 2,1
90 RELEASE SW
91 TEST NE P2,1,A1
92 TEST NE P2,2,A2
93 TEST NE P2,3,A3
94 TERMINATE
96 A3 SEIZE K3
97 ADVANCE 2,1
98 RELEASE K3
99 SEIZE FS
100 ADVANCE 5,1
101 RELEASE FS
102 ASSIGN 2,P1
103 ASSIGN 1,3
103.1 SEIZE K3
103.2 ADVANCE 2,1
103.3 RELEASE K3
104 SEIZE SW
105 ADVANCE 3,2
106 RELEASE SW
107 TEST NE P1,1,A1
108 TEST NE P1,2,A2
109 TERMINATE
111 A2 SEIZE K2
112 ADVANCE 5,1
113 RELEASE K2
114 SEIZE PC2
115 ADVANCE 5,1
116 RELEASE PC2
117 TERMINATE
118 A1 SEIZE K1
119 ADVANCE 5,1
120 RELEASE K1
121 SEIZE PC1
122 ADVANCE 5,1
123 RELEASE PC1
124 TERMINATE
125 GENERATE 10,5
126 ASSIGN 1,2
127 ASSIGN 2,FN$ADR2
128 SEIZE PC2
130 ADVANCE 5,1
140 RELEASE PC2
150 SEIZE K2
160 ADVANCE 5,1
170 RELEASE K2
180 SEIZE SW
181 ADVANCE 3,2
182 RELEASE SW
183 TEST NE P2,1,A1
184 TEST NE P2,2,A2
184 TEST NE P2,3,A3
185 TERMINATE
2000 GENERATE 1000
2010 TERMINATE 1
2020 START 1
Отчет GPSSREPT:
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 63 7 0 349776
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
PC1 10010 2
K1 10011 2
SW 10012 2
A1 41 3
A2 34 3
A3 17 3
K3 10016 2
FS 10017 2
K2 10018 2
PC2 10019 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 66 0 0
11 2 ASSIGN 66 0 0
12 3 ASSIGN 66 0 0
20 4 SEIZE 66 0 0
30 5 ADVANCE 66 0 0
40 6 RELEASE 66 0 0
50 7 SEIZE 66 0 0
60 8 ADVANCE 66 1 0
70 9 RELEASE 65 0 0
80 10 SEIZE 65 0 0
81 11 ADVANCE 65 0 0
90 12 RELEASE 65 0 0
91 13 TEST 65 0 0
92 14 TEST 65 0 0
93 15 TEST 44 0 0
94 16 TERMINATE 0 0 0
96 A3 SEIZE 117 0 0
97 18 ADVANCE 117 0 0
98 19 RELEASE 117 0 0
99 20 SEIZE 117 0 0
100 21 ADVANCE 117 0 0
101 22 RELEASE 117 0 0
102 23 ASSIGN 117 0 0
103 24 ASSIGN 117 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:35:36 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
103.1 25 SEIZE 117 0 0
103.2 26 ADVANCE 117 0 0
103.3 27 RELEASE 117 0 0
104 28 SEIZE 117 0 0
105 29 ADVANCE 117 1 0
106 30 RELEASE 116 0 0
107 31 TEST 116 0 0
108 32 TEST 116 0 0
109 33 TERMINATE 116 0 0
111 A2 SEIZE 21 0 0
112 35 ADVANCE 21 0 0
113 36 RELEASE 21 0 0
114 37 SEIZE 21 0 0
115 38 ADVANCE 21 0 0
116 39 RELEASE 21 0 0
117 40 TERMINATE 21 0 0
118 A1 SEIZE 27 0 0
119 42 ADVANCE 27 0 0
120 43 RELEASE 27 0 0
121 44 SEIZE 27 0 0
122 45 ADVANCE 27 1 0
123 46 RELEASE 26 0 0
124 47 TERMINATE 26 0 0
125 48 GENERATE 102 0 0
126 49 ASSIGN 102 0 0
127 50 ASSIGN 102 0 0
128 51 SEIZE 102 0 0
130 52 ADVANCE 102 1 0
140 53 RELEASE 101 0 0
150 54 SEIZE 101 0 0
160 55 ADVANCE 101 0 0
170 56 RELEASE 101 0 0
180 57 SEIZE 101 0 0
181 58 ADVANCE 101 0 0
182 59 RELEASE 101 0 0
183 60 TEST 101 1 0
184 61 TEST 73 0 0
185 62 TERMINATE 0 0 0
2000 63 GENERATE 1 0 0
2010 64 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 93 0.661 4.96 1 167 0 0 0 0
K1 93 0.672 5.08 1 166 0 0 0 1
SW 283 0.766 2.71 1 165 0 0 0 0
K3 234 0.672 2.02 1 0 0 0 0 0
FS 117 0.570 4.87 1 0 0 0 0 0
K2 122 0.614 5.03 1 0 0 0 0 0
PC2 123 0.618 5.02 1 169 0 0 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:35:36 page 3
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Вывод: в работе смоделировали сеть, состоящую из 2 компьютеров и файл-сервера, соединённых через свитч.
I. Контрольная работа №3
1. Построить сеть, аналогичную сети в л.р.2, добавить переменную запрос/ответ.
Листинг программы:
1 ADR1 FUNCTION RN3,D2
0.5,2/1,3
2 ADR2 FUNCTION RN3,D2
0.5,1/1,3
10 GENERATE 15,5
11 ASSIGN 1,1
12 ASSIGN 2,FN$ADR1
13 ASSIGN 3,0
20 SEIZE PC1
30 ADVANCE 5,1
40 RELEASE PC1
50 BB SEIZE K1
60 ADVANCE 2,1
70 RELEASE K1
80 SEIZE SW
81 ADVANCE 3,1
90 RELEASE SW
91 TEST NE P2,1,A1
92 TEST NE P2,2,A2
93 TEST NE P2,3,A3
94 TERMINATE
96 A3 SEIZE K3
97 ADVANCE 4,1
98 RELEASE K3
99 SEIZE FS
100 ADVANCE 6,1
101 RELEASE FS
102 ASSIGN 2,P1
103 ASSIGN 1,3
103.1 SEIZE K3
103.2 ADVANCE 2,1
103.3 RELEASE K3
104 SEIZE SW
105 ADVANCE 2,1
106 RELEASE SW
107 TEST NE P2,1,A1
108 TEST NE P2,2,A2
109 TERMINATE
111 A2 SEIZE K2
112 ADVANCE 5,1
113 RELEASE K2
114 SEIZE PC2
115 ADVANCE 3,1
116 RELEASE PC2
116.1 TEST NE P3,0,B1
117 TERMINATE
117.1 B1 ASSIGN 2,P1
117.2 ASSIGN 3,1
117.3 TRANSFER ,AA
118 A1 SEIZE K1
119 ADVANCE 5,1
120 RELEASE K1
121 SEIZE PC1
122 ADVANCE 2,1
123 RELEASE PC1
124 TEST NE P3,0,B2
125 TERMINATE
126 B2 ASSIGN 2,P1
127 ASSIGN 3,1
128 TRANSFER ,BB
130 GENERATE 15,5
131 ASSIGN 1,2
132 ASSIGN 2,FN$ADR2
133 ASSIGN 3,0
134 SEIZE PC2
135 ADVANCE 5,1
140 RELEASE PC2
150 AA SEIZE K2
160 ADVANCE 2,1
170 RELEASE K2
180 SEIZE SW
181 ADVANCE 3,1
182 RELEASE SW
183 TEST NE P2,1,A1
184 TEST NE P2,2,A2
184 TEST NE P2,3,A3
185 TERMINATE
2000 GENERATE 1000
2010 TERMINATE 1
2020 START 1
Отчет GPSSREPT:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:45:42 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 73 7 0 347424
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
PC1 10010 2
K1 10011 2
BB 8 3
SW 10013 2
A1 46 3
A2 35 3
A3 18 3
K3 10017 2
FS 10018 2
K2 10019 2
PC2 10020 2
B1 43 3
AA 64 3
B2 54 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 64 0 0
11 2 ASSIGN 64 0 0
12 3 ASSIGN 64 0 0
13 4 ASSIGN 64 0 0
20 5 SEIZE 64 0 0
30 6 ADVANCE 64 0 0
40 7 RELEASE 64 0 0
50 BB SEIZE 128 1 0
60 9 ADVANCE 127 0 0
70 10 RELEASE 127 1 0
80 11 SEIZE 126 0 0
81 12 ADVANCE 126 0 0
90 13 RELEASE 126 0 0
91 14 TEST 126 0 0
92 15 TEST 126 0 0
93 16 TEST 54 0 0
94 17 TERMINATE 0 0 0
96 A3 SEIZE 106 0 0
97 19 ADVANCE 106 0 0
98 20 RELEASE 106 1 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:45:42 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
99 21 SEIZE 105 0 0
100 22 ADVANCE 105 1 0
101 23 RELEASE 104 0 0
102 24 ASSIGN 104 0 0
103 25 ASSIGN 104 0 0
103.1 26 SEIZE 104 0 0
103.2 27 ADVANCE 104 1 0
103.3 28 RELEASE 103 2 0
104 29 SEIZE 101 1 0
105 30 ADVANCE 100 0 0
106 31 RELEASE 100 0 0
107 32 TEST 100 0 0
108 33 TEST 74 0 0
109 34 TERMINATE 48 0 0
111 A2 SEIZE 98 0 0
112 36 ADVANCE 98 1 0
113 37 RELEASE 97 1 0
114 38 SEIZE 96 0 0
115 39 ADVANCE 96 0 0
116 40 RELEASE 96 0 0
116.1 41 TEST 96 0 0
117 42 TERMINATE 36 0 0
117.1 B1 ASSIGN 60 0 0
117.2 44 ASSIGN 60 0 0
117.3 45 TRANSFER 60 0 0
118 A1 SEIZE 99 0 0
119 47 ADVANCE 99 0 0
120 48 RELEASE 99 0 0
121 49 SEIZE 99 0 0
122 50 ADVANCE 99 1 0
123 51 RELEASE 98 0 0
124 52 TEST 98 0 0
125 53 TERMINATE 34 0 0
126 B2 ASSIGN 64 0 0
127 55 ASSIGN 64 0 0
128 56 TRANSFER 64 0 0
130 57 GENERATE 68 0 0
131 58 ASSIGN 68 0 0
132 59 ASSIGN 68 0 0
133 60 ASSIGN 68 0 0
134 61 SEIZE 68 0 0
135 62 ADVANCE 68 1 0
140 63 RELEASE 67 0 0
150 AA SEIZE 127 0 0
160 65 ADVANCE 127 0 0
170 66 RELEASE 127 1 0
180 67 SEIZE 126 0 0
181 68 ADVANCE 126 0 0
182 69 RELEASE 126 0 0
183 70 TEST 126 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:45:42 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
184 71 TEST 53 1 0
185 72 TERMINATE 0 0 0
2000 73 GENERATE 1 0 0
2010 74 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 163 0.528 3.24 1 129 0 0 0 0
K1 227 0.753 3.32 1 132 0 0 0 0
SW 353 0.848 2.69 1 125 0 0 0 4
K3 210 0.624 2.97 1 118 0 0 0 1
FS 105 0.620 5.90 1 120 0 0 0 1
K2 225 0.753 3.35 1 126 0 0 0 0
PC2 164 0.625 3.81 1 133 0 0 0 1
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0 Построить сеть:
Листинг программы:
1 ADR1 FUNCTION RN3,D2
0.2,2/1,3
2 ADR2 FUNCTION RN3,D2
0.2,1/1,3
3 ADR3 FUNCTION RN1,D3
0.2,5/0.5,6/1,7
4 ADR4 FUNCTION RN1,D3
0.2,4/0.5,6/1,7
5 ADR5 FUNCTION RN1,D3
0.2,4/0.5,5/1,7
10 GENERATE 18,3
11 ASSIGN 1,1
12 ASSIGN 2,FN$ADR1
13 ASSIGN 3,0
20 SEIZE PC1
30 ADVANCE 6,1
40 RELEASE PC1
50 BB SEIZE K1
60 ADVANCE 3,1
70 RELEASE K1
80 SEIZE SW
81 ADVANCE 3,1
90 RELEASE SW
91 TEST NE P2,1,A1
92 TEST NE P2,2,A2
93 TEST NE P2,3,A3
94 TERMINATE
96 A3 SEIZE K3
97 ADVANCE 2,1
98 RELEASE K3
99 SEIZE FS
100 ADVANCE 5,1
101 RELEASE FS
102 ASSIGN 2,P1
103 ASSIGN 1,3
103.1 SEIZE K3
103.2 ADVANCE 2,1
103.3 RELEASE K3
104 SEIZE SW
105 ADVANCE 2,1
106 RELEASE SW
107 TEST NE P2,1,A1
108 TEST NE P2,2,A2
109 TERMINATE
111 A2 SEIZE K2
112 ADVANCE 5,1
113 RELEASE K2
114 SEIZE PC2
115 ADVANCE 5,1
116 RELEASE PC2
116.1 TEST NE P3,0,D1
117 TERMINATE
117.1 D1 ASSIGN 2,P1
117.2 ASSIGN 3,1
117.3 TRANSFER ,AA
118 A1 SEIZE K1
119 ADVANCE 5,1
120 RELEASE K1
121 SEIZE PC1
122 ADVANCE 6,1
123 RELEASE PC1
123.1 TEST NE P3,0,D2
124 TERMINATE
124.1 D2 ASSIGN 2,P1
124.2 ASSIGN 3,1
124.3 TRANSFER ,BB
125 GENERATE 18,3
126 ASSIGN 1,2
127 ASSIGN 2,FN$ADR2
127.1 ASSIGN 3,0
128 SEIZE PC2
130 ADVANCE 6,1
140 RELEASE PC2
150 AA SEIZE K2
160 ADVANCE 5,1
170 RELEASE K2
180 SEIZE SW
181 ADVANCE 3,1
182 RELEASE SW
183 TEST NE P2,1,A1
184 TEST NE P2,2,A2
184 TEST NE P2,3,A3
185 TERMINATE
1010 GENERATE 18,3
1011 ASSIGN 1,4
1012 ASSIGN 2,FN$ADR3
1013 ASSIGN 3,0
1020 SEIZE PC3
1030 ADVANCE 8,1
1040 RELEASE PC3
1050 ZZ SEIZE K4
1060 ADVANCE 5,1
1070 RELEASE K4
1080 SEIZE SW2
1081 ADVANCE 3,1
1090 RELEASE SW2
1091 TEST NE P2,4,B1
1092 TEST NE P2,5,B2
1093 TEST NE P2,6,B3
1094 TEST NE P2,7,B4
1095 TERMINATE
1096 B4 SEIZE K7
1097 ADVANCE 3,1
1098 RELEASE K7
1099 SEIZE FS2
10100 ADVANCE 6,1
10101 RELEASE FS2
10102 ASSIGN 2,P1
10103 ASSIGN 1,7
10103.1 SEIZE K7
10103.2 ADVANCE 3,1
10103.3 RELEASE K7
10104 SEIZE SW2
10105 ADVANCE 3,1
10106 RELEASE SW2
10107 TEST NE P2,4,B1
10108 TEST NE P2,5,B2
10109 TEST NE P2,6,B3
10110 TERMINATE
10111 B1 SEIZE K4
10112 ADVANCE 5,1
10113 RELEASE K4
10114 SEIZE PC3
10115 ADVANCE 8,1
10116 RELEASE PC3
10116.1 TEST NE P3,0,D3
10117 TERMINATE
10117.1 D3 ASSIGN 2,P1
10117.2 ASSIGN 3,1
10117.3 TRANSFER ,ZZ
10118 B2 SEIZE K5
10119 ADVANCE 5,1
10120 RELEASE K5
10121 SEIZE PC4
10122 ADVANCE 8,1
10123 RELEASE PC4
10123.1 TEST NE P3,0,D4
10124 TERMINATE
10125 D4 ASSIGN 2,P1
10126 ASSIGN 3,1
10127 TRANSFER ,XX
10140 B3 SEIZE K6
10141 ADVANCE 5,1
10142 RELEASE K6
10143 SEIZE PC5
10144 ADVANCE 8,1
10145 RELEASE PC5
10146 TEST NE P3,0,D5
10147 TERMINATE
10148 D5 ASSIGN 2,P1
10149 ASSIGN 3,1
10150 TRANSFER ,VV
10161 GENERATE 18,3
10162 ASSIGN 1,5
10163 ASSIGN 2,FN$ADR4
10164 ASSIGN 3,0
10165 SEIZE PC4
10166 ADVANCE 10,1
10167 RELEASE PC4
10168 XX SEIZE K5
10169 ADVANCE 10,1
10170 RELEASE K5
10180 SEIZE SW2
10181 ADVANCE 3,1
10182 RELEASE SW2
10183 TEST NE P2,4,B1
10184 TEST NE P2,5,B2
10184 TEST NE P2,6,B3
10185 TEST NE P2,7,B4
10186 TERMINATE
10261 GENERATE 18,3
10262 ASSIGN 1,6
10263 ASSIGN 2,FN$ADR5
10264 ASSIGN 3,0
10265 SEIZE PC5
10266 ADVANCE 8,1
10267 RELEASE PC5
10268 VV SEIZE K6
10269 ADVANCE 5,1
10270 RELEASE K6
10280 SEIZE SW2
10281 ADVANCE 3,1
10282 RELEASE SW2
10283 TEST NE P2,4,B1
10284 TEST NE P2,5,B2
10284 TEST NE P2,6,B3
10285 TEST NE P2,7,B4
10286 TERMINATE
102000 GENERATE 1000
102010 TERMINATE 1
102020 START
Отчет GPSSREPT:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:55:00 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 176 16 0 323120
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
ADR3 10010 2
ADR4 10011 2
ADR5 10012 2
PC1 10013 2
K1 10014 2
BB 8 3
SW 10016 2
A1 46 3
A2 35 3
A3 18 3
K3 10020 2
FS 10021 2
K2 10022 2
PC2 10023 2
D1 43 3
AA 64 3
D2 54 3
PC3 10027 2
K4 10028 2
ZZ 80 3
SW2 10030 2
B1 109 3
B2 120 3
B3 131 3
B4 91 3
K7 10035 2
FS2 10036 2
D3 117 3
K5 10038 2
PC4 10039 2
D4 128 3
XX 149 3
K6 10042 2
PC5 10043 2
D5 139 3
VV 166 3
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:55:00 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 54 0 0
11 2 ASSIGN 54 0 0
12 3 ASSIGN 54 0 0
13 4 ASSIGN 54 0 0
20 5 SEIZE 54 0 0
30 6 ADVANCE 54 0 0
40 7 RELEASE 54 1 0
50 BB SEIZE 100 0 0
60 9 ADVANCE 100 0 0
70 10 RELEASE 100 1 0
80 11 SEIZE 99 0 0
81 12 ADVANCE 99 0 0
90 13 RELEASE 99 0 0
91 14 TEST 99 0 0
92 15 TEST 99 0 0
93 16 TEST 74 0 0
94 17 TERMINATE 0 0 0
96 A3 SEIZE 153 0 0
97 19 ADVANCE 153 0 0
98 20 RELEASE 153 0 0
99 21 SEIZE 153 0 0
100 22 ADVANCE 153 1 0
101 23 RELEASE 152 0 0
102 24 ASSIGN 152 0 0
103 25 ASSIGN 152 0 0
103.1 26 SEIZE 152 0 0
103.2 27 ADVANCE 152 0 0
103.3 28 RELEASE 152 0 0
104 29 SEIZE 152 0 0
105 30 ADVANCE 152 0 0
106 31 RELEASE 152 0 0
107 32 TEST 152 1 0
108 33 TEST 114 0 0
109 34 TERMINATE 73 0 0
111 A2 SEIZE 66 0 0
112 36 ADVANCE 66 0 0
113 37 RELEASE 66 0 0
114 38 SEIZE 66 0 0
115 39 ADVANCE 66 1 0
116 40 RELEASE 65 0 0
116.1 41 TEST 65 0 0
117 42 TERMINATE 10 0 0
117.1 D1 ASSIGN 55 0 0
117.2 44 ASSIGN 55 0 0
117.3 45 TRANSFER 55 1 0
118 A1 SEIZE 63 0 0
119 47 ADVANCE 63 1 0
120 48 RELEASE 62 0 0
121 49 SEIZE 62 0 0
122 50 ADVANCE 62 1 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:55:00 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
123 51 RELEASE 61 0 0
123.1 52 TEST 61 0 0
124 53 TERMINATE 14 0 0
124.1 D2 ASSIGN 47 0 0
124.2 55 ASSIGN 47 0 0
124.3 56 TRANSFER 47 0 0
125 57 GENERATE 54 0 0
126 58 ASSIGN 54 0 0
127 59 ASSIGN 54 0 0
127.1 60 ASSIGN 54 0 0
128 61 SEIZE 54 0 0
130 62 ADVANCE 54 0 0
140 63 RELEASE 54 1 0
150 AA SEIZE 107 0 0
160 65 ADVANCE 107 1 0
170 66 RELEASE 106 0 0
180 67 SEIZE 106 0 0
181 68 ADVANCE 106 1 0
182 69 RELEASE 105 0 0
183 70 TEST 105 0 0
184 71 TEST 79 0 0
185 72 TERMINATE 0 0 0
1010 73 GENERATE 56 0 0
1011 74 ASSIGN 56 0 0
1012 75 ASSIGN 56 0 0
1013 76 ASSIGN 56 1 0
1020 77 SEIZE 55 0 0
1030 78 ADVANCE 55 0 0
1040 79 RELEASE 55 0 0
1050 ZZ SEIZE 100 0 0
1060 81 ADVANCE 100 1 0
1070 82 RELEASE 99 14 0
1080 83 SEIZE 85 0 0
1081 84 ADVANCE 85 0 0
1090 85 RELEASE 85 0 0
1091 86 TEST 85 0 0
1092 87 TEST 85 2 0
1093 88 TEST 66 0 0
1094 89 TEST 39 0 0
1095 90 TERMINATE 0 0 0
1096 B4 SEIZE 105 0 0
1097 92 ADVANCE 105 0 0
1098 93 RELEASE 105 0 0
1099 94 SEIZE 105 0 0
10100 95 ADVANCE 105 0 0
10101 96 RELEASE 105 0 0
10102 97 ASSIGN 105 0 0
10103 98 ASSIGN 105 0 0
10103.1 99 SEIZE 105 0 0
10103.2 100 ADVANCE 105 1 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:55:00 page 4
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10103.3 101 RELEASE 104 13 0
10104 102 SEIZE 91 0 0
10105 103 ADVANCE 91 1 0
10106 104 RELEASE 90 0 0
10107 105 TEST 90 0 0
10108 106 TEST 70 0 0
10109 107 TEST 51 0 0
10110 108 TERMINATE 36 0 0
10111 B1 SEIZE 63 0 0
10112 110 ADVANCE 63 0 0
10113 111 RELEASE 63 0 0
10114 112 SEIZE 63 0 0
10115 113 ADVANCE 63 1 0
10116 114 RELEASE 62 0 0
10116.1 115 TEST 62 0 0
10117 116 TERMINATE 17 0 0
10117.1 D3 ASSIGN 45 0 0
10117.2 118 ASSIGN 45 0 0
10117.3 119 TRANSFER 45 0 0
10118 B2 SEIZE 36 0 0
10119 121 ADVANCE 36 0 0
10120 122 RELEASE 36 1 0
10121 123 SEIZE 35 0 0
10122 124 ADVANCE 35 1 0
10123 125 RELEASE 34 0 0
10123.1 126 TEST 34 0 0
10124 127 TERMINATE 8 0 0
10125 D4 ASSIGN 26 0 0
10126 129 ASSIGN 26 0 0
10127 130 TRANSFER 26 0 0
10140 B3 SEIZE 53 0 0
10141 132 ADVANCE 53 1 0
10142 133 RELEASE 52 0 0
10143 134 SEIZE 52 0 0
10144 135 ADVANCE 52 0 0
10145 136 RELEASE 52 0 0
10146 137 TEST 52 0 0
10147 138 TERMINATE 13 0 0
10148 D5 ASSIGN 39 0 0
10149 140 ASSIGN 39 0 0
10150 141 TRANSFER 39 0 0
10161 142 GENERATE 54 0 0
10162 143 ASSIGN 54 0 0
10163 144 ASSIGN 54 0 0
10164 145 ASSIGN 54 0 0
10165 146 SEIZE 54 0 0
10166 147 ADVANCE 54 0 0
10167 148 RELEASE 54 3 0
10168 XX SEIZE 77 0 0
10169 150 ADVANCE 77 1 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 09:55:00 page 5
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10170 151 RELEASE 76 11 0
10180 152 SEIZE 65 0 0
10181 153 ADVANCE 65 0 0
10182 154 RELEASE 65 0 0
10183 155 TEST 65 0 0
10184 156 TEST 47 0 0
10185 157 TEST 36 0 0
10186 158 TERMINATE 0 0 0
10261 159 GENERATE 55 0 0
10262 160 ASSIGN 55 0 0
10263 161 ASSIGN 55 0 0
10264 162 ASSIGN 55 0 0
10265 163 SEIZE 55 0 0
10266 164 ADVANCE 55 1 0
10267 165 RELEASE 54 0 0
10268 VV SEIZE 93 0 0
10269 167 ADVANCE 93 0 0
10270 168 RELEASE 93 15 0
10280 169 SEIZE 78 0 0
10281 170 ADVANCE 78 0 0
10282 171 RELEASE 78 0 0
10283 172 TEST 78 0 0
10284 173 TEST 53 0 0
10285 174 TEST 53 0 0
10286 175 TERMINATE 23 0 0
102000 176 GENERATE 1 0 0
102010 177 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 116 0.676 5.83 1 263 0 0 0 0
K1 163 0.620 3.80 1 252 0 0 0 2
SW 357 0.807 2.54 1 249 0 0 0 1
K3 305 0.609 2.00 1 0 0 0 0 0
FS 153 0.756 4.94 1 257 0 0 0 0
K2 173 0.865 5.00 1 268 0 0 0 2
PC2 120 0.664 5.53 1 258 0 0 0 0
PC3 118 0.827 7.86 1 168 0 0 0 1
K4 163 0.819 5.02 1 187 0 0 0 0
SW2 319 0.749 2.97 1 195 0 0 0 53
K7 210 0.629 3.00 1 156 0 0 0 0
FS2 105 0.630 6.00 1 0 0 0 0 0
K5 113 0.746 8.37 1 170 0 0 0 5
PC4 89 0.819 9.20 1 175 0 0 0 1
K6 146 0.714 4.89 1 219 0 0 0 0
PC5 107 0.872 8.15 1 272 0 0 0 0
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Вывод: рассмотрел принцип проверки пакетов на статус запрос-ответ.
Контрольная работа №4
Построить сеть:
Листинг программы:
1 ADR1 FUNCTION RN1,D6
0.15,2/0.3,3/0.45,4/0.6,5/0.85,6/1,7
2 ADR2 FUNCTION RN1,D6
0.15,1/0.3,3/0.45,4/0.6,5/0.85,6/1,7
3 ADR3 FUNCTION RN1,D6
0.15,1/0.3,2/0.45,3/0.6,5/0.85,6/1,7
4 ADR4 FUNCTION RN1,D6
0.15,1/0.3,2/0.45,3/0.6,4/0.85,6/1,7
5 ADR5 FUNCTION RN1,D6
0.15,1/0.3,2/0.45,3/0.6,4/0.85,5/1,7
10 GENERATE 35,5
11 ASSIGN 1,1
12 ASSIGN 2,FN$ADR1
13 ASSIGN 3,0
20 SEIZE PC1
30 ADVANCE 10,1
40 RELEASE PC1
50 BB SEIZE K1
60 ADVANCE 8,1
70 RELEASE K1
80 SEIZE SW
81 ADVANCE 3,1
90 RELEASE SW
91 TEST NE P2,1,A1
92 TEST NE P2,2,A2
93 TEST NE P2,3,A3
94 TEST NE P2,4,A4
94.1 TEST NE P2,5,A4
94.2 TEST NE P2,6,A4
94.3 TEST NE P2,7,A4
95 TERMINATE
96 A3 SEIZE K3
97 ADVANCE 5,1
98 RELEASE K3
99 SEIZE FS
100 ADVANCE 15,1
101 RELEASE FS
102 ASSIGN 2,P1
103 ASSIGN 1,3
103.1 SEIZE K3
103.2 ADVANCE 9,1
103.3 RELEASE K3
104 SEIZE SW
105 ADVANCE 3,1
106 RELEASE SW
107 TEST NE P2,1,A1
108 TEST NE P2,2,A2
108.2 TEST NE P2,4,A4
108.3 TEST NE P2,5,A4
108.4 TEST NE P2,6,A4
109 TERMINATE
111 A2 SEIZE K2
112 ADVANCE 3,1
113 RELEASE K2
114 SEIZE PC2
115 ADVANCE 8,1
116 RELEASE PC2
116.1 TEST NE P3,0,D1
117 TERMINATE
117.1 D1 ASSIGN 2,P1
117.2 ASSIGN 3,1
117.3 TRANSFER ,AA
118 A1 SEIZE K1
119 ADVANCE 8,1
120 RELEASE K1
121 SEIZE PC1
122 ADVANCE 9,1
123 RELEASE PC1
123.1 TEST NE P3,0,D2
124 TERMINATE
124.1 D2 ASSIGN 2,P1
124.2 ASSIGN 3,1
124.3 TRANSFER ,BB
125 GENERATE 35,5
126 ASSIGN 1,2
127 ASSIGN 2,FN$ADR2
127.1 ASSIGN 3,0
128 SEIZE PC2
130 ADVANCE 8,1
140 RELEASE PC2
150 AA SEIZE K2
160 ADVANCE 8,1
170 RELEASE K2
180 SEIZE SW
181 ADVANCE 5,1
182 RELEASE SW
183 TEST NE P2,1,A1
184 TEST NE P2,2,A2
184 TEST NE P2,3,A3
194 TEST NE P2,4,A4
200 TEST NE P2,5,A4
210 TEST NE P2,6,A4
220 TEST NE P2,7,A4
230 TERMINATE
240 A4 SEIZE K8
250 ADVANCE 2,1
260 RELEASE K8
270 SEIZE SW2
280 ADVANCE 3,1
290 RELEASE SW2
300 TEST NE P2,4,B1
310 TEST NE P2,5,B2
320 TEST NE P2,6,B3
330 TEST NE P2,7,B4
340 TERMINATE
1010 GENERATE 35,5
1011 ASSIGN 1,4
1012 ASSIGN 2,FN$ADR3
1013 ASSIGN 3,0
1020 SEIZE PC3
1030 ADVANCE 8,1
1040 RELEASE PC3
1050 ZZ SEIZE K4
1060 ADVANCE 8,1
1070 RELEASE K4
1080 SEIZE SW2
1081 ADVANCE 3,1
1090 RELEASE SW2
1091 TEST NE P2,4,B1
1092 TEST NE P2,5,B2
1093 TEST NE P2,6,B3
1094 TEST NE P2,7,B4
1094.1 TEST NE P2,1,B5
1094.2 TEST NE P2,2,B5
1094.3 TEST NE P2,3,B5
1095 TERMINATE
1096 B4 SEIZE K7
1097 ADVANCE 8,1
1098 RELEASE K7
1099 SEIZE FS2
10100 ADVANCE 15,1
10101 RELEASE FS2
10102 ASSIGN 2,P1
10103 ASSIGN 1,7
10103.1 SEIZE K7
10103.2 ADVANCE 8,1
10103.3 RELEASE K7
10104 SEIZE SW2
10105 ADVANCE 3,1
10106 RELEASE SW2
10107 TEST NE P2,4,B1
10108 TEST NE P2,5,B2
10109 TEST NE P2,6,B3
10109.1 TEST NE P2,1,B5
10109.2 TEST NE P2,2,B5
10109.3 TEST NE P2,3,B5
10110 TERMINATE
10111 B1 SEIZE K4
10112 ADVANCE 8,1
10113 RELEASE K4
10114 SEIZE PC3
10115 ADVANCE 8,1
10116 RELEASE PC3
10116.1 TEST NE P3,0,D3
10117 TERMINATE
10117.1 D3 ASSIGN 2,P1
10117.2 ASSIGN 3,1
10117.3 TRANSFER ,ZZ
10118 B2 SEIZE K5
10119 ADVANCE 8,1
10120 RELEASE K5
10121 SEIZE PC4
10122 ADVANCE 9,1
10123 RELEASE PC4
10123.1 TEST NE P3,0,D4
10124 TERMINATE
10125 D4 ASSIGN 2,P1
10126 ASSIGN 3,1
10127 TRANSFER ,XX
10140 B3 SEIZE K6
10141 ADVANCE 8,1
10142 RELEASE K6
10143 SEIZE PC5
10144 ADVANCE 8,1
10145 RELEASE PC5
10146 TEST NE P3,0,D5
10147 TERMINATE
10148 D5 ASSIGN 2,P1
10149 ASSIGN 3,1
10150 TRANSFER ,VV
10161 GENERATE 35,5
10162 ASSIGN 1,5
10163 ASSIGN 2,FN$ADR4
10164 ASSIGN 3,0
10165 SEIZE PC4
10166 ADVANCE 10,1
10167 RELEASE PC4
10168 XX SEIZE K5
10169 ADVANCE 8,1
10170 RELEASE K5
10180 SEIZE SW2
10181 ADVANCE 3,1
10182 RELEASE SW2
10183 TEST NE P2,4,B1
10184 TEST NE P2,5,B2
10184 TEST NE P2,6,B3
10185 TEST NE P2,7,B4
10186 TEST NE P2,1,B5
10187 TEST NE P2,2,B5
10188 TEST NE P2,3,B5
10189 TERMINATE
10261 GENERATE 35,5
10262 ASSIGN 1,6
10263 ASSIGN 2,FN$ADR5
10264 ASSIGN 3,0
10265 SEIZE PC5
10266 ADVANCE 8,1
10267 RELEASE PC5
10268 VV SEIZE K6
10269 ADVANCE 2,1
10270 RELEASE K6
10280 SEIZE SW2
10281 ADVANCE 3,1
10282 RELEASE SW2
10283 TEST NE P2,4,B1
10284 TEST NE P2,5,B2
10284 TEST NE P2,6,B3
10285 TEST NE P2,7,B4
10286 TEST NE P2,1,B5
10287 TEST NE P2,2,B5
10288 TEST NE P2,3,B5
10289 TERMINATE
10300 B5 SEIZE K8
10310 ADVANCE 3,1
10320 RELEASE K8
10330 SEIZE SW
10340 ADVANCE 3,1
10350 RELEASE SW
10360 TEST NE P2,1,A1
10370 TEST NE P2,2,A2
10380 TEST NE P2,3,A3
10390 TERMINATE
102000 GENERATE 1000
102010 TERMINATE 1
102020 START 1
Отчет GPSSREPT:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 220 17 0 323664
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
ADR3 10010 2
ADR4 10011 2
ADR5 10012 2
PC1 10013 2
K1 10014 2
BB 8 3
SW 10016 2
A1 53 3
A2 42 3
A3 22 3
A4 84 3
K3 10021 2
FS 10022 2
K2 10023 2
PC2 10024 2
D1 50 3
AA 71 3
D2 61 3
K8 10028 2
SW2 10029 2
B1 137 3
B2 148 3
B3 159 3
B4 116 3
PC3 10034 2
K4 10035 2
ZZ 102 3
B5 210 3
K7 10038 2
FS2 10039 2
D3 145 3
K5 10041 2
PC4 10042 2
D4 156 3
XX 177 3
K6 10045 2
PC5 10046 2
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 2
NAME VALUE TYPE
D5 167 3
VV 197 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 28 0 0
11 2 ASSIGN 28 0 0
12 3 ASSIGN 28 0 0
13 4 ASSIGN 28 1 0
20 5 SEIZE 27 0 0
30 6 ADVANCE 27 0 0
40 7 RELEASE 27 1 0
50 BB SEIZE 47 0 0
60 9 ADVANCE 47 0 0
70 10 RELEASE 47 1 0
80 11 SEIZE 46 0 0
81 12 ADVANCE 46 0 0
90 13 RELEASE 46 0 0
91 14 TEST 46 0 0
92 15 TEST 46 0 0
93 16 TEST 43 0 0
94 17 TEST 39 0 0
94.1 18 TEST 29 0 0
94.2 19 TEST 20 0 0
94.3 20 TEST 12 0 0
95 21 TERMINATE 0 0 0
96 A3 SEIZE 41 0 0
97 23 ADVANCE 41 0 0
98 24 RELEASE 41 0 0
99 25 SEIZE 41 0 0
100 26 ADVANCE 41 1 0
101 27 RELEASE 40 0 0
102 28 ASSIGN 40 0 0
103 29 ASSIGN 40 0 0
103.1 30 SEIZE 40 0 0
103.2 31 ADVANCE 40 0 0
103.3 32 RELEASE 40 1 0
104 33 SEIZE 39 0 0
105 34 ADVANCE 39 0 0
106 35 RELEASE 39 0 0
107 36 TEST 39 0 0
108 37 TEST 37 0 0
108.2 38 TEST 30 0 0
108.3 39 TEST 25 0 0
108.4 40 TEST 19 0 0
109 41 TERMINATE 18 0 0
111 A2 SEIZE 37 0 0
112 43 ADVANCE 37 0 0
113 44 RELEASE 37 2 0
114 45 SEIZE 35 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
115 46 ADVANCE 35 0 0
116 47 RELEASE 35 0 0
116.1 48 TEST 35 0 0
117 49 TERMINATE 13 0 0
117.1 D1 ASSIGN 22 0 0
117.2 51 ASSIGN 22 0 0
117.3 52 TRANSFER 22 0 0
118 A1 SEIZE 39 0 0
119 54 ADVANCE 39 1 0
120 55 RELEASE 38 0 0
121 56 SEIZE 38 0 0
122 57 ADVANCE 38 1 0
123 58 RELEASE 37 0 0
123.1 59 TEST 37 0 0
124 60 TERMINATE 15 0 0
124.1 D2 ASSIGN 22 0 0
124.2 62 ASSIGN 22 0 0
124.3 63 TRANSFER 22 1 0
125 64 GENERATE 30 0 0
126 65 ASSIGN 30 0 0
127 66 ASSIGN 30 0 0
127.1 67 ASSIGN 30 0 0
128 68 SEIZE 30 0 0
130 69 ADVANCE 30 1 0
140 70 RELEASE 29 0 0
150 AA SEIZE 51 0 0
160 72 ADVANCE 51 0 0
170 73 RELEASE 51 0 0
180 74 SEIZE 51 0 0
181 75 ADVANCE 51 1 0
182 76 RELEASE 50 0 0
183 77 TEST 50 0 0
184 78 TEST 47 0 0
194 79 TEST 33 0 0
200 80 TEST 20 0 0
210 81 TEST 14 0 0
220 82 TEST 10 0 0
230 83 TERMINATE 0 0 0
240 A4 SEIZE 84 0 0
250 85 ADVANCE 84 0 0
260 86 RELEASE 84 0 0
270 87 SEIZE 84 0 0
280 88 ADVANCE 84 0 0
290 89 RELEASE 84 0 0
300 90 TEST 84 1 0
310 91 TEST 56 1 0
320 92 TEST 35 0 0
330 93 TEST 22 0 0
340 94 TERMINATE 0 0 0
1010 95 GENERATE 28 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 4
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
1011 96 ASSIGN 28 0 0
1012 97 ASSIGN 28 0 0
1013 98 ASSIGN 28 0 0
1020 99 SEIZE 28 0 0
1030 100 ADVANCE 28 1 0
1040 101 RELEASE 27 0 0
1050 ZZ SEIZE 57 0 0
1060 103 ADVANCE 57 1 0
1070 104 RELEASE 56 0 0
1080 105 SEIZE 56 0 0
1081 106 ADVANCE 56 1 0
1090 107 RELEASE 55 0 0
1091 108 TEST 55 0 0
1092 109 TEST 55 0 0
1093 110 TEST 50 0 0
1094 111 TEST 40 0 0
1094.1 112 TEST 33 0 0
1094.2 113 TEST 22 0 0
1094.3 114 TEST 9 0 0
1095 115 TERMINATE 0 0 0
1096 B4 SEIZE 46 0 0
1097 117 ADVANCE 46 1 0
1098 118 RELEASE 45 0 0
1099 119 SEIZE 45 0 0
10100 120 ADVANCE 45 1 0
10101 121 RELEASE 44 0 0
10102 122 ASSIGN 44 0 0
10103 123 ASSIGN 44 1 0
10103.1 124 SEIZE 43 0 0
10103.2 125 ADVANCE 43 0 0
10103.3 126 RELEASE 43 0 0
10104 127 SEIZE 43 0 0
10105 128 ADVANCE 43 0 0
10106 129 RELEASE 43 0 0
10107 130 TEST 43 0 0
10108 131 TEST 39 0 0
10109 132 TEST 36 0 0
10109.1 133 TEST 31 0 0
10109.2 134 TEST 25 0 0
10109.3 135 TEST 20 0 0
10110 136 TERMINATE 20 0 0
10111 B1 SEIZE 45 0 0
10112 138 ADVANCE 45 0 0
10113 139 RELEASE 45 0 0
10114 140 SEIZE 45 0 0
10115 141 ADVANCE 45 0 0
10116 142 RELEASE 45 0 0
10116.1 143 TEST 45 0 0
10117 144 TERMINATE 15 0 0
10117.1 D3 ASSIGN 30 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 5
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10117.2 146 ASSIGN 30 0 0
10117.3 147 TRANSFER 30 0 0
10118 B2 SEIZE 28 0 0
10119 149 ADVANCE 28 0 0
10120 150 RELEASE 28 0 0
10121 151 SEIZE 28 0 0
10122 152 ADVANCE 28 1 0
10123 153 RELEASE 27 0 0
10123.1 154 TEST 27 0 0
10124 155 TERMINATE 7 0 0
10125 D4 ASSIGN 20 0 0
10126 157 ASSIGN 20 0 0
10127 158 TRANSFER 20 1 0
10140 B3 SEIZE 36 0 0
10141 160 ADVANCE 36 0 0
10142 161 RELEASE 36 0 0
10143 162 SEIZE 36 0 0
10144 163 ADVANCE 36 0 0
10145 164 RELEASE 36 0 0
10146 165 TEST 36 0 0
10147 166 TERMINATE 12 0 0
10148 D5 ASSIGN 24 0 0
10149 168 ASSIGN 24 0 0
10150 169 TRANSFER 24 0 0
10161 170 GENERATE 28 0 0
10162 171 ASSIGN 28 0 0
10163 172 ASSIGN 28 0 0
10164 173 ASSIGN 28 1 0
10165 174 SEIZE 27 0 0
10166 175 ADVANCE 27 0 0
10167 176 RELEASE 27 0 0
10168 XX SEIZE 46 0 0
10169 178 ADVANCE 46 1 0
10170 179 RELEASE 45 0 0
10180 180 SEIZE 45 0 0
10181 181 ADVANCE 45 0 0
10182 182 RELEASE 45 0 0
10183 183 TEST 45 0 0
10184 184 TEST 41 0 0
10185 185 TEST 33 0 0
10186 186 TEST 27 0 0
10187 187 TEST 17 0 0
10188 188 TEST 12 0 0
10189 189 TERMINATE 0 0 0
10261 190 GENERATE 28 0 0
10262 191 ASSIGN 28 0 0
10263 192 ASSIGN 28 0 0
10264 193 ASSIGN 28 0 0
10265 194 SEIZE 28 0 0
10266 195 ADVANCE 28 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:15:31 page 6
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10267 196 RELEASE 28 0 0
10268 VV SEIZE 52 0 0
10269 198 ADVANCE 52 0 0
10270 199 RELEASE 52 1 0
10280 200 SEIZE 51 0 0
10281 201 ADVANCE 51 0 0
10282 202 RELEASE 51 0 0
10283 203 TEST 51 0 0
10284 204 TEST 41 0 0
10285 205 TEST 41 0 0
10286 206 TEST 30 0 0
10287 207 TEST 22 0 0
10288 208 TEST 18 0 0
10289 209 TERMINATE 16 0 0
10300 B5 SEIZE 85 0 0
10310 211 ADVANCE 85 0 0
10320 212 RELEASE 85 0 0
10330 213 SEIZE 85 0 0
10340 214 ADVANCE 85 0 0
10350 215 RELEASE 85 0 0
10360 216 TEST 85 1 0
10370 217 TEST 50 0 0
10380 218 TEST 23 0 0
10390 219 TERMINATE 0 0 0
102000 220 GENERATE 1 0 0
102010 221 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 65 0.612 9.42 1 129 0 0 0 1
K1 86 0.688 8.00 1 117 0 0 0 3
SW 221 0.772 3.49 1 137 0 0 0 2
K3 81 0.565 6.98 1 0 0 0 0 0
FS 41 0.617 15.05 1 113 0 0 0 0
K2 88 0.520 5.91 1 0 0 0 0 0
PC2 65 0.513 7.89 1 141 0 0 0 2
K8 169 0.641 2.61 1 0 0 0 0 0
SW2 279 0.810 2.90 1 120 0 0 0 1
PC3 73 0.571 7.82 1 139 0 0 0 0
K4 102 0.829 8.13 1 124 0 0 0 1
K7 89 0.718 8.07 1 122 0 0 0 1
FS2 45 0.672 14.93 1 128 0 0 0 0
K5 74 0.596 8.05 1 138 0 0 0 2
PC4 55 0.585 9.09 1 135 0 0 0 1
K6 88 0.688 4.41 1 0 0 0 0 0
PC5 64 0.608 7.94 1 0 0 0 0 0
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Вывод: Построили сеть, состоящую из 5 ПК, 2х свитчей и 2х файл серверов; также рассматривали в зависимости от типа сообщения(запрос/ответ) посылку ответа или же удаление сообщений из модели.
II. Контрольная работа № 5
Построить сеть: коммутатор с очередями (приоритетное обслуживание).
Листинг программы:
1 ADR1 FUNCTION RN3,D2
0.2,2/1,3
2 ADR2 FUNCTION RN3,D2
0.2,1/1,3
3 ADD FUNCTION RN1,D4
0.25,1/0.5,2/0.75,3/1,4
10 GENERATE 20,5
11 ASSIGN 1,1
12 ASSIGN 2,FN$ADR1
13 ASSIGN 4,FN$ADD
20 SEIZE PC1
30 ADVANCE 5,1
40 RELEASE PC1
50 SEIZE K1
60 ADVANCE 5,1
70 RELEASE K1
71 SEIZE SW
80 ADVANCE 2,1
81 RELEASE SW
82 TEST NE P4,1,AA1
83 TEST NE P4,2,AA2
84 TEST NE P4,3,AA3
85 TEST NE P4,4,AA4
86 TERMINATE
87 AA1 LINK L1,FIFO
88 AA2 LINK L2,FIFO
89 AA3 LINK L3,FIFO
90 AA4 LINK L4,FIFO
91 GENERATE 20,5
92 TEST NE CH$L1,0,BBB1 93 UNLINK L1,FF
94 TERMINATE
95 BBB1 TEST NE CH$L2,0,BBB2
96 UNLINK L2,FF
97 TERMINATE
98 BBB2 TEST NE CH$L3,0,BBB3
99 UNLINK L3,FF
100 TERMINATE
101 BBB3 TEST NE CH$L4,0,BBB4
102 UNLINK L4,FF
103 BBB4 TERMINATE
910 FF TEST NE P2,1,A1
920 TEST NE P2,2,A2
930 TEST NE P2,3,A3
940 TERMINATE
960 A3 SEIZE K3
970 ADVANCE 4,1
980 RELEASE K3
990 SEIZE FS
1000 ADVANCE 7,1
1010 RELEASE FS
1020 ASSIGN 2,P1
1030 ASSIGN 1,3
1031 SEIZE K3
1032 ADVANCE 3,1
1033 RELEASE K3
1040 SEIZE SW
1050 ADVANCE 2,1
1060 RELEASE SW
1070 TEST NE P2,1,A1
1080 TEST NE P2,2,A2
1090 TERMINATE
1110 A2 SEIZE K2
1120 ADVANCE 5,1
1130 RELEASE K2
1140 SEIZE PC2
1150 ADVANCE 5,1
1160 RELEASE PC2
1170 TERMINATE
1180 A1 SEIZE K1
1190 ADVANCE 5,1
1200 RELEASE K1
1210 SEIZE PC1
1220 ADVANCE 5,1
1230 RELEASE PC1
1240 TERMINATE
1250 GENERATE 20,5
1260 ASSIGN 1,2
1270 ASSIGN 2,FN$ADR2
1271 ASSIGN 4,FN$ADD
1280 SEIZE PC2
1300 ADVANCE 5,1
1400 RELEASE PC2
1500 SEIZE K2
1600 ADVANCE 5,1
1700 RELEASE K2
1800 SEIZE SW
1810 ADVANCE 3,1
1811 RELEASE SW
1820 TEST NE P4,1,B1
1821 TEST NE P4,2,B2
1822 TEST NE P4,3,B3
1823 TEST NE P4,4,B4
1824 TERMINATE
1825 B1 LINK LL1,FIFO
1826 B2 LINK LL2,FIFO
1827 B3 LINK LL3,FIFO
1828 B4 LINK LL4,FIFO
1829 GENERATE 20,5
1830 TEST NE CH$LL1,0,BB1
1831 UNLINK LL1,FF1
1832 TERMINATE
1833 BB1 TEST NE CH$LL2,0,BB2
1834 UNLINK LL2,FF1
1835 TERMINATE
1836 BB2 TEST NE CH$LL3,0,BB3
1837 UNLINK LL3,FF1
1838 TERMINATE
1839 BB3 TEST NE CH$LL4,0,BB4
1840 UNLINK LL4,FF1
1841 BB4 TERMINATE
1850 FF1 TEST NE P2,1,A1
1860 TEST NE P2,2,A2
1870 TEST NE P2,3,A3
1880 TERMINATE
2000 GENERATE 1000
2010 TERMINATE 1
2020 START 1
Отчет GPSSREPT:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:31:08 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 110 7 0 342304
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
ADD 10010 2
PC1 10011 2
K1 10012 2
SW 10013 2
AA1 19 3
AA2 20 3
AA3 21 3
AA4 22 3
L1 10018 2
L2 10019 2
L3 10020 2
L4 10021 2
BBB1 27 3
FF 36 3
BBB2 30 3
BBB3 33 3
BBB4 35 3
A1 64 3
A2 57 3
A3 40 3
K3 10030 2
FS 10031 2
K2 10032 2
PC2 10033 2
B1 89 3
B2 90 3
B3 91 3
B4 92 3
LL1 10038 2
LL2 10039 2
LL3 10040 2
LL4 10041 2
BB1 97 3
FF1 106 3
BB2 100 3
BB3 103 3
BB4 105 3
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:31:08 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 47 0 0
11 2 ASSIGN 47 0 0
12 3 ASSIGN 47 0 0
13 4 ASSIGN 47 0 0
20 5 SEIZE 47 0 0
30 6 ADVANCE 47 0 0
40 7 RELEASE 47 0 0
50 8 SEIZE 47 0 0
60 9 ADVANCE 47 0 0
70 10 RELEASE 47 0 0
71 11 SEIZE 47 0 0
80 12 ADVANCE 47 1 0
81 13 RELEASE 46 0 0
82 14 TEST 46 0 0
83 15 TEST 30 0 0
84 16 TEST 21 0 0
85 17 TEST 11 0 0
86 18 TERMINATE 0 0 0
87 AA1 LINK 16 0 0
88 AA2 LINK 9 0 0
89 AA3 LINK 10 0 0
90 AA4 LINK 11 0 0
91 23 GENERATE 49 0 0
92 24 TEST 49 0 0
93 25 UNLINK 16 0 0
94 26 TERMINATE 16 0 0
95 BBB1 TEST 33 0 0
96 28 UNLINK 9 0 0
97 29 TERMINATE 9 0 0
98 BBB2 TEST 24 0 0
99 31 UNLINK 10 0 0
100 32 TERMINATE 10 0 0
101 BBB3 TEST 14 0 0
102 34 UNLINK 10 0 0
103 BBB4 TERMINATE 14 0 0
910 FF TEST 46 0 0
920 37 TEST 46 0 0
930 38 TEST 34 0 0
940 39 TERMINATE 0 0 0
960 A3 SEIZE 72 0 0
970 41 ADVANCE 72 1 0
980 42 RELEASE 71 0 0
990 43 SEIZE 71 0 0
1000 44 ADVANCE 71 0 0
1010 45 RELEASE 71 0 0
1020 46 ASSIGN 71 0 0
1030 47 ASSIGN 71 0 0
1031 48 SEIZE 71 0 0
1032 49 ADVANCE 71 0 0
1033 50 RELEASE 71 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:31:08 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
1040 51 SEIZE 71 0 0
1050 52 ADVANCE 71 0 0
1060 53 RELEASE 71 0 0
1070 54 TEST 71 0 0
1080 55 TEST 37 0 0
1090 56 TERMINATE 0 0 0
1110 A2 SEIZE 49 0 0
1120 58 ADVANCE 49 0 0
1130 59 RELEASE 49 0 0
1140 60 SEIZE 49 0 0
1150 61 ADVANCE 49 1 0
1160 62 RELEASE 48 0 0
1170 63 TERMINATE 48 0 0
1180 A1 SEIZE 45 0 0
1190 65 ADVANCE 45 0 0
1200 66 RELEASE 45 0 0
1210 67 SEIZE 45 0 0
1220 68 ADVANCE 45 0 0
1230 69 RELEASE 45 0 0
1240 70 TERMINATE 45 0 0
1250 71 GENERATE 50 0 0
1260 72 ASSIGN 50 0 0
1270 73 ASSIGN 50 0 0
1271 74 ASSIGN 50 1 0
1280 75 SEIZE 49 0 0
1300 76 ADVANCE 49 0 0
1400 77 RELEASE 49 0 0
1500 78 SEIZE 49 0 0
1600 79 ADVANCE 49 0 0
1700 80 RELEASE 49 0 0
1800 81 SEIZE 49 0 0
1810 82 ADVANCE 49 0 0
1811 83 RELEASE 49 0 0
1820 84 TEST 49 0 0
1821 85 TEST 37 0 0
1822 86 TEST 30 0 0
1823 87 TEST 13 0 0
1824 88 TERMINATE 0 0 0
1825 B1 LINK 12 0 0
1826 B2 LINK 7 0 0
1827 B3 LINK 17 0 0
1828 B4 LINK 13 0 0
1829 93 GENERATE 50 0 0
1830 94 TEST 50 0 0
1831 95 UNLINK 12 0 0
1832 96 TERMINATE 12 0 0
1833 BB1 TEST 38 0 0
1834 98 UNLINK 7 0 0
1835 99 TERMINATE 7 0 0
1836 BB2 TEST 31 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:31:08 page 4
LINE LOC BLOCK_TYPE NTRY_COUNT CURRENT_COUNT RETRY
1837 101 UNLINK 15 0 0
1838 102 TERMINATE 15 0 0
1839 BB3 TEST 16 0 0
1840 104 UNLINK 12 0 0
1841 BB4 TERMINATE 16 0 0
1850 FF1 TEST 49 0 0
1860 107 TEST 38 0 0
1870 108 TEST 38 0 0
1880 109 TERMINATE 0 0 0
2000 110 GENERATE 1 0 0
2010 111 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 92 0.567 5.08 1 0 0 0 0 0
K1 92 0.567 5.08 1 0 0 0 0 0
SW 167 0.579 2.27 1 195 0 0 0 0
K3 143 0.593 3.45 1 193 0 0 0 0
FS 71 0.510 7.18 1 0 0 0 0 0
K2 98 0.589 4.99 1 0 0 0 0 0
PC2 98 0.589 4.99 1 177 0 0 0 1
USER_CHAIN CHAIN_SIZE RETRY AVE.CONT ENTRIES MAX AVE.TIME
L1 0 0 0.12 16 1 7.62
L2 0 0 0.08 9 1 9.00
L3 0 0 0.10 10 1 10.00
L4 0 0 0.10 11 2 9.18
LL1 0 0 0.12 12 1 10.08
LL2 0 0 0.06 7 1 9.14
LL3 0 0 0.16 17 2 9.29
LL4 0 0 0.17 13 2 13.31
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Вывод: рассмотрели принцип задания очередей обработки пакетов, в зависимости от приоритета производили обработку сообщений.
III. Контрольная работа №6
Построить сеть: Сформировать очереди на основе приоритетов сообщений и извлекать из очередей различное количество пакетов в зависимости от приоритетов сообщений в очереди.
Листинг программы:
1 ADR1 FUNCTION RN3,D2
0.5,2/1,3
2 ADR2 FUNCTION RN3,D2
0.5,1/1,3
3 ADD FUNCTION RN1,D4
0.25,1/0.5,2/0.75,3/1,4
10 GENERATE 30,5
11 ASSIGN 1,1
12 ASSIGN 2,FN$ADR1
13 ASSIGN 4,FN$ADD
14 SEIZE PC1
30 ADVANCE 10,2
40 RELEASE PC1
50 SEIZE K1
60 ADVANCE 6,1
70 RELEASE K1
80 SEIZE SW
81 ADVANCE 10,1
82 RELEASE SW
83 TEST NE P4,4,AA1
84 TEST NE P4,3,AA2
85 TEST NE P4,2,AA3
86 TEST NE P4,1,AA4
86.1 TERMINATE
87 AA1 LINK L1,FIFO
88 AA2 LINK L2,FIFO
89 AA3 LINK L3,FIFO
90 AA4 LINK L4,FIFO
91 GENERATE 30,5
92 ASSIGN 5,CH$L1
93 TEST NE P5,0,BBB1
94 TEST LE P5,4,BBBB1
95 UNLINK L1,FF,4
96 TRANSFER ,BBB1
97 BBBB1 UNLINK L1,FF,P5
98 TERMINATE
99 BBB1 ASSIGN 5,CH$L2
100 TEST NE P5,0,BBB2
101 TEST LE P5,3,BBBB2
102 UNLINK L2,FF,3
103 TRANSFER ,BBB2
104 BBBB2 UNLINK L2,FF,P5
105 TERMINATE
106 BBB2 ASSIGN 5,CH$L3
107 TEST NE P5,0,BBB3
108 TEST LE P5,2,BBBB3
109 UNLINK L3,FF,2
110 TRANSFER ,BBB3
111 BBBB3 UNLINK L3,FF,P5
112 TERMINATE
113 BBB3 ASSIGN 5,CH$L4
114 TEST NE P5,0,BBB4
115 TEST LE P5,1,BBBB4
116 UNLINK L4,FF,1
117 TRANSFER ,BBB4
118 BBBB4 UNLINK L4,FF,P5
119 BBB4 TERMINATE
910 FF TEST NE P2,1,A1
920 TEST NE P2,2,A2
930 TEST NE P2,3,A3
940 TERMINATE
960 A3 SEIZE K3
970 ADVANCE 10,1
980 RELEASE K3
990 SEIZE FS
1000 ADVANCE 25,5
1010 RELEASE FS
1020 ASSIGN 2,P1
1030 ASSIGN 1,3
1030.1 SEIZE K3
1030.2 ADVANCE 10,1
1030.3 RELEASE K3
1040 SEIZE SW
1050 ADVANCE 5,1
1060 RELEASE SW
1070 TEST NE P2,1,A1
1080 TEST NE P2,2,A2
1090 TERMINATE
1110 A2 SEIZE K2
1120 ADVANCE 10,1
1130 RELEASE K2
1140 SEIZE PC2
1150 ADVANCE 10,1
1160 RELEASE PC2
1170 TERMINATE
1180 A1 SEIZE K1
1190 ADVANCE 8,1
1200 RELEASE K1
1210 SEIZE PC1
1220 ADVANCE 7,1
1230 RELEASE PC1
1240 TERMINATE
1250 GENERATE 30,5
1260 ASSIGN 1,2
1270 ASSIGN 2,FN$ADR2
1271 ASSIGN 4,FN$ADD
1280 SEIZE PC2
1300 ADVANCE 8,1
1400 RELEASE PC2
1500 SEIZE K2
1600 ADVANCE 8,1
1700 RELEASE K2
1800 SEIZE SW
1810 ADVANCE 6,1
1820 RELEASE SW
1821 TEST NE P4,4,B1
1822 TEST NE P4,3,B2
1823 TEST NE P4,2,B3
1824 TEST NE P4,1,B4
1824.1 TERMINATE
1825 B1 LINK LL1,FIFO
1826 B2 LINK LL2,FIFO
1827 B3 LINK LL3,FIFO
1828 B4 LINK LL4,FIFO
1991 GENERATE 30,5
1992 ASSIGN 5,CH$LL1
1993 TEST NE P5,0,BB1
1994 TEST LE P5,4,AAA1
1995 UNLINK LL1,FF1,4
1996 TRANSFER ,BB1
1997 AAA1 UNLINK LL1,FF1,P5
1998 TERMINATE
1999 BB1 ASSIGN 5,CH$LL2
19100 TEST NE P5,0,BB2
19101 TEST LE P5,3,AAA2
19102 UNLINK LL2,FF1,3
19103 TRANSFER ,BB2
19104 AAA2 UNLINK LL2,FF1,P5
19105 TERMINATE
19106 BB2 ASSIGN 5,CH$LL3
19107 TEST NE P5,0,BB3
19108 TEST LE P5,2,AAA3
19109 UNLINK LL3,FF1,2
19110 TRANSFER ,BB3
19111 AAA3 UNLINK LL3,FF1,P5
19112 TERMINATE
19113 BB3 ASSIGN 5,CH$LL4
19114 TEST NE P5,0,BB4
19115 TEST LE P5,1,AAA4
19116 UNLINK LL4,FF1,1
19117 TRANSFER ,BB4
19118 AAA4 UNLINK LL4,FF1,P5
19119 BB4 TERMINATE
191850 FF1 TEST NE P2,1,A1
191860 TEST NE P2,2,A2
191870 TEST NE P2,3,A3
191880 TERMINATE
192000 GENERATE 1000
192010 TERMINATE 1
192020 START 1191880 TERMINATE
192000 GENERATE 1000
192010 TERMINATE 1
192020 START 1
Отчет GPSSREPT:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:40:25 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 1000 142 7 0 337168
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
ADD 10010 2
PC1 10011 2
K1 10012 2
SW 10013 2
AA1 19 3
AA2 20 3
AA3 21 3
AA4 22 3
L1 10018 2
L2 10019 2
L3 10020 2
L4 10021 2
BBB1 31 3
BBBB1 29 3
FF 52 3
BBB2 38 3
BBBB2 36 3
BBB3 45 3
BBBB3 43 3
BBB4 51 3
BBBB4 50 3
A1 80 3
A2 73 3
A3 56 3
K3 10034 2
FS 10035 2
K2 10036 2
PC2 10037 2
B1 105 3
B2 106 3
B3 107 3
B4 108 3
LL1 10042 2
LL2 10043 2
LL3 10044 2
LL4 10045 2
BB1 117 3
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:40:25 page 2
NAME VALUE TYPE
AA1 115 3
FF1 138 3
BB2 124 3
AAA2 122 3
BB3 131 3
AAA3 129 3
BB4 137 3
AAA4 136 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
10 1 GENERATE 33 0 0
11 2 ASSIGN 33 0 0
12 3 ASSIGN 33 0 0
13 4 ASSIGN 33 0 0
14 5 SEIZE 33 0 0
30 6 ADVANCE 33 0 0
40 7 RELEASE 33 0 0
50 8 SEIZE 33 0 0
60 9 ADVANCE 33 0 0
70 10 RELEASE 33 0 0
80 11 SEIZE 33 0 0
81 12 ADVANCE 33 1 0
82 13 RELEASE 32 0 0
83 14 TEST 32 0 0
84 15 TEST 24 0 0
85 16 TEST 18 0 0
86 17 TEST 11 0 0
86.1 18 TERMINATE 0 0 0
87 AA1 LINK 8 0 0
88 AA2 LINK 6 0 0
89 AA3 LINK 7 0 0
90 AA4 LINK 11 0 0
91 23 GENERATE 33 0 0
92 24 ASSIGN 33 0 0
93 25 TEST 33 0 0
94 26 TEST 8 0 0
95 27 UNLINK 8 0 0
96 28 TRANSFER 8 0 0
97 BBBB1 UNLINK 0 0 0
98 30 TERMINATE 0 0 0
99 BBB1 ASSIGN 33 0 0
100 32 TEST 33 0 0
101 33 TEST 6 0 0
102 34 UNLINK 6 0 0
103 35 TRANSFER 6 0 0
104 BBBB2 UNLINK 0 0 0
105 37 TERMINATE 0 0 0
106 BBB2 ASSIGN 33 0 0
107 39 TEST 33 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:40:25 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
108 40 TEST 7 0 0
109 41 UNLINK 7 0 0
110 42 TRANSFER 7 0 0
111 BBBB3 UNLINK 0 0 0
112 44 TERMINATE 0 0 0
113 BBB3 ASSIGN 33 0 0
114 46 TEST 33 0 0
115 47 TEST 11 0 0
116 48 UNLINK 11 0 0
117 49 TRANSFER 11 0 0
118 BBBB4 UNLINK 0 0 0
119 BBB4 TERMINATE 33 0 0
910 FF TEST 32 0 0
920 53 TEST 32 0 0
930 54 TEST 12 0 0
940 55 TERMINATE 0 0 0
960 A3 SEIZE 25 0 0
970 57 ADVANCE 25 1 0
980 58 RELEASE 24 0 0
990 59 SEIZE 24 0 0
1000 60 ADVANCE 24 0 0
1010 61 RELEASE 24 0 0
1020 62 ASSIGN 24 0 0
1030 63 ASSIGN 24 1 0
1030.1 64 SEIZE 23 0 0
1030.2 65 ADVANCE 23 0 0
1030.3 66 RELEASE 23 0 0
1040 67 SEIZE 23 0 0
1050 68 ADVANCE 23 0 0
1060 69 RELEASE 23 0 0
1070 70 TEST 23 0 0
1080 71 TEST 12 0 0
1090 72 TERMINATE 0 0 0
1110 A2 SEIZE 32 0 0
1120 74 ADVANCE 32 0 0
1130 75 RELEASE 32 0 0
1140 76 SEIZE 32 0 0
1150 77 ADVANCE 32 0 0
1160 78 RELEASE 32 0 0
1170 79 TERMINATE 32 0 0
1180 A1 SEIZE 30 0 0
1190 81 ADVANCE 30 1 0
1200 82 RELEASE 29 0 0
1210 83 SEIZE 29 0 0
1220 84 ADVANCE 29 0 0
1230 85 RELEASE 29 0 0
1240 86 TERMINATE 29 0 0
1250 87 GENERATE 33 0 0
1260 88 ASSIGN 33 0 0
1270 89 ASSIGN 33 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:40:25 page 4
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
1271 90 ASSIGN 33 0 0
1280 91 SEIZE 33 0 0
1300 92 ADVANCE 33 1 0
1400 93 RELEASE 32 0 0
1500 94 SEIZE 32 0 0
1600 95 ADVANCE 32 0 0
1700 96 RELEASE 32 0 0
1800 97 SEIZE 32 0 0
1810 98 ADVANCE 32 0 0
1820 99 RELEASE 32 0 0
1821 100 TEST 32 0 0
1822 101 TEST 22 0 0
1823 102 TEST 16 0 0
1824 103 TEST 7 0 0
1824.1 104 TERMINATE 0 0 0
1825 B1 LINK 10 0 0
1826 B2 LINK 6 0 0
1827 B3 LINK 9 0 0
1828 B4 LINK 7 0 0
1991 109 GENERATE 34 0 0
1992 110 ASSIGN 34 0 0
1993 111 TEST 34 0 0
1994 112 TEST 10 0 0
1995 113 UNLINK 10 0 0
1996 114 TRANSFER 10 0 0
1997 AAA1 UNLINK 0 0 0
1998 116 TERMINATE 0 0 0
1999 BB1 ASSIGN 34 0 0
19100 118 TEST 34 0 0
19101 119 TEST 5 0 0
19102 120 UNLINK 5 0 0
19103 121 TRANSFER 5 0 0
19104 AAA2 UNLINK 0 0 0
19105 123 TERMINATE 0 0 0
19106 BB2 ASSIGN 34 0 0
19107 125 TEST 34 0 0
19108 126 TEST 9 0 0
19109 127 UNLINK 9 0 0
19110 128 TRANSFER 9 0 0
19111 AAA3 UNLINK 0 0 0
19112 130 TERMINATE 0 0 0
19113 BB3 ASSIGN 34 0 0
19114 132 TEST 34 0 0
19115 133 TEST 7 0 0
19116 134 UNLINK 7 0 0
19117 135 TRANSFER 7 0 0
19118 AAA4 UNLINK 0 0 0
19119 BB4 TERMINATE 34 0 0
191850 FF1 TEST 32 0 0
191860 139 TEST 13 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-16-2009 10:40:25 page 5
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
191870 140 TEST 13 0 0
191880 141 TERMINATE 0 0 0
192000 142 GENERATE 1 0 0
192010 143 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 62 0.512 8.26 1 0 0 0 0 0
K1 63 0.630 6.83 1 128 0 0 0 0
SW 88 0.626 7.11 1 131 0 0 0 0
K3 48 0.683 10.06 1 127 0 0 0 1
FS 24 0.591 24.62 1 0 0 0 0 0
K2 64 0.575 8.98 1 0 0 0 0 0
PC2 65 0.579 8.91 1 133 0 0 0 0
USER_CHAIN CHAIN_SIZE RETRY AVE.CONT ENTRIES MAX AVE.TIME
L1 0 0 0.08 8 1 10.62
L2 0 0 0.09 6 1 15.50
L3 0 0 0.10 7 1 14.86
L4 0 0 0.18 11 1 16.18
LL1 0 0 0.14 10 1 14.00
LL2 0 0 0.13 6 2 21.67
LL3 0 0 0.12 9 1 13.33
LL4 0 0 0.08 7 1 11.14
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Вывод: сформировали очереди на основе приоритетов сообщений и извлекали из очередей различное количество пакетов в зависимости от приоритетов сообщений в очереди.
Похожие работы
... , непохожим ни на один из известных образцов, то она не сможет классифицировать такой набор и тем самым выявит его новизну. кластеризация нейронный сеть кохонен 3. МОДЕЛИРОВАНИЕ СЕТИ КЛАСТЕРИЗАЦИИ ДАННЫХ В MATLAB NEURAL NETWORK TOOLBOX Программное обеспечение, позволяющее работать с картами Кохонена, сейчас представлено множеством инструментов. Это могут быть как инструменты, включающие ...
... , пакетов и кадров внутри операционной системы, процесс получения доступа компьютером к разделяемой сетевой среде, процесс обработки поступающих пакетов маршрутизатором и т.д. При имитационном моделировании сети не требуется приобретать дорогостоящее оборудование - его работы имитируется программами, достаточно точно воспроизводящими все основные особенности и параметры такого оборудования. ...
... на лазерные компакт-диски. Система моделирования Орлан ориентирована на достаточно широкий круг пользователей. В первую очередь, естественно, это администраторы вычислительных сетей предприятий, стоящие перед задачей проектирования или исследования сети. Обязательное условие, накладываемое системой – проектируемая сеть должны основываться на стандарте Ethernet. Но, так как абсолютное ...
... cout << " предшествует элементу "; } // Поиск ведущих с нулевым количеством предшественников. A. Poisk (); // Фаза вывода. A. Vyvod (); } [11] §3. Математические модели с использованием сетей Петри Сети Петри являются эффективным инструментом дискретных процессов, в частности, функционирования станочных систем. Их особенность заключается в возможности отображения параллелизма ...
0 комментариев