<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум компьютерной помощи &mdash; Программы на прологе]]></title>
		<link>https://itpmr.ru/viewtopic.php?id=736</link>
		<atom:link href="https://itpmr.ru/extern.php?action=feed&amp;tid=736&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Программы на прологе».]]></description>
		<lastBuildDate>Fri, 21 Dec 2012 14:47:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123742#p123742</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:47:50 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123742#p123742</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123741#p123741</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:47:38 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123741#p123741</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123740#p123740</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:46:56 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123740#p123740</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123739#p123739</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:46:46 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123739#p123739</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123738#p123738</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:46:32 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123738#p123738</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123737#p123737</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:45:55 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123737#p123737</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123736#p123736</link>
			<description><![CDATA[<p>/*****************************************************************************</p><p>&nbsp; &nbsp; &nbsp; &nbsp; Copyright (c) My Company</p><p> Project:&nbsp; RV<br /> FileName: RV.PRO<br /> Purpose: No description<br /> Written by: Visual Prolog<br /> Comments:<br />******************************************************************************/</p><p>include &quot;rv.inc&quot;</p><p>predicates</p><p>&nbsp; rv()</p><p>clauses</p><p>&nbsp; rv():-!.</p><p>goal</p><p>&nbsp; rv().</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:45:41 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123736#p123736</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123735#p123735</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:45:26 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123735#p123735</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123734#p123734</link>
			<description><![CDATA[]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:45:19 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123734#p123734</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123733#p123733</link>
			<description><![CDATA[<p>predicates <br />abc(integer,integer,integer)<br />a1b1c1(integer,integer,integer)<br />it(integer)<br />it1(integer)<br />max(integer)<br />clauses<br />abc(8,3,13).<br />a1b1c1(2,6,45).</p><p>it(X):-abc(X,Y,Z),X&lt;Y,X&lt;Z,!.<br />it(X):-abc(Y,X,Z),X&lt;Y,X&lt;Z,!.<br />it(X):-abc(Z,Y,X).</p><p>it1(X):-a1b1c1(X,Y,Z),X&lt;Y,X&lt;Z,!.<br />it1(X):-a1b1c1(Y,X,Z),X&lt;Y,X&lt;Z,!.<br />it1(X):-a1b1c1(Z,Y,X).</p><p>max(X):-it(X),it1(Y),X&gt;Y,!.<br />max(X):-it1(X),it(Y).</p><p>goal<br />it(Min),<br />write(&quot;Min v treygolnike abc=&quot;,Min,&quot;&nbsp; &nbsp; &quot;);<br />it1(Min),<br />write(&quot;Min v treygolnike a1b1c1=&quot;,Min,&quot;&nbsp; &nbsp; &quot;);<br />max(Max),<br />write(&quot;Max v dvyx treygolnikax abc i a1b1c1=&quot;,Max,&quot;&nbsp; &nbsp; &quot;).</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:45:12 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123733#p123733</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123732#p123732</link>
			<description><![CDATA[<p>predicates<br />ch(integer) <br />a(integer)<br />clauses<br />ch(-10).</p><p>a(X):-ch(X),X&gt;0,!.<br />a(X):-ch(Y),X=Y-2*Y.</p><p>goal<br />a(X).</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:44:54 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123732#p123732</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123731#p123731</link>
			<description><![CDATA[<p>domains<br />argument =real<br />result =real<br />predicates<br />func(argument, result)<br />clauses<br />func(X,Y):- X&lt;-2,Y=X*X,!.<br />func(X,Y):- X&lt;5,Y=X+1,!.<br />func(X,Y):-Y=X*X .<br />goal<br />X=-6,<br />func(X, Y),<br />write(&quot;Pri X=&quot;,X,&quot;&nbsp; &nbsp;F(X)=&quot;,Y,&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;).</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:44:15 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123731#p123731</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123730#p123730</link>
			<description><![CDATA[<p>predicates<br />функция(real, real, string)&nbsp; &nbsp; <br />clauses&nbsp; &nbsp; <br />функция(X,Y,Z):- Y=X*X, Z=&quot;X^2&quot;, X&lt;-2,!.<br />функция(X,Y,Z):- Y=X+1, Z=&quot;X+1&quot;, X&lt;5,!.<br />функция(X,Y,Z):- Y=X*X, Z=&quot;X^2&quot;, X&gt;=5.<br />goal<br />readreal(X),<br />функция(X,Y,Z),<br />write(&quot;X = &quot;,X,&quot; Y=&quot;,Y,&quot; Вид зависимости: &quot;,Z,&quot; &quot;).</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:44:09 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123730#p123730</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123729#p123729</link>
			<description><![CDATA[<p>predicates<br />вероятность(real)<br />предположение(real,real,real,real)<br />решение(real,real,real,real)<br />clauses&nbsp; &nbsp; <br />вероятность(1).<br />вероятность(2).<br />вероятность(3).<br />вероятность(4).</p><p>предположение(A,B,C,D):-<br />A=B,not(C=D).<br />предположение(A,B,C,D):-<br />not(A=B),C=D.</p><p>решение(A,B,C,D):-<br />вероятность(A),<br />вероятность(B),<br />вероятность(C),<br />вероятность(D),<br />A&lt;&gt;B,A&lt;&gt;C,A&lt;&gt;D,B&lt;&gt;C,B&lt;&gt;D,C&lt;&gt;D,<br />предположение(D,1,B,2),<br />предположение(D,2,C,3),<br />предположение(A,2,C,4).<br />goal</p><p>решение(Андрей, Виктор, Дима, Саша).</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:44:00 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123729#p123729</guid>
		</item>
		<item>
			<title><![CDATA[Re: Программы на прологе]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123728#p123728</link>
			<description><![CDATA[<p>predicates&nbsp; &nbsp; <br />&nbsp; &nbsp; man(symbol)<br />&nbsp; &nbsp; woman(symbol)<br />&nbsp; &nbsp; parent(symbol, symbol)<br />&nbsp; &nbsp; d_brat(symbol, symbol)<br />&nbsp; &nbsp; d_sestra(symbol, symbol)<br />&nbsp; &nbsp; <br />clauses<br />&nbsp; &nbsp; man(sergey).<br />&nbsp; &nbsp; man(dmitriy).<br />&nbsp; &nbsp; man(valera).<br />&nbsp; &nbsp; man(petr).<br />&nbsp; &nbsp; man(mihail).<br />&nbsp; &nbsp; man(nikolay).<br />&nbsp; &nbsp; man(alex).<br />&nbsp; &nbsp; man(alexandr).<br />&nbsp; &nbsp; man(kostya).&nbsp; &nbsp; <br />&nbsp; &nbsp; woman(barbara).<br />&nbsp; &nbsp; woman(anna).<br />&nbsp; &nbsp; woman(tatiana).<br />&nbsp; &nbsp; woman(liza).<br />&nbsp; &nbsp; woman(katya).<br />&nbsp; &nbsp; woman(juli).<br />&nbsp; &nbsp; woman(raisa).<br />&nbsp; &nbsp; woman(lyuda).<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; parent(barbara, liza).<br />&nbsp; &nbsp; parent(liza, alex).<br />&nbsp; &nbsp; parent(alex,kostya).<br />&nbsp; &nbsp; parent(raisa, kostya).<br />&nbsp; &nbsp; parent(anna, katya).<br />&nbsp; &nbsp; parent(anna, petr).<br />&nbsp; &nbsp; parent(sergey, katya).&nbsp; &nbsp; <br />&nbsp; &nbsp; parent(sergey, petr).<br />&nbsp; &nbsp; parent(katya, juli).<br />&nbsp; &nbsp; parent(petr, alex).<br />&nbsp; &nbsp; parent(petr, alexandr).<br />&nbsp; &nbsp; parent(alexandr, lyuda).<br />&nbsp; &nbsp; parent(juli, lyuda).<br />&nbsp; &nbsp; parent(tatiana, mihail).<br />&nbsp; &nbsp; parent(dmitriy, mihail).<br />&nbsp; &nbsp; parent(mihail, juli).<br />&nbsp; &nbsp; parent(valera, nikolay).<br />&nbsp; &nbsp; parent(nikolay, raisa).<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; d_brat(X, Y) :- man(X), parent(Z, X), parent(W, Y), parent(Q, Z), parent(Q, W), Z&lt;&gt;W, X&lt;&gt;Y. <br />&nbsp; &nbsp; d_sestra(X, Y) :- woman(X), parent(Z, Y), X&lt;&gt;Y, parent(W, X), parent(Q, Z), parent(Q, W), Z&lt;&gt;W.<br />&nbsp; &nbsp; <br />goal<br />&nbsp; &nbsp; d_brat(Who, Whose); write(&quot;-------------------------------------------------&quot;), nl, d_sestra(Who, Whose).</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 21 Dec 2012 14:43:16 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123728#p123728</guid>
		</item>
	</channel>
</rss>
