Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
па-пми / лр-5.docx
Скачиваний:
0
Добавлен:
10.06.2026
Размер:
213.74 Кб
Скачать

Приложение b Тестирование

Таблица 1 - Результаты тестирования программы

Вывод программы

Время работы программы

2

Process= 1, A = 15, from neighbors: 5

Process= 0, A = 5, from neighbors: 15

0.00000300

Process= 0, A = 5, from neighbors: 15

Process= 1, A = 15, from neighbors: 5

0.00000300

Process= 1, A = 15, from neighbors: 5

Process= 0, A = 5, from neighbors: 15

0.00000400

Process= 1, A = 15, from neighbors: 5

Process= 0, A = 5, from neighbors: 15

0.00000400

4

Process= 0, A = 5, from neighbors: 15 25

Process= 3, A = 35, from neighbors: 25

Process= 1, A = 15, from neighbors: 5

Process= 2, A = 25, from neighbors: 5 35

0.00000500

Process= 2, A = 25, from neighbors: 5 35

Process= 0, A = 5, from neighbors: 15 25

Process= 1, A = 15, from neighbors: 5

Process= 3, A = 35, from neighbors: 25

0.00000500

Process= 3, A = 35, from neighbors: 25

Process= 2, A = 25, from neighbors: 5 35

Process= 0, A = 5, from neighbors: 15 25

Process= 1, A = 15, from neighbors: 5

0.00000400

Process= 1, A = 15, from neighbors: 5

Process= 3, A = 35, from neighbors: 25

Process= 2, A = 25, from neighbors: 5 35

Process= 0, A = 5, from neighbors: 15 25

0.00000500

8

Process= 0, A = 5, from neighbors: 15 25

Process= 4, A = 45, from neighbors: 25 55 65

Process= 5, A = 55, from neighbors: 45

Process= 2, A = 25, from neighbors: 5 35 45

Process= 3, A = 35, from neighbors: 25

Process= 1, A = 15, from neighbors: 5

Process= 6, A = 65, from neighbors: 45 75

Process= 7, A = 75, from neighbors: 65

0.00001700

Process= 7, A = 75, from neighbors: 65

Process= 6, A = 65, from neighbors: 45 75

Process= 4, A = 45, from neighbors: 25 55 65

Process= 2, A = 25, from neighbors: 5 35 45

Process= 5, A = 55, from neighbors: 45

Process= 3, A = 35, from neighbors: 25

Process= 1, A = 15, from neighbors: 5

Process= 0, A = 5, from neighbors: 15 25

0.00001600

Process= 1, A = 15, from neighbors: 5

Process= 7, A = 75, from neighbors: 65

Process= 4, A = 45, from neighbors: 25 55 65

Process= 6, A = 65, from neighbors: 45 75

Process= 5, A = 55, from neighbors: 45

Process= 0, A = 5, from neighbors: 15 25

Process= 3, A = 35, from neighbors: 25

Process= 2, A = 25, from neighbors: 5 35 45

0.00001400

Process= 6, A = 65, from neighbors: 45 75

Process= 3, A = 35, from neighbors: 25

Process= 1, A = 15, from neighbors: 5

Process= 2, A = 25, from neighbors: 5 35 45

Process= 7, A = 75, from neighbors: 65

Process= 5, A = 55, from neighbors: 45

Process= 4, A = 45, from neighbors: 25 55 65

Process= 0, A = 5, from neighbors: 15 25

0.00001700

16

Process= 2, A = 25, from neighbors: 5 35 45

Process= 0, A = 5, from neighbors: 15 25

Process= 1, A = 15, from neighbors: 5

Process= 4, A = 45, from neighbors: 25 55 65

Process= 3, A = 35, from neighbors: 25

Process= 5, A = 55, from neighbors: 45

Process= 6, A = 65, from neighbors: 45 75 85

Process= 8, A = 85, from neighbors: 65 95 105

Process= 9, A = 95, from neighbors: 85

Process= 7, A = 75, from neighbors: 65

Process= 10, A = 105, from neighbors: 85 115 125

Process= 11, A = 115, from neighbors: 105

Process= 12, A = 125, from neighbors: 105 135 145

Process= 13, A = 135, from neighbors: 125

Process= 14, A = 145, from neighbors: 125 155

Process= 15, A = 155, from neighbors: 145

0.00020300

Process= 1, A = 15, from neighbors: 5

Process= 0, A = 5, from neighbors: 15 25

Process= 2, A = 25, from neighbors: 5 35 45

Process= 4, A = 45, from neighbors: 25 55 65

Process= 3, A = 35, from neighbors: 25

Process= 5, A = 55, from neighbors: 45

Process= 6, A = 65, from neighbors: 45 75 85

Process= 9, A = 95, from neighbors: 85

Process= 8, A = 85, from neighbors: 65 95 105

Process= 7, A = 75, from neighbors: 65

Process= 10, A = 105, from neighbors: 85 115 125

Process= 11, A = 115, from neighbors: 105

Process= 12, A = 125, from neighbors: 105 135 145

Process= 13, A = 135, from neighbors: 125

Process= 14, A = 145, from neighbors: 125 155

Process= 15, A = 155, from neighbors: 145

0.00015600

Process= 1, A = 15, from neighbors: 5

Process= 3, A = 35, from neighbors: 25

Process= 2, A = 25, from neighbors: 5 35 45

Process= 0, A = 5, from neighbors: 15 25

Process= 4, A = 45, from neighbors: 25 55 65

Process= 5, A = 55, from neighbors: 45

Process= 6, A = 65, from neighbors: 45 75 85

Process= 7, A = 75, from neighbors: 65

Process= 8, A = 85, from neighbors: 65 95 105

Process= 12, A = 125, from neighbors: 105 135 145

Process= 10, A = 105, from neighbors: 85 115 125

Process= 11, A = 115, from neighbors: 105

Process= 14, A = 145, from neighbors: 125 155

Process= 13, A = 135, from neighbors: 125

Process= 9, A = 95, from neighbors: 85

Process= 15, A = 155, from neighbors: 145

0.00015100

Process= 0, A = 5, from neighbors: 15 25

Process= 1, A = 15, from neighbors: 5

Process= 4, A = 45, from neighbors: 25 55 65

Process= 5, A = 55, from neighbors: 45

Process= 2, A = 25, from neighbors: 5 35 45

Process= 6, A = 65, from neighbors: 45 75 85

Process= 3, A = 35, from neighbors: 25

Process= 8, A = 85, from neighbors: 65 95 105

Process= 7, A = 75, from neighbors: 65

Process= 10, A = 105, from neighbors: 85 115 125

Process= 9, A = 95, from neighbors: 85

Process= 11, A = 115, from neighbors: 105

Process= 12, A = 125, from neighbors: 105 135 145

Process= 13, A = 135, from neighbors: 125

Process= 14, A = 145, from neighbors: 125 155

Process= 15, A = 155, from neighbors: 145

0.00020400

32

Process= 0, A = 5, from neighbors: 15 25

Process= 2, A = 25, from neighbors: 5 35 45

Process= 1, A = 15, from neighbors: 5

Process= 3, A = 35, from neighbors: 25

Process= 4, A = 45, from neighbors: 25 55 65

Process= 5, A = 55, from neighbors: 45

Process= 6, A = 65, from neighbors: 45 75 85

Process= 7, A = 75, from neighbors: 65

Process= 8, A = 85, from neighbors: 65 95 105

Process= 10, A = 105, from neighbors: 85 115 125

Process= 11, A = 115, from neighbors: 105

Process= 12, A = 125, from neighbors: 105 135 145

Process= 9, A = 95, from neighbors: 85

Process= 13, A = 135, from neighbors: 125

Process= 14, A = 145, from neighbors: 125 155 165

Process= 15, A = 155, from neighbors: 145

Process= 16, A = 165, from neighbors: 145 175 185

Process= 17, A = 175, from neighbors: 165

Process= 18, A = 185, from neighbors: 165 195 205

Process= 20, A = 205, from neighbors: 185 215 225

Process= 19, A = 195, from neighbors: 185

Process= 22, A = 225, from neighbors: 205 235 245

Process= 24, A = 245, from neighbors: 225 255 265

Process= 28, A = 285, from neighbors: 265 295 305

Process= 26, A = 265, from neighbors: 245 275 285

Process= 21, A = 215, from neighbors: 205

Process= 27, A = 275, from neighbors: 265

Process= 25, A = 255, from neighbors: 245

Process= 23, A = 235, from neighbors: 225

Process= 29, A = 295, from neighbors: 285

Process= 30, A = 305, from neighbors: 285 315

Process= 31, A = 315, from neighbors: 305

0.00063400

Process= 0, A = 5, from neighbors: 15 25

Process= 1, A = 15, from neighbors: 5

Process= 2, A = 25, from neighbors: 5 35 45

Process= 3, A = 35, from neighbors: 25

Process= 4, A = 45, from neighbors: 25 55 65

Process= 5, A = 55, from neighbors: 45

Process= 6, A = 65, from neighbors: 45 75 85

Process= 7, A = 75, from neighbors: 65

Process= 8, A = 85, from neighbors: 65 95 105

Process= 9, A = 95, from neighbors: 85

Process= 10, A = 105, from neighbors: 85 115 125

Process= 12, A = 125, from neighbors: 105 135 145

Process= 11, A = 115, from neighbors: 105

Process= 13, A = 135, from neighbors: 125

Process= 14, A = 145, from neighbors: 125 155 165

Process= 15, A = 155, from neighbors: 145

Process= 16, A = 165, from neighbors: 145 175 185

Process= 18, A = 185, from neighbors: 165 195 205

Process= 20, A = 205, from neighbors: 185 215 225

Process= 19, A = 195, from neighbors: 185

Process= 17, A = 175, from neighbors: 165

Process= 22, A = 225, from neighbors: 205 235 245

Process= 21, A = 215, from neighbors: 205

Process= 24, A = 245, from neighbors: 225 255 265

Process= 25, A = 255, from neighbors: 245

Process= 26, A = 265, from neighbors: 245 275 285

Process= 23, A = 235, from neighbors: 225

Process= 28, A = 285, from neighbors: 265 295 305

Process= 27, A = 275, from neighbors: 265

Process= 31, A = 315, from neighbors: 305

Process= 29, A = 295, from neighbors: 285

Process= 30, A = 305, from neighbors: 285 315

0.00068500

Process= 1, A = 15, from neighbors: 5

Process= 0, A = 5, from neighbors: 15 25

Process= 5, A = 55, from neighbors: 45

Process= 2, A = 25, from neighbors: 5 35 45

Process= 4, A = 45, from neighbors: 25 55 65

Process= 8, A = 85, from neighbors: 65 95 105

Process= 6, A = 65, from neighbors: 45 75 85

Process= 9, A = 95, from neighbors: 85

Process= 7, A = 75, from neighbors: 65

Process= 3, A = 35, from neighbors: 25

Process= 10, A = 105, from neighbors: 85 115 125

Process= 11, A = 115, from neighbors: 105

Process= 12, A = 125, from neighbors: 105 135 145

Process= 13, A = 135, from neighbors: 125

Process= 14, A = 145, from neighbors: 125 155 165

Process= 16, A = 165, from neighbors: 145 175 185

Process= 15, A = 155, from neighbors: 145

Process= 18, A = 185, from neighbors: 165 195 205

Process= 17, A = 175, from neighbors: 165

Process= 20, A = 205, from neighbors: 185 215 225

Process= 19, A = 195, from neighbors: 185

Process= 21, A = 215, from neighbors: 205

Process= 22, A = 225, from neighbors: 205 235 245

Process= 24, A = 245, from neighbors: 225 255 265

Process= 25, A = 255, from neighbors: 245

Process= 26, A = 265, from neighbors: 245 275 285

Process= 23, A = 235, from neighbors: 225

Process= 28, A = 285, from neighbors: 265 295 305

Process= 27, A = 275, from neighbors: 265

Process= 30, A = 305, from neighbors: 285 315

Process= 31, A = 315, from neighbors: 305

Process= 29, A = 295, from neighbors: 285

0.00055400

Соседние файлы в папке па-пми