{"id":23974,"date":"2012-12-24T16:18:59","date_gmt":"2012-12-24T13:18:59","guid":{"rendered":"http:\/\/studentpmr.ru\/?p=23974"},"modified":"2012-12-24T16:18:59","modified_gmt":"2012-12-24T13:18:59","slug":"%d1%84%d0%b0%d0%ba%d1%82%d1%8b-%d0%b8-%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d0%bb%d0%b0-%d0%bd%d0%b0-%d0%bf%d1%80%d0%be%d0%bb%d0%be%d0%b3%d0%b5-%d0%be%d1%81%d0%bd%d0%be%d0%b2%d0%bd%d1%8b%d0%b5-%d0%bf%d1%80","status":"publish","type":"post","link":"https:\/\/studentpmr.ru\/?p=23974","title":{"rendered":"\u0424\u0430\u043a\u0442\u044b \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u041f\u0440\u043e\u043b\u043e\u0433\u0435. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u0435\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0432 Visual Prolog"},"content":{"rendered":"<p>\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u21161<br \/>\n\u0422\u0435\u043c\u0430: \u0424\u0430\u043a\u0442\u044b \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u041f\u0440\u043e\u043b\u043e\u0433\u0435. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u0435\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0432 Visual Prolog<br \/>\n\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0430<\/p>\n<p>5.9 \u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b, \u0438\u043c\u0435\u044f \u0444\u0430\u043a\u0442\u044b (\u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b): \u043c\u0443\u0436\u0447\u0438\u043d\u0430(\u043a\u0442\u043e), \u0436\u0435\u043d\u0449\u0438\u043d\u0430(\u043a\u0442\u043e), \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c(\u043a\u0442\u043e,\u0447\u0435\u0439). \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u043b\u0430 \u0431\u044b, \u043a\u0442\u043e \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u043d\u0443\u0447\u0430\u0442\u044b\u043c \u043f\u043b\u0435\u043c\u044f\u043d\u043d\u0438\u043a\u043e\u043c, \u043f\u043b\u0435\u043c\u044f\u043d\u043d\u0438\u0446\u0435\u0439.<br \/>\n<!--more--><br \/>\n\/* \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 Lab1_5.9 PRO *\/<br \/>\npredicates<br \/>\n\tperens(symbol, symbol)<br \/>\n\tvplemnik(symbol, symbol)<br \/>\n\tvplemnica(symbol, symbol)<br \/>\n\tman(symbol)<br \/>\n\twoman(symbol)<br \/>\nclauses<br \/>\n\tperens(barbara,lisa).<br \/>\n\tperens(anna,katya).<br \/>\n\tperens(anna,petr).<br \/>\n\tperens(tatiana,mihail).<br \/>\n\tperens(dmitriy,mihail).<br \/>\n\tperens(valera,nikolay).<br \/>\n\tperens(liza,alex).<br \/>\n\tperens(katya,juli).<br \/>\n\tperens(petr,alex).<br \/>\n\tperens(petr,alexandr).<br \/>\n\tperens(mihail,juli).<br \/>\n\tperens(nikolay,raisa).<br \/>\n\tperens(alex,kostya).<br \/>\n\tperens(alexandr,lyuda).<br \/>\n\tperens(juli,lyuda).<br \/>\n\tperens(raisa,kostya).<br \/>\n\tman(sergev).<br \/>\n\tman(dmitriy).<br \/>\n\tman(valera).<br \/>\n\tman(petr).<br \/>\n\tman(mihail).<br \/>\n\tman(nikolay).<br \/>\n\tman(alex).<br \/>\n\tman(alexandr).<br \/>\n\tman(kostya).<br \/>\n\twoman(barbara).<br \/>\n\twoman(anna).<br \/>\n\twoman(tatiana).<br \/>\n\twoman(liza).<br \/>\n\twoman(katya).<br \/>\n\twoman(jyli).<br \/>\n\twoman(raisa).<br \/>\n\twoman(lyuda).<br \/>\nvplemnik(X,Y):-perens(A,Y), perens(A,B), perens(B,D),<br \/>\n perens(D,X), B<>Y,man(X).<br \/>\nvplemnica(X,Y):-perens(A,Y),perens(A,B),perens(B,D), perens(D,X),B<>Y,woman(X).<\/p>\n<p>goal\t\/*  (\u0426\u0435\u043b\u044c) \u0437\u0430\u043f\u0440\u043e\u0441: *\/<br \/>\n\tvplemnik(X,Y);<br \/>\n\tvplemnica(X,Y).<\/p>\n<p>\t6.4 \u0414\u043e\u0431\u0430\u0432\u0438\u0432 \u043a \u0443\u0441\u043b\u043e\u0432\u0438\u044e \u0437\u0430\u0434\u0430\u043d\u0438\u044f 5 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0441\u0443\u043f\u0440\u0443\u0433(\u043a\u0442\u043e, \u0447\u0435\u0439), \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c, \u043a\u0442\u043e \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0435\u0432\u0435\u0441\u0442\u043a\u043e\u0439, \u0437\u044f\u0442\u0435\u043c<\/p>\n<p>\/* \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 Lab1_5.9 PRO *\/<br \/>\npredicates<br \/>\n\tperens(symbol, symbol)<br \/>\n\tsyprygi(symbol, symbol)<br \/>\n\tziat(symbol, symbol)<br \/>\n\tnevestka(symbol, symbol)<br \/>\n\tman(symbol)<br \/>\n\twoman(symbol)<br \/>\nclauses<br \/>\n\tperens(barbara,lisa).<br \/>\n\tperens(anna,katya).<br \/>\n\tperens(anna,petr).<br \/>\n\tperens(tatiana,mihail).<br \/>\n\tperens(dmitriy,mihail).<br \/>\n\tperens(valera,nikolay).<br \/>\n\tperens(liza,alex).<br \/>\n\tperens(katya,juli).<br \/>\n\tperens(petr,alex).<br \/>\n\tperens(petr,alexandr).<br \/>\n\tperens(mihail,juli).<br \/>\n\tperens(nikolay,raisa).<br \/>\n\tperens(alex,kostya).<br \/>\n\tperens(alexandr,lyuda).<br \/>\n\tperens(juli,lyuda).<br \/>\n\tperens(raisa,kostya).<\/p>\n<p>\tman(sergev).<br \/>\n\tman(dmitriy).<br \/>\n\tman(valera).<br \/>\n\tman(petr).<br \/>\n\tman(mihail).<br \/>\n\tman(nikolay).<br \/>\n\tman(alex).<br \/>\n\tman(alexandr).<br \/>\n\tman(kostya).<\/p>\n<p>\twoman(barbara).<br \/>\n\twoman(anna).<br \/>\n\twoman(tatiana).<br \/>\n\twoman(liza).<br \/>\n\twoman(katya).<br \/>\n\twoman(jyli).<br \/>\n\twoman(raisa).<br \/>\n\twoman(lyuda).<\/p>\n<p>\tsyprygi(X,Y):-perens(X,A), perens(Y,A),X<>Y.<\/p>\n<p>\tziat(X,Y):-perens(Y,D),syprygi(D,X),man(X).<br \/>\n\tnevestka(X,Y):-syprygi(X,D),perens(Y,D),woman(X).<\/p>\n<p>goal\t\/*  (\u0426\u0435\u043b\u044c) \u0437\u0430\u043f\u0440\u043e\u0441: *\/<br \/>\n\tziat(X,Y);<br \/>\n\tnevestka(X,Y).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u21161 \u0422\u0435\u043c\u0430: \u0424\u0430\u043a\u0442\u044b \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u041f\u0440\u043e\u043b\u043e\u0433\u0435. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u0435\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0432 Visual Prolog \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0430 5.9 \u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b, \u0438\u043c\u0435\u044f \u0444\u0430\u043a\u0442\u044b (\u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u044b): \u043c\u0443\u0436\u0447\u0438\u043d\u0430(\u043a\u0442\u043e), \u0436\u0435\u043d\u0449\u0438\u043d\u0430(\u043a\u0442\u043e), \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c(\u043a\u0442\u043e,\u0447\u0435\u0439). \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u043b\u0430 \u0431\u044b, \u043a\u0442\u043e \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u043d\u0443\u0447\u0430\u0442\u044b\u043c \u043f\u043b\u0435\u043c\u044f\u043d\u043d\u0438\u043a\u043e\u043c, \u043f\u043b\u0435\u043c\u044f\u043d\u043d\u0438\u0446\u0435\u0439.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"_links":{"self":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23974"}],"collection":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23974"}],"version-history":[{"count":1,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23974\/revisions"}],"predecessor-version":[{"id":23975,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/23974\/revisions\/23975"}],"wp:attachment":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}