register.clp

来自「用Multi-Agent平台Zeus开发的一个功能完整的开源安全股票交易系统」· CLP 代码 · 共 32 行

CLP
32
字号
/*	This software was produced as a part of research	activities. It is not intended to be used as commercial	or industrial software by any organisation. Except as	explicitly stated, no guarantees are given as to its	reliability or trustworthiness if used for purposes other	than those for which it was originally intended. 	(c) British Telecommunications plc 1999.*/(:Rulebase Register   (registerWithEnvironment      ?aN <- (agentsName (name ?var6))      =>      (send_message (type inform) (content ?aN) (receiver Environment))   )   (exitedMaze9      ?me <- (mazeExited (id ?var6))      ?obst <- (obstacle)      ?aR <- (agentRegistered (name ?var19))      ?tM <- (thisMove)      (agentsName (name ?var33))      =>      (retract ?me)      (retract ?obst)      (retract ?aR)      (retract ?tM)      (assert (thisMove (west false) (east false) (south false) (north false) (id ?var33)))   ))

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?