Prologã®å ¥éææ¸ã«é£½ãã人㫠ãããã@AXE (竹岡å°ä¸) Update: 2007/DEC/08 Update: 2007/AUG/18 ååº: 2007/MAR/10 ãªãã ããWebã®ä¸çã«ã¯ãæ¥æ¬èªã§ã¯ãç´ç²ãªè«çåè¨èªã¨ãã¦ã®Prologå ¥éã® ææ¸ãããªãã Prologã¯ãå®ç¨è¨èª(ãç®æãã¦ããã¯ã)ãªã®ã§ããã¥ã¢ãªè«çã®è©±ã ãã§ã¯ã ãããªãã¨ãæã⦠ã§ãããããéæã«ã¦ãæ¥ããããã 1. é«éã«ããå¾æ å®ç¨ããã°ã©ã ããããã¾ãã«é«éæç¶ãã使ã£ã¦ããã¨ãããã¯ããã§ãå°ã ãããªãã®ãªã®ã ã⦠ã§ãããã¯ããé«éãªå¼ã³åºãã¯ãå¿ è¦ã ã aho(X,Z) :- A =.. [plus,1,X,Z], call(A),print(Z). ã¨ããè¿°èªãå®ç¾©ãã å®è¡ã¨ãã®çµæã¯æ¬¡ã®ã¨ããã ?- aho(4,Z). 5 Z = 5 ãcall/1ã ã¯ã å¼æ°
Prolog ã®æ¦è¦ PROgramming in LOGic (è«çããã°ã©ãã³ã°)ã®çç¥ï¼ AI ç¨è¨èª (AI ããã°ã©ã ã®è¨è¿°ã»éçºã«é©ãã¦ããè¨èª)ã®ä¸ç¨®ï¼ 1974 å¹´ã«ä»å½ã® Colmerauer ãã«ããéçºãããï¼ éç£çã®ç¬¬äºä¸ä»£ã³ã³ãã¥ã¼ã¿ããã¸ã§ã¯ãã®æ ¸è¨èªã¨ãã¦æ¡ç¨ãããï¼ Prolog ã®ç¹å¾´ è¨å·å¦çè¨èªï¼ãªã¹ãå¦çè¨èª: ãã¼ã¿ã¨ãã¦ï¼è¨å·(ã·ã³ãã«)ãåãæ±ããã¨ãã§ããï¼ ã¾ãï¼ãªã¹ãã¨å¼ã°ããå¯å¤é·ã®ãã¼ã¿ã®åãåãæ±ããã¨ãã§ããï¼ è«çåè¨èª: Prolog ã§ã¯æ°ããªè¿°èªãè«çå¼ã§å®ç¾©ãããã¨ã«ãã£ã¦ããã°ã©ã ã ä½ãä¸ãã¦ããï¼ ããªãã¡ï¼ Prolog ã®ããã°ã©ã ã¯è«çå¼ã®éã¾ãã§ããï¼ Prolog ã LISP ã¯ï¼ FORTRAN ã BASIC ãªã©ã®æç¶ãåè¨èªã¨ã¯ç°ãªãï¼ éæç¶ãåè¨èªã¨å¼ã°ããï¼ å¯¾è©±ç使ç¨ï¼ä¼è©±ç使ç¨: P
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}