{"id":266109,"date":"2015-09-22T10:57:02","date_gmt":"2015-09-22T06:57:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=266109"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=266109","title":{"rendered":"\u042d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439 \u0433\u0435\u043d"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/eac\/d4c\/822\/eacd4c8223f04eaa98a0c0137f82c521.png\" align=\"left\" alt=\"\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f (http:\/\/xkcd.com\/534\/)\"\/> \u0412\u0441\u0451 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u043e\u0434\u043d\u0438\u043c \u043b\u0435\u0442\u043d\u0438\u043c \u0432\u0435\u0447\u0435\u0440\u043e\u043c, \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u043a\u043d\u0438\u0433\u0438 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0431\u0438\u043e\u043b\u043e\u0433\u0430 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/\u0414\u043e\u043a\u0438\u043d\u0437,_\u0420\u0438\u0447\u0430\u0440\u0434\">\u0420\u0438\u0447\u0430\u0440\u0434\u0430 \u0414\u043e\u043a\u0438\u043d\u0437\u0430<\/a> \u00ab\u0411\u043e\u0433 \u043a\u0430\u043a \u0438\u043b\u043b\u044e\u0437\u0438\u044f\u00bb. \u0414\u0430\u043d\u043d\u0430\u044f \u043a\u043d\u0438\u0433\u0430 \u043e \u0440\u0435\u043b\u0438\u0433\u0438\u0438, \u0432\u0435\u0440\u0435 \u0438 \u0430\u0442\u0435\u0438\u0437\u043c\u0435, \u043d\u043e \u0430\u0432\u0442\u043e\u0440 \u043a\u0440\u0430\u0442\u043a\u043e \u0441\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u043d\u0438\u0433\u0443 \u00ab\u042d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439 \u0433\u0435\u043d\u00bb \u0438 \u0432\u0432\u043e\u0434\u0438\u0442 \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435. \u041c\u0435\u043d\u044f \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u043e\u0441\u0445\u0438\u0449\u0430\u043b\u043e \u0438\u0437\u044f\u0449\u0435\u0441\u0442\u0432\u043e \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432. \u0418 \u0432\u043e\u0442, \u0441\u043f\u0443\u0441\u0442\u044f \u043c\u0435\u0441\u044f\u0446, \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0440\u0430\u0437 \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043c\u0438\u043d\u0438-\u043f\u0440\u043e\u0435\u043a\u0442, \u043c\u0435\u043d\u044f \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u0441\u0435\u043d\u0438\u043b\u043e \u2013 \u0430 \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u0441\u0438\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044e \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0442\u043e \u0438 \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c\u0441\u044f. \u0417\u0430\u0434\u0430\u0447\u0430 \u044d\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0438 \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f IT, \u043f\u043e\u043b\u0430\u0433\u0430\u044e, \u043d\u0435\u0440\u0435\u0448\u0430\u0435\u043c\u0430\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0447\u0435\u043c-\u043b\u0438\u0431\u043e \u043f\u043e\u043f\u0440\u043e\u0449\u0435. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0443 \u044d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0433\u0435\u043d\u0430. \u0417\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u0432\u0448\u0438\u0445\u0441\u044f, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442\u2026<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c\u0441\u044f \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438. \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e <a href=\"https:\/\/ru.wikipedia.org\/wiki\/\u042d\u0432\u043e\u043b\u044e\u0446\u0438\u044f\">\u0432\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0438<\/a>: \u00ab\u0411\u0438\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044f \u2013 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0436\u0438\u0432\u043e\u0439 \u043f\u0440\u0438\u0440\u043e\u0434\u044b, \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0430 \u043f\u043e\u043f\u0443\u043b\u044f\u0446\u0438\u0439, \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0439, \u0432\u0438\u0434\u043e\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0438 \u0432\u044b\u043c\u0438\u0440\u0430\u043d\u0438\u0435\u043c \u0432\u0438\u0434\u043e\u0432, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c \u0438 \u0431\u0438\u043e\u0441\u0444\u0435\u0440\u044b \u0432 \u0446\u0435\u043b\u043e\u043c\u00bb. \u0418 \u0447\u0442\u043e \u0432\u0430\u0436\u043d\u043e, \u0435\u0434\u0438\u043d\u0438\u0446\u0435\u0439 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0446\u0438\u044f. \u0420\u0438\u0447\u0430\u0440\u0434 \u0414\u043e\u043a\u0438\u043d\u0437 \u0432\u044b\u0434\u0432\u0438\u043d\u0443\u043b \u0442\u0435\u043e\u0440\u0438\u044e, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0435\u0434\u0438\u043d\u0438\u0446\u0435\u0439 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0446\u0438\u044f \u043e\u0441\u043e\u0431\u0435\u0439 \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u0432\u0438\u0434\u0430, \u0430 \u0441\u0430\u043c \u0433\u0435\u043d (\u043f\u043e\u0442\u043e\u043c\u0443 \u043e\u043d \u0438 \u043d\u0430\u0437\u0432\u0430\u043d \u044d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u043c). \u0418 \u00ab\u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00bb \u0433\u0435\u043d\u0430 \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u0441\u043f\u043e\u0441\u043e\u0431\u0438\u0442\u044c \u043e\u0441\u043e\u0431\u044c \u043a \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c (\u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0430 \u0432\u044b\u0436\u0438\u043b\u0430 \u0438 \u0434\u0430\u043b\u0430 \u043f\u043e\u0442\u043e\u043c\u0441\u0442\u0432\u043e), \u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e\u0431\u044b \u0441\u0430\u043c \u0433\u0435\u043d \u00ab\u0432\u044b\u0436\u0438\u043b\u00bb. \u0414\u0440\u0443\u0433\u0438\u043c \u0432\u0437\u0433\u043b\u044f\u0434\u043e\u043c \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u2014 \u0432 \u043d\u0438\u0445 \u00ab\u0435\u0434\u0438\u043d\u0438\u0446\u0435\u0439 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438\u00bb \u043f\u0440\u0438\u0437\u043d\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u043e\u0441\u043e\u0431\u044c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0442\u043a\u0430\u0437 \u043e\u0442 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/b><\/p>\n<div class=\"spoiler_text\"><i>\u0425\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043c\u043e\u0438 \u0437\u043d\u0430\u043d\u0438\u044f \u0431\u0438\u043e\u043b\u043e\u0433\u0438\u0438 \u0438 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0448\u043a\u043e\u043b\u044c\u043d\u044b\u043c \u043a\u0443\u0440\u0441\u043e\u043c \u0438 \u043d\u0430\u0443\u0447\u043d\u043e-\u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c\u0438 \u0444\u0438\u043b\u044c\u043c\u0430\u043c\u0438, \u0442\u0430\u043a \u0447\u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u043e\u0448\u0438\u0431\u043e\u043a, \u043f\u0440\u043e\u0448\u0443 \u043e\u0442\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0438\u043b\u0438 \u0432 \u043b\u0438\u0447\u043a\u0443.<\/i>  <\/div>\n<\/div>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c (\u0438 \u0441\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c), \u043a\u0430\u043a\u0438\u0435 \u0433\u0435\u043d\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0435\u043e\u0431\u043b\u0430\u0434\u0430\u0442\u044c \u0432 \u0433\u0435\u043d\u043e\u0444\u043e\u043d\u0434\u0435 \u043a\u0430\u043a\u043e\u0439-\u043b\u0438\u0431\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0446\u0438\u0438:<\/p>\n<ol>\n<li>\u0422\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u043d\u043e\u0441\u044f\u0442 \u043f\u043e\u043b\u044c\u0437\u0443 \u0432\u0441\u0435\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0446\u0438\u0438;<\/li>\n<li>\u0422\u0435 [\u0433\u0435\u043d\u044b], \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u043d\u043e\u0441\u044f\u0442 \u043f\u043e\u043b\u044c\u0437\u0443 \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0430\u043c \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043e\u0441\u043e\u0431\u0438 (\u0442\u0430\u043a \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0438 \u0441 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u043e\u043b\u0435\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 \u0431\u0443\u0434\u0443\u0442 \u00ab\u0445\u0440\u0430\u043d\u0438\u0442\u044c\u00bb \u0442\u0435 \u0436\u0435 \u0433\u0435\u043d\u044b);<\/li>\n<li>\u0422\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u043d\u043e\u0441\u044f\u0442 \u043f\u043e\u043b\u044c\u0437\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043e\u0441\u043e\u0431\u0438.<\/li>\n<\/ol>\n<p>  <\/p>\n<hr\/>\n<p>  \u0414\u043b\u044f \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0430 C# 6 \u0438 .NET 4.6.<\/p>\n<p>  \u041c\u043e\u0434\u0435\u043b\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f. \u0423 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u044b World \u0438 Creature \u0438 \u043f\u0430\u0440\u0430 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 Relation \u0438 Gene. \u0422\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043b\u0430\u0441\u0441 Statistic, \u0438\u043d\u043a\u0430\u043f\u0441\u0443\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0431\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u043c\u0438\u0440\u0430 \u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">World<\/b><\/p>\n<div class=\"spoiler_text\"><i>\u0417\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u044b\u0440\u0435\u0437\u043a\u0438 \u043a\u043e\u0434\u0430. \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438.<\/i><\/p>\n<pre><code class=\"cs\">    public class World     {         public readonly List&lt;Creature&gt;[] Species = new List&lt;Creature&gt;[8];          public void Run(int generations)         {             for (int i = 0; i &lt; generations; i++, this.age = this.Age + 1)             {                 this.SelectBest();                 this.MakeChildren();                 this.Mutate();                 Debug.Print(&quot;Age: {0}&quot;, i);             }         }          private void SelectBest()         {             var allCreatures = new List&lt;Creature&gt;(this.Species.Sum(kind =&gt; kind.Count));             allCreatures.AddRange(this.Species.SelectMany(kind =&gt; kind));             allCreatures =                 allCreatures.OrderByDescending(creature =&gt; creature.SummaryStrength).Take(allCreatures.Count &gt;&gt; 1).ToList();             for (int i = 0; i &lt; this.Species.Length; i++)             {                 this.Species[i].ForEach(creature =&gt; creature.BreakRedundantConnections());                 this.Species[i].Clear();                 this.Species[i].AddRange(allCreatures.Where(creature =&gt; creature.IdOfSpecies == i));             }         }          private void MakeChildren()         {             Parallel.For(                 0,                  this.Species.Length,                  i =&gt;                     {                         var temp = new List&lt;Creature&gt;(this.Species[i].Count &lt;&lt; 1);                          \/\/ Random parents (of same species) - for supporting different genes                         this.Species[i].Shuffle();                         Random rnd = RandomProvider.GetThreadRandom();                         for (int j = 1; j &lt; this.Species[i].Count; j += 2)                         {                             double value = rnd.NextDouble();                             if (value &lt; 0.33)                             {                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                             }                             else if (value &lt; 0.665)                             {                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                             }                             else                             {                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                                 temp.Add(new Creature(this.Species[i][j - 1], this.Species[i][j]));                             }                         }                          this.Species[i].ForEach(creature =&gt; creature.BreakRedundantConnections());                         this.Species[i].Clear();                         this.Species[i] = temp;                     });         }          private void Mutate()         {             Parallel.ForEach(this.Species, list =&gt; list.ForEach(creature =&gt; creature.Mutate()));         }     } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  World \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 Run, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u00ab\u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0438\u0440\u0430\u00bb, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u043b\u0443\u0447\u0448\u0438\u0445 \u043e\u0441\u043e\u0431\u0435\u0439, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u0445 \u043f\u043e\u0442\u043e\u043c\u0441\u0442\u0432\u0430 \u0438 \u0437\u0430\u0442\u0435\u043c \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u0435 \u043c\u0443\u0442\u0430\u0446\u0438\u0439 \u0432 \u0438\u0445 [\u043e\u0441\u043e\u0431\u0435\u0439 \u043f\u043e\u0442\u043e\u043c\u0441\u0442\u0432\u0430] \u0433\u0435\u043d\u044b. \u0412 \u043c\u0438\u0440\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 8 \u0432\u0438\u0434\u043e\u0432. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e, \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e 1024 \u043e\u0441\u043e\u0431\u0435\u0439. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0438\u0434\u043e\u0432 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0432\u0443\u0435\u0442 \u0434\u043b\u044f \u0442\u043e\u0433\u043e: \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0441\u0438\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u043e\u043d\u043a\u0443 \u043c\u0435\u0436\u0434\u0443 \u0432\u0438\u0434\u0430\u043c\u0438 (\u0431\u0438\u0442\u0432\u0443 \u0437\u0430 \u0432\u044b\u0436\u0438\u0432\u0430\u043d\u0438\u0435); \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c\u0430.<\/p>\n<p>  \u0424\u0438\u0442\u043d\u0435\u0441\u0441-\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0435 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u2014 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u00ab\u0421\u0438\u043b\u0430\u00bb; \u0447\u0435\u043c \u043e\u043d \u0432\u044b\u0448\u0435, \u0442\u0435\u043c \u043f\u0440\u0438\u0441\u043f\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u0435\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u0432\u044b\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0432 \u0441\u0438\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043c\u0438\u0440\u0435. \u041c\u0438\u0440 (\u00ab\u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0430\u044f \u0441\u0440\u0435\u0434\u0430\u00bb) \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u043d. \u0418\u0437 \u0432\u0441\u0435\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f 50% \u0441\u0430\u043c\u044b\u0445 \u043f\u0440\u0438\u0441\u043f\u043e\u0441\u043e\u0431\u043b\u0435\u043d\u043d\u044b\u0445.<br \/>  \u0414\u043e\u0447\u0435\u0440\u043d\u0435\u0435 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u00ab\u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u0432 \u0436\u0438\u0432\u044b\u0445\u00bb \u043e\u0441\u043e\u0431\u0435\u0439 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f. \u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0438 (\u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0432\u0438\u0434\u0430) \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u043e\u0441\u043e\u0431\u0438 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0433\u0435\u043d\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043e\u0441\u043e\u0431\u0438. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u0432 33% \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u043e 3 \u043e\u0441\u043e\u0431\u0438, 33.5% \u2014 4 \u043e\u0441\u043e\u0431\u0438 \u0438 33.5% \u2014 5 \u043e\u0441\u043e\u0431\u0435\u0439. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0441\u043e\u0431\u0435\u0439 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0440\u0430\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f \u043a \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044e. \u0412 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c\u043e\u0439 \u043c\u043d\u043e\u044e \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0441\u043e\u0431\u0435\u0439 \u0432 \u043c\u0438\u0440\u0435 \u0432\u043e\u0437\u0440\u043e\u0441\u043b\u043e \u0441 8.192 \u0434\u043e ~30.000 \u0437\u0430 1024 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u041c\u0443\u0442\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043a\u043e \u0432\u0441\u0435\u043c \u0432\u043d\u043e\u0432\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c \u043e\u0441\u043e\u0431\u044f\u043c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Enums<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">    public enum Gene : byte     {         SelfishGene = 1,         AltruisticGene = 2,         CreatureLevelGene = 4     }      public enum Relation     {         Child,         BrotherOrSister,         GrandChild,         NephewOrNiece,         Cousin     } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0413\u0435\u043d\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435\u043c \u0442\u0440\u0451\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u0420\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u043b\u0438\u044f\u044e\u0442 \u0433\u0435\u043d\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u044f\u0442\u044c\u044e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438. \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435: \u0441\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u0433\u0435\u043d\u043e\u0432 \u0441 \u0433\u0435\u043d\u0430\u043c\u0438 \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043d\u0435 \u043d\u0438\u0436\u0435 10%, \u043e\u0441\u043e\u0431\u0438 \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0439 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c \u043e\u0441\u043e\u0431\u044f\u043c \u044d\u0442\u043e\u0433\u043e \u0438\u043b\u0438 \u043c\u043b\u0430\u0434\u0448\u0438\u0445 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0439 (\u0442\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u0436\u0434\u0430\u044f \u043e\u0441\u043e\u0431\u044c (\u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0435) \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u043e\u0442\u0431\u043e\u0440\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0438), \u043e\u0441\u043e\u0431\u0438 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f n \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c \u043e\u0441\u043e\u0431\u044f\u043c \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 n + 2 (\u043f\u043e\u043b\u0430\u0433\u0430\u044e, \u044d\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0434\u043e\u043f\u0443\u0449\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043b\u044e\u0434\u0435\u0439 \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043c\u043b\u0435\u043a\u043e\u043f\u0438\u0442\u0430\u044e\u0449\u0438\u0445).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Creature<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">    public class Creature     {         private const int GeneStrength = 128;          private readonly Gene[] genes = new Gene[128];          private readonly List&lt;Creature&gt; childs = new List&lt;Creature&gt;(8);          private Creature mother;          private Creature father;          public Creature(int idOfSpecies, World world)         {             Contract.Requires&lt;ArgumentNullException&gt;(world != null);             Contract.Ensures(this.IdOfSpecies == idOfSpecies);             this.IdOfSpecies = idOfSpecies;             this.world = world;             for (int i = 0; i &lt; this.genes.Length; i++)             {                 this.genes[i] = EnumHelper.CreateRandomGene();             }         }          public Creature(Creature mommy, Creature daddy)         {             Debug.Assert(mommy.IdOfSpecies == daddy.IdOfSpecies, &quot;Interspecies relation are FORBIDDEN!!!&quot;);             this.mother = mommy;             this.father = daddy;             mommy.childs.Add(this);             daddy.childs.Add(this);             this.world = mommy.world;             this.IdOfSpecies = mommy.IdOfSpecies;             for (int i = 0; i &lt; this.genes.Length; i++)             {                 this.genes[i] = EnumHelper.ChooseRandomGene(mommy.genes[i], daddy.genes[i]);             }         }                  public int SummaryStrength         {             get             {                 double sum = 0.0;                 World world = this.world;                 string cacheKey = $&quot;AltruisticGenesOutStrength{this.IdOfSpecies}&quot;;                 object cachedValue = Cache.Get(cacheKey, world.Age);                 if (cachedValue != null)                 {                     sum = (double)cachedValue;                 }                 else                 {                     for (int i = 0; i &lt; world.Species[this.IdOfSpecies].Count; i++)                     {                         if (world.Species[this.IdOfSpecies][i] != this)                         {                             sum += world.Species[this.IdOfSpecies][i].AltruisticGenesOutStrength;                         }                     }                      Cache.Put(cacheKey, world.Age, sum);                 }                  return this.ThisCreatureGenesStrength + (int)sum + (int)this.HelpFromRelations;             }         }          private int ThisCreatureGenesStrength             =&gt; this.genes.Sum(g =&gt; g == Gene.CreatureLevelGene ? GeneStrength : GeneStrength &gt;&gt; 1);          private double AltruisticGenesOutStrength         {             get             {                 int sum = 0;                 for (int i = 0; i &lt; this.genes.Length; i++)                 {                     Gene gene = this.genes[i];                     if (gene == Gene.AltruisticGene)                     {                         sum += GeneStrength &gt;&gt; 1;                     }                 }                  return (double)sum \/ (this.world.Species[this.IdOfSpecies].Count - 1);             }         }          private double HelpFromRelations         {             get             {                 Creature mommy = this.mother;                 Creature daddy = this.father;                 if (mommy == null)                 {                     return 0;                 }                  if (mommy.mother == null)                 {                     return mommy.GetSelfishGenesOutStrength(Relation.Child)                            + daddy.GetSelfishGenesOutStrength(Relation.Child)                            + mommy.childs.Sum(                                brother =&gt;                                brother == this ? 0 : brother.GetSelfishGenesOutStrength(Relation.BrotherOrSister));                 }                  return mommy.GetSelfishGenesOutStrength(Relation.Child)                        + daddy.GetSelfishGenesOutStrength(Relation.Child)                        + mommy.childs.Sum(                            brother =&gt; brother == this ? 0 : brother.GetSelfishGenesOutStrength(Relation.BrotherOrSister))                        + mommy.mother.GetSelfishGenesOutStrength(Relation.GrandChild)                        + mommy.father.GetSelfishGenesOutStrength(Relation.GrandChild)                        + daddy.mother.GetSelfishGenesOutStrength(Relation.GrandChild)                        + daddy.father.GetSelfishGenesOutStrength(Relation.GrandChild)                        + mommy.mother.childs.Sum(                            aunt =&gt; aunt == mommy ? 0 : aunt.GetSelfishGenesOutStrength(Relation.NephewOrNiece))                        + daddy.mother.childs.Sum(                            uncle =&gt; uncle == daddy ? 0 : uncle.GetSelfishGenesOutStrength(Relation.NephewOrNiece))                        + mommy.mother.childs.Sum(                            aunt =&gt;                            aunt == mommy                                ? 0                                : aunt.childs.Sum(cousin =&gt; cousin.GetSelfishGenesOutStrength(Relation.Cousin)))                        + daddy.mother.childs.Sum(                            uncle =&gt;                            uncle == daddy                                ? 0                                : uncle.childs.Sum(cousin =&gt; cousin.GetSelfishGenesOutStrength(Relation.Cousin)));             }         }          public void Mutate()         {             \/\/ Tries to change 6 genes with 50% probability             int length = this.genes.Length;             int rnd = RandomProvider.GetThreadRandom().Next(length &lt;&lt; 1);             int limit = Math.Min(length, rnd + 6);             for (; rnd &lt; limit; rnd++)             {                 this.genes[rnd] = EnumHelper.CreateRandomGene();             }         }          public void BreakRedundantConnections()         {             Creature mommy = this.mother;             Creature daddy = this.father;             if (mommy?.mother?.mother != null)             {                 mommy.mother.mother?.childs.Clear();                 mommy.mother.mother = null;                 mommy.mother.father?.childs.Clear();                 mommy.mother.father = null;                 mommy.father.mother?.childs.Clear();                 mommy.father.mother = null;                 mommy.father.father?.childs.Clear();                 mommy.father.father = null;                 daddy.mother.mother?.childs.Clear();                 daddy.mother.mother = null;                 daddy.mother.father?.childs.Clear();                 daddy.mother.father = null;                 daddy.father.mother?.childs.Clear();                 daddy.father.mother = null;                 daddy.father.father?.childs.Clear();                 daddy.father.father = null;             }         }          private double GetSelfishGenesOutStrength(Relation whoAreYou)         {             Creature mommy = this.mother;             Creature daddy = this.father;             int summarySelfishStrength = this.genes.Sum(g =&gt; g == Gene.SelfishGene ? GeneStrength &gt;&gt; 1 : 0);             switch (whoAreYou)             {                 case Relation.Child:                     return summarySelfishStrength \/ this.childs.Count * 30.78;                 case Relation.BrotherOrSister:                     Debug.Assert(mommy.childs.Count &gt; 1, &quot;LIER! He is not our brother!&quot;);                     return summarySelfishStrength \/ (mommy.childs.Count - 1) * 30.78;                 case Relation.GrandChild:                     return summarySelfishStrength \/ this.childs.Sum(creature =&gt; creature.childs.Count) * 15.38;                 case Relation.NephewOrNiece:                     Debug.Assert(mommy.childs.Count &gt; 1, &quot;LIER! We don't have any brothers!&quot;);                     return summarySelfishStrength                            \/ mommy.childs.Sum(brother =&gt; brother == this ? 0 : brother.childs.Count) * 15.38;                 case Relation.Cousin:                     return summarySelfishStrength                            \/ (mommy.mother.childs.Sum(aunt =&gt; aunt == mommy ? 0 : aunt.childs.Count)                               + daddy.mother.childs.Sum(uncle =&gt; uncle == daddy ? 0 : uncle.childs.Count)) * 7.68;                 default:                     throw new NotImplementedException(&quot;Unknown enum value&quot;);             }         }     } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u0430\u0436\u0434\u0430\u044f \u043e\u0441\u043e\u0431\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u043e\u0432\u043d\u043e 128 \u0433\u0435\u043d\u043e\u0432. \u0414\u043b\u044f \u043e\u0441\u043e\u0431\u0435\u0439 \u043d\u0443\u043b\u0435\u0432\u043e\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f \u0433\u0435\u043d\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e. \u041e\u0441\u043e\u0431\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f \u0431\u0435\u0440\u0443\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u0433\u0435\u043d\u044b \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439. \u041a\u0430\u0436\u0434\u044b\u0439 \u0433\u0435\u043d \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u043b\u043e\u0439 \u0440\u0430\u0432\u043d\u043e\u0439 128. \u0413\u0435\u043d\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:  <\/p>\n<ol>\n<li>AltruisticGene \u2014 50% \u0441\u0438\u043b\u044b \u0433\u0435\u043d\u0430 \u0438\u0434\u0435\u0442 \u00ab\u0432 \u043a\u043e\u043f\u0438\u043b\u043a\u0443\u00bb \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0430-\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044f \u0433\u0435\u043d\u0430, \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f 50% \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043f\u043e\u0440\u043e\u0432\u043d\u0443 \u043c\u0435\u0436\u0434\u0443 \u0432\u0441\u0435\u043c\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0430;<\/li>\n<li>CreatureLevelGene \u2014 \u0432\u0441\u0435 100% \u0441\u0438\u043b\u044b \u0433\u0435\u043d\u0430 \u0438\u0434\u0435\u0442 \u00ab\u0432 \u043a\u043e\u043f\u0438\u043b\u043a\u0443\u00bb \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0430-\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044f \u0433\u0435\u043d\u0430;<\/li>\n<li>SelfishGene \u2014 50% \u0441\u0438\u043b\u044b \u0433\u0435\u043d\u0430 \u0438\u0434\u0435\u0442 \u00ab\u0432 \u043a\u043e\u043f\u0438\u043b\u043a\u0443\u00bb \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0430-\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044f \u0433\u0435\u043d\u0430, \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f 50% \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u043e\u0439 \u043e\u0441\u043e\u0431\u0438 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438: \u0434\u0435\u0442\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 15.39% \u0441\u0438\u043b\u044b, \u0440\u043e\u0434\u043d\u044b\u0435 \u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0438 \u0441\u0435\u0441\u0442\u0440\u044b \u2014 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0436\u0435, \u0432\u043d\u0443\u043a\u0438 \u2014 7.69%, \u043f\u043b\u0435\u043c\u044f\u043d\u043d\u0438\u043a\u0438 \u2014 7.69% \u0438 \u0434\u0432\u043e\u044e\u0440\u043e\u0434\u043d\u044b\u0435 \u0431\u0440\u0430\u0442\u044c\u044f \u0438 \u0441\u0435\u0441\u0442\u0440\u044b \u2014 3.84% \u0441\u0438\u043b\u044b \u0433\u0435\u043d\u0430.<\/li>\n<\/ol>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u044d\u0442\u0438\u0445 \u0436\u0435 \u0433\u0435\u043d\u043e\u0432 \u0443 \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u043e\u0432:<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d33\/21d\/dc9\/d3321ddc990b49cdb31d391cec1509a4.png\" alt=\"probabilities\"\/>  <\/div>\n<\/div>\n<p>  \u041c\u0443\u0442\u0430\u0446\u0438\u044f \u0441 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e 50% \u043c\u0435\u043d\u044f\u0435\u0442 4 \u0433\u0435\u043d\u0430.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u2014 BreakRedundantConnections. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u0443 \u043c\u0443\u0441\u043e\u0440\u0430 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u044c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0431\u0440\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043e\u0441\u043e\u0431\u0435\u0439, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0438 \u0443\u0436\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b (\u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0432\u0443\u0445).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Memory leak<\/b><\/p>\n<div class=\"spoiler_text\"><i>\u041d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0431\u044b\u043b\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0430 \u0437\u0430\u0431\u0430\u0432\u043d\u0430\u044f \u0443\u0442\u0435\u0447\u043a\u0430 \u043f\u0430\u043c\u044f\u0442\u0438. \u041f\u043e \u0438\u0434\u0435\u0435, GC \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432 \u0445\u0438\u043f\u0435, \u0434\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043d \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u043e\u0431\u0445\u043e\u0434\u0430 \u0433\u0440\u0430\u0444\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u043b\u043e \u0443 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 null \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439 (\u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 (\u043e\u0442\u0436\u0438\u0432\u0448\u0438\u0445 \u0441\u0432\u043e\u0435) \u0441\u0443\u0449\u0435\u0441\u0442\u0432). \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0438 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0442\u0430\u043a\u0436\u0435 \u043e\u0447\u0438\u0449\u0430\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043e\u0441\u043e\u0431\u0435\u0439 \u0443 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439. \u041d\u0435 \u043c\u043e\u0433\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0447\u0435\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f: \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u0431\u0430\u0433 .NET-\u0430. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u044f \u0447\u0435\u0433\u043e-\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u044e \u0438\u043b\u0438 \u043d\u0430\u043c\u0443\u0434\u0440\u0438\u043b \u0441 LINQ \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u043c\u0438 \u0438\u043c \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043a\u043b\u0430\u0441\u0441\u0430\u043c\u0438.<\/i>  <\/div>\n<\/div>\n<p>  <\/p>\n<hr\/>\n<p>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 1024 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0437\u0430 ~20 \u043c\u0438\u043d\u0443\u0442 (\u043d\u0430 \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435 \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u043c Intel Core i7 2.4 GHz), \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044f \u0434\u043e 50 \u041c\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438. \u0412 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043d\u0430 \u043e\u0434\u043d\u0443 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e \u0442\u0440\u0430\u0442\u0438\u0442\u0441\u044f 1 \u0441\u0435\u043a\u0443\u043d\u0434\u0430. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0441\u043e\u0431\u0435\u0439 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043b\u0435\u0431\u043b\u0435\u0442\u0441\u044f \u043e\u0442 ~10.000 \u0434\u043e ~30.000. \u0417\u0430 \u0432\u0441\u044e \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044e \u043f\u0440\u043e\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043a\u043e\u043b\u043e 20.000.000 \u043e\u0441\u043e\u0431\u0435\u0439 \u0438 2.500.000.000 \u0433\u0435\u043d.<\/p>\n<p>  68% \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0433\u0435\u043d\u043e\u0432 \u2014 \u044d\u0442\u043e \u044d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0435 \u0433\u0435\u043d\u044b. \u041f\u043e\u0440\u043e\u0432\u043d\u0443 (\u043f\u043e 16%) \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0434\u043e\u0431\u0440\u044b\u0445 \u0433\u0435\u043d\u043e\u0432 \u0438 \u0433\u0435\u043d\u043e\u0432, \u043f\u0440\u0438\u043d\u043e\u0441\u044f\u0449\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043e\u0431\u0438-\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044e. \u041a \u0442\u0430\u043a\u043e\u043c\u0443 \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044e \u043f\u0440\u0438\u0448\u043b\u0438 \u043d\u0430 89-\u043e\u043c \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0438. \u041d\u0430 201-\u043e\u043c \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0438 \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0432\u0438\u0434 (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0440\u0432\u0430\u043b\u0441\u044f \u0432\u043f\u0435\u0440\u0435\u0434 \u0432\u0441\u0435\u0433\u043e \u0443\u0436\u0435 9-\u043e\u043c \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0438 (\u043f\u0435\u0440\u0432\u043e\u043c, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u044b\u043b\u0430 \u0441\u043d\u044f\u0442\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430)).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0423\u0436\u0430\u0441\u043d\u043e \u043d\u0435\u044d\u0441\u0442\u0435\u0442\u0438\u0447\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/237\/21e\/97b\/23721e97bdd84dc5a83e380661428dd7.PNG\"\/><br \/>  \u2026<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/883\/39f\/bb4\/88339fbb468540e3861eedd14b281591.PNG\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/065\/63f\/255\/06563f2554ea4096a4f6379c6ab81b3e.PNG\"\/><br \/>  \u2026<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ccc\/81d\/402\/ccc81d402f99444ca2590d1a598f744a.PNG\"\/>  <\/div>\n<\/div>\n<p>  \u041a\u0430\u043a\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u044b:<\/p>\n<ol>\n<li><b>\u041c\u044b \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u043d\u0435\u043a\u0443\u044e \u043f\u043e\u043c\u043e\u0449\u044c \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0430\u043c;<\/b><\/li>\n<li>\u041e\u0434\u043d\u043e \u0438\u0437 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u2014 \u0442\u043e \u0447\u0442\u043e \u043e\u043d\u0430 \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0430. \u042d\u0442\u043e \u0437\u0430\u043a\u043e\u043d. \u041d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u043d\u0435\u0442\u0435 \u0432\u043e \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0436\u0438\u0437\u043d\u044c \u0438 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0442\u0435\u043a\u0430\u0442\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044f \u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u0438 \u043d\u0430 \u0417\u0435\u043c\u043b\u0435. \u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u044b \u043c\u044b \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0438 \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u044e, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0442\u0435 \u0436\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b. \u0427\u0442\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0433\u043e. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044d\u0442\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0431\u043e\u0440 (\u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c) \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u041d\u043e \u0432\u0435\u0434\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044f \u0434\u0435\u043b\u0430\u0435\u0442 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435!<\/li>\n<li>\u0412\u043e\u043c\u043e\u0436\u043d\u043e, \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u043f\u0440\u0435\u0434\u044c \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438.<\/li>\n<\/ol>\n<p>  <\/p>\n<hr\/>\n<p>  \u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b (\u043f\u043e\u0434 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 \u0421\u0421 4.0) \u043d\u0430 <a href=\"https:\/\/github.com\/zzz77\/GeneticSimulation\">github<\/a>.<\/p>\n<p>  \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u043a\u0440\u0438\u0442\u0438\u043a\u0435. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u2014 \u043f\u0440\u043e\u0448\u0443 \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/p>\n<p>  <b>\u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<\/b><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0415\u0441\u043b\u0438 \u0412\u0430\u0441 \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0430 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f<\/b><\/p>\n<div class=\"spoiler_text\"><i>P.S. \u0412 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043a\u043d\u0438\u0433\u0438 \u00ab\u042d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439 \u0433\u0435\u043d\u00bb \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f (\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\/\u0438\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u0438) \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438: \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 (\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0435\u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043a\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0431\u0435\u0448\u0435\u043d\u043d\u044b\u0439 memory traffic), \u0441\u043d\u044f\u0442\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0438\u0445 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b\u043f\u0443\u0441\u043a (\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0433\u043e) \u043c\u0438\u043d\u0438-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0434\u043b\u044f \u0441\u0438\u043c\u0443\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u044b \u0434\u043e\u0431\u0440\u044b\u0435. \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0441\u0432\u043e\u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f (\u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u0442\u0431\u043e\u0440\u0430, \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0432 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043a \u043c\u0435\u043c\u0430\u043c, \u0430 \u043d\u0435 \u0433\u0435\u043d\u0430\u043c, \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043b\u044e\u0441\u043e\u0432\/\u043c\u0438\u043d\u0443\u0441\u043e\u0432 \u043f\u043e\u043b\u0438\u0433\u0430\u043c\u0438\u0438\/\u043c\u043e\u043d\u043e\u0433\u0430\u043c\u0438\u0438, \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f&#8230;), \u043f\u0440\u043e\u0448\u0443 \u043e\u0442\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/i>  <\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/267399\/\"> http:\/\/habrahabr.ru\/post\/267399\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/eac\/d4c\/822\/eacd4c8223f04eaa98a0c0137f82c521.png\" align=\"left\" alt=\"\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f (http:\/\/xkcd.com\/534\/)\"\/> \u0412\u0441\u0451 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u043e\u0434\u043d\u0438\u043c \u043b\u0435\u0442\u043d\u0438\u043c \u0432\u0435\u0447\u0435\u0440\u043e\u043c, \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u043a\u043d\u0438\u0433\u0438 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0431\u0438\u043e\u043b\u043e\u0433\u0430 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/\u0414\u043e\u043a\u0438\u043d\u0437,_\u0420\u0438\u0447\u0430\u0440\u0434\">\u0420\u0438\u0447\u0430\u0440\u0434\u0430 \u0414\u043e\u043a\u0438\u043d\u0437\u0430<\/a> \u00ab\u0411\u043e\u0433 \u043a\u0430\u043a \u0438\u043b\u043b\u044e\u0437\u0438\u044f\u00bb. \u0414\u0430\u043d\u043d\u0430\u044f \u043a\u043d\u0438\u0433\u0430 \u043e \u0440\u0435\u043b\u0438\u0433\u0438\u0438, \u0432\u0435\u0440\u0435 \u0438 \u0430\u0442\u0435\u0438\u0437\u043c\u0435, \u043d\u043e \u0430\u0432\u0442\u043e\u0440 \u043a\u0440\u0430\u0442\u043a\u043e \u0441\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u043d\u0438\u0433\u0443 \u00ab\u042d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439 \u0433\u0435\u043d\u00bb \u0438 \u0432\u0432\u043e\u0434\u0438\u0442 \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435. \u041c\u0435\u043d\u044f \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u043e\u0441\u0445\u0438\u0449\u0430\u043b\u043e \u0438\u0437\u044f\u0449\u0435\u0441\u0442\u0432\u043e \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432. \u0418 \u0432\u043e\u0442, \u0441\u043f\u0443\u0441\u0442\u044f \u043c\u0435\u0441\u044f\u0446, \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0440\u0430\u0437 \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043c\u0438\u043d\u0438-\u043f\u0440\u043e\u0435\u043a\u0442, \u043c\u0435\u043d\u044f \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u0441\u0435\u043d\u0438\u043b\u043e \u2013 \u0430 \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0433\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u0441\u0438\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044e \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0442\u043e \u0438 \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c\u0441\u044f. \u0417\u0430\u0434\u0430\u0447\u0430 \u044d\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0438 \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f IT, \u043f\u043e\u043b\u0430\u0433\u0430\u044e, \u043d\u0435\u0440\u0435\u0448\u0430\u0435\u043c\u0430\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0447\u0435\u043c-\u043b\u0438\u0431\u043e \u043f\u043e\u043f\u0440\u043e\u0449\u0435. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0433\u0438\u043f\u043e\u0442\u0435\u0437\u0443 \u044d\u0433\u043e\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0433\u0435\u043d\u0430. \u0417\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u0432\u0448\u0438\u0445\u0441\u044f, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442\u2026  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-266109","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/266109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=266109"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/266109\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=266109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=266109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=266109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}