{"id":2632,"date":"2018-04-07T19:44:07","date_gmt":"2018-04-07T11:44:07","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=2632"},"modified":"2018-04-07T19:44:08","modified_gmt":"2018-04-07T11:44:08","slug":"rete-%e7%ae%97%e6%b3%95%e5%8e%9f%e7%90%86%e5%8f%8a%e5%ae%9e%e7%8e%b0","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=2632","title":{"rendered":"Rete \u7b97\u6cd5\u539f\u7406\u53ca\u5b9e\u73b0"},"content":{"rendered":"<p>\n\t\u6700\u8fd1\u5728\u5b66\u4e60 Drools \u89c4\u5219\u5f15\u64ce\u6846\u67b6\uff0c\u5176\u4e2d\u6d89\u53ca\u5230 <a href=\"https:\/\/baike.baidu.com\/item\/rete\" name=\"rete\" target=\"_blank\" title=\"rete\">Rete \u7b97\u6cd5<\/a>\u3002\u5e76\u5bf9 Rete \u7b97\u6cd5\u505a\u4e86\u4e00\u4e9b\u7814\u7a76\uff0c\u8981\u4e0d\u7136\u5728\u4f60\u627e\u65b0\u5de5\u4f5c\u9762\u8bd5\u65f6\uff0c\u95ee\u4f60\u4f1a Drools \u89c4\u5219\u5f15\u64ce\u6846\u67b6\u5417\uff1f\u4f60\u8bf4\u4f1a\uff01\u7136\u540e\u9762\u8bd5\u5b98\u63a5\u7740\u95ee\u4f60\uff0c\u4f60\u4e86\u89e3 Rete \u7b97\u6cd5\u5417\uff1f\u4f60\u8bf4\u542c\u8bf4\u8fc7\u3002\u7136\u540e\u9762\u8bd5\u5b98\u518d\u95ee\u4f60\uff0c\u4f60\u77e5\u9053 Rete \u7b97\u6cd5\u7684\u539f\u7406\u5417\uff1f\u4f60\u80fd\u5b9e\u73b0 Rete \u7b97\u6cd5\u5417\uff1f\n<\/p>\n<p>\n\t\u8ffd\u95ee\u4e86\u8fd9\u4e48\u591a\uff0c\u4f60\u53ef\u80fd\u5c31\u56de\u7b54\u4e0d\u4e0a\u6765\u4e86\u3002\u9762\u8bd5\u5b98\u6700\u559c\u6b22\u505a\u7684\u5c31\u662f\u8ffd\u7740\u4e00\u76f4\u95ee\uff0c\u76f4\u5230\u4f60\u56de\u7b54\u4e0d\u51fa\u6765\u4e3a\u6b62\u3002\u4ece\u8ffd\u95ee\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4e86\u89e3\u4f60\u7684\u6280\u672f\u80fd\u529b\u4ee5\u53ca\u5b66\u4e60\u80fd\u529b\u3002\u963f\u91cc\u7684\u9762\u8bd5\u5b98\u5c31\u662f\u8fd9\u79cd\u7c7b\u578b\u7684\uff0c\u8ffd\u95ee\u5230\u5e95\u3002\n<\/p>\n<p>\n\t\u4e3a\u4e86\u627e\u4e00\u4efd\u597d\u5de5\u4f5c\uff0c\u6216\u8005\u6bd4\u4f60\u7684\u540c\u4e8b\u62ff\u66f4\u9ad8\u7684\u85aa\u6c34\uff0c\u5c31\u8981\u4e0d\u4ec5\u4f1a\u7528\uff0c\u8fd8\u6709\u4f1a\u5b83\u7684\u539f\u7406\u4ee5\u53ca\u5b9e\u73b0\u3002\u6b63\u662f\u57fa\u4e8e\u6b64\uff0c\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd Rete \u7b97\u6cd5\u3002\n<\/p>\n<h2>\n\tRETE \u7b97\u6cd5\u7b80\u4ecb<br \/>\n<\/h2>\n<p>\n\tRete\u7b97\u6cd5\u662f\u4e00\u79cd\u524d\u5411\u89c4\u5219\u5feb\u901f\u5339\u914d\u7b97\u6cd5\uff0c\u5176\u5339\u914d\u901f\u5ea6\u4e0e\u89c4\u5219\u6570\u76ee\u65e0\u5173\u3002Rete\u662f\u62c9\u4e01\u6587\uff0c\u5bf9\u5e94\u82f1\u6587\u662fnet\uff0c\u4e5f\u5c31\u662f\u7f51\u7edc\u3002Rete\u7b97\u6cd5\u901a\u8fc7\u5f62\u6210\u4e00\u4e2arete\u7f51\u7edc\u8fdb\u884c\u6a21\u5f0f\u5339\u914d\uff0c\u5229\u7528\u57fa\u4e8e\u89c4\u5219\u7684\u7cfb\u7edf\u7684\u4e24\u4e2a\u7279\u5f81\uff0c\u5373\u65f6\u95f4\u5197\u4f59\u6027\uff08Temporal redundancy\uff09\u548c\u7ed3\u6784\u76f8\u4f3c\u6027\uff08structural similarity\uff09\uff0c\u63d0\u9ad8\u7cfb\u7edf\u6a21\u5f0f\u5339\u914d\u6548\u7387\u3002\n<\/p>\n<p>\n\t\u5355\u8bcd&lsquo;Rete&rsquo;\u6765\u81ea\u62c9\u4e01\u6587\u7684\u7f51\u4e00\u8bcd\uff0c\u53d1\u97f3\u4e3a ri tiorree-tee\u3002\n<\/p>\n<p>\n\tRETE\u7b97\u6cd5\u662f\u4e00\u4e2a\u7528\u4e8e\u4ea7\u751f\u5f0f\u7cfb\u7edf\u7684\u9ad8\u6548\u6a21\u5f0f\u5339\u914d\u7b97\u6cd5\u3002\u5728\u4e00\u4e2a\u4ea7\u751f\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u88ab\u5904\u7406\u7684\u6570\u636e\u53eb\u505aworking memory\uff0c\u7528\u4e8e\u5224\u5b9a\u7684\u89c4\u5219\u5206\u4e3a\u4e24\u4e2a\u90e8\u5206LHS\uff08left-hand-side\uff09\u548cRHS\uff08right hand side\uff09\uff0c\u5206\u522b\u8868\u793a\u524d\u63d0\u548c\u7ed3\u8bba\u3002\n<\/p>\n<h2>\n\tRETE \u7b97\u6cd5\u4e3b\u8981\u6d41\u7a0b<br \/>\n<\/h2>\n<p>\n\tRETE \u7b97\u6cd5\u4e3b\u8981\u6d41\u7a0b\u53ef\u4ee5\u5206\u4e3a\u4ee5\u4e0b\u6b65\u9aa4\uff1a\n<\/p>\n<ol>\n<li>\n\t\tMatch\uff1a\u627e\u51fa\u7b26\u5408LHS\u90e8\u5206\u7684working memory\u96c6\u5408\n\t<\/li>\n<li>\n\t\tConfilict resolution\uff1a\u9009\u51fa\u4e00\u4e2a\u6761\u4ef6\u88ab\u6ee1\u8db3\u7684\u89c4\u5219\n\t<\/li>\n<li>\n\t\tAct\uff1a\u6267\u884cRHS\u7684\u5185\u5bb9\n\t<\/li>\n<li>\n\t\t\u8fd4\u56de\u7b2c\u4e00\u6b65\n\t<\/li>\n<\/ol>\n<p>\n\tRETE\u7b97\u6cd5\u4e3b\u8981\u6539\u8fdbMatch\u7684\u5904\u7406\u8fc7\u7a0b\uff0c\u901a\u8fc7\u6784\u5efa\u4e00\u4e2a\u7f51\u7edc\u8fdb\u884c\u5339\u914d\u3002\n<\/p>\n<h2>\n\tRETE \u7b97\u6cd5\u8be6\u7ec6\u63cf\u8ff0<br \/>\n<\/h2>\n<p>\n\t<a href=\"https:\/\/en.wikipedia.org\/wiki\/Rete_algorithm\" name=\"Rete\" target=\"_blank\" title=\"Rete\">RETE<\/a>\u7f51\u7edc\u4e3b\u8981\u5206\u4e3a\u4e24\u4e2a\u90e8\u5206\uff0calpha\u7f51\u7edc\u548cbeta\u7f51\u7edc\u3002\u5982\u4e0b\u56fe\u6240\u793a\uff08\u56fe\u7247\u5f15\u7528\u5176\u4ed6\u7f51\u7ad9\uff09\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"RETE \u7b97\u6cd5\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/0\/05\/Rete.svg\/1220px-Rete.svg.png\" style=\"width: 1220px;height: 853px\" \/>\n<\/p>\n<ul>\n<li>\n\t\talpha\u7f51\u7edc\uff1a\u8fc7\u6ee4working memory\uff0c\u627e\u51fa\u7b26\u5408\u89c4\u5219\u4e2d\u6bcf\u4e00\u4e2a\u6a21\u5f0f\u7684\u96c6\u5408\uff0c\u751f\u6210alpha memory\uff08\u6ee1\u8db3\u8be5\u6a21\u5f0f\u7684\u96c6\u5408\uff09\u3002\u6709\u4e24\u79cd\u7c7b\u578b\u7684\u8282\u70b9\uff0c\u8fc7\u6ee4type\u7684\u8282\u70b9\u548c\u5176\u4ed6\u6761\u4ef6\u8fc7\u6ee4\u7684\u8282\u70b9\u3002\n\t<\/li>\n<li>\n\t\tBeta\u7f51\u7edc\uff1a\u6709\u4e24\u79cd\u7c7b\u578b\u7684\u8282\u70b9Beta Memory\u548cJoin Node\u3002\u524d\u8005\u4e3b\u8981\u5b58\u50a8Join\u5b8c\u6210\u540e\u7684\u96c6\u5408\u3002\u540e\u8005\u5305\u542b\u4e24\u4e2a\u8f93\u5165\u53e3\uff0c\u5206\u522b\u8f93\u5165\u9700\u8981\u5339\u914d\u7684\u4e24\u4e2a\u96c6\u5408\uff0c\u7531Join\u8282\u70b9\u505a\u5408\u5e76\u5de5\u4f5c\u4f20\u8f93\u7ed9\u4e0b\u4e00\u4e2a\u8282\u70b9\u3002\n\t<\/li>\n<\/ul>\n<h2>\n\t\u5339\u914d\u8fc7\u7a0b\u63cf\u8ff0<br \/>\n<\/h2>\n<ul>\n<li>\n\t\t\u5bfc\u5165\u9700\u8981\u5904\u7406\u7684\u4e8b\u5b9e\u5230facts\u96c6\u5408\u4e2d\u3002\n\t<\/li>\n<li>\n\t\t\u5982\u679cfacts\u4e0d\u4e3a\u7a7a\uff0c\u9009\u62e9\u4e00\u4e2afact\u8fdb\u884c\u5904\u7406\u3002\u5426\u5219\u505c\u6b62\u5339\u914d\u8fc7\u7a0b\u3002\n\t<\/li>\n<li>\n\t\t\u9009\u62e9alpha\u7f51\u7684\u7b2c\u4e00\u4e2a\u8282\u70b9\u8fd0\u884c\uff08\u5efa\u7acb\u7f51\u7edc\u7684\u65f6\u5019\u8bbe\u5b9a\u7684\uff09\uff0c\u901a\u8fc7\u8be5\u8282\u70b9\u5219\u8fdb\u5165alpha\u7f51\u7684\u4e0b\u4e00\u4e2a\u8282\u70b9\uff0c\u76f4\u5230\u8fdb\u5165alpha memory\u3002\u5426\u5219\u8df3\u8f6c\u5230\u4e0b\u4e00\u6761\u5224\u65ad\u8def\u5f84\n\t<\/li>\n<li>\n\t\t\u5c06alpha memory\u7684\u7ed3\u679c\u52a0\u5165\u5230beta memory\u4e2d\uff0c\u5982\u679c\u4e0d\u4e3aTerminal\u8282\u70b9\uff0c\u5219\u68c0\u6d4b\u53e6\u4e00\u4e2a\u8f93\u5165\u96c6\u5408\u4e2d\u662f\u5426\u5b58\u5728\u6ee1\u8db3\u6761\u4ef6\u7684\u4e8b\u5b9e\uff0c\u6ee1\u8db3\u5219\u6267\u884cjoin\uff0c\u8fdb\u5165\u5230\u4e0b\u4e00\u4e2abeta memory\u91cd\u590d\u6267\u884c3\u3002\u82e5\u53e6\u4e00\u4e2a\u8f93\u5165\u96c6\u5408\u65e0\u6ee1\u8db3\u6761\u4ef6\u7684\u4e8b\u5b9e\uff0c\u8fd4\u56de\u52302\u3002\u5982\u679c\u8be5\u8282\u70b9\u4e3aTerminal\u8282\u70b9\uff0c\u6267\u884cACT\u5e76\u6dfb\u52a0\u5230facts\u4e2d\u3002\n\t<\/li>\n<\/ul>\n<p>\n\t\u4e0b\u9762\u518d\u770b\u4e00\u4e2a\u5339\u914d\u4f8b\u5b50\u3002\n<\/p>\n<p>\n\t\u89c4\u5219\u5185\u5bb9\u5982\u4e0b\uff1a<br \/>\n\tIF\uff1a<br \/>\n\t\u5e74\u7ea7\u662f\u4e09\u5e74\u7ea7\u4ee5\u4e0a\uff0c<br \/>\n\t\u6027\u522b\u662f\u7537\u7684\uff0c<br \/>\n\t\u5e74\u9f84\u5c0f\u4e8e10\u5c81\uff0c<br \/>\n\t\u8eab\u4f53\u5065\u58ee\uff0c<br \/>\n\t\u8eab\u9ad8170cm\u4ee5\u4e0a\uff0c<br \/>\n\tTHEN\uff1a \u8fd9\u4e2a\u7537\u5b69\u662f\u4e00\u4e2a\u7bee\u7403\u82d7\u5b50\uff0c\u9700\u8981\u57f9\u517b\n<\/p>\n<h2>\n\t\u89c4\u5219\u7f16\u8bd1\u7f51\u7edc\u548c\u5339\u914d\u8fc7\u7a0b<br \/>\n<\/h2>\n<p>\n\t<img decoding=\"async\" alt=\"Rete \u7b97\u6cd5\u5339\u914d\u8fc7\u7a0b\" src=\"https:\/\/img-bbs.csdn.net\/upload\/201804\/07\/1523101039_693344.png\" style=\"width: 1082px;height: 930px\" \/>\n<\/p>\n<p>\n\t\u5339\u914d\u8fc7\u7a0b\uff1a\n<\/p>\n<ol>\n<li>\n<p>\n\t\t\t\u5339\u914d\u8fc7\u7a0b\u4e2d\u4e8b\u5b9e\u5728\u7f51\u7edc\u8282\u70b9\u4e2d\u7684\u6d41\u8f6c\u987a\u5e8f\u4e3aA&#8211;&gt;B&#8211;&gt;C&#8211;&gt;D&#8211;&gt;E&#8211;&gt;F&#8211;&gt;G&#8211;&gt;H&#8211;&gt;I&#8212;&gt;\u89c4\u5219\u5339\u914d\u901a\u8fc7\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\t\u4eceworking-Memory\u4e2d\u62ff\u51fa\u4e00\u4e2a\u5f85\u5339\u914d\u7684StudentFact\u5bf9\u8c61\uff0c\u8fdb\u5165\u6839\u8282\u70b9\u7136\u540e\u8fdb\u884c\u5339\u914d\uff0c\u4ee5\u4e0b\u662ffact\u5728\u5404\u4e2a\u8282\u70b9\u4e2d\u7684\u6d3b\u52a8\u56fe\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tA\u8282\u70b9\uff1a\u62ffStudentFact\u7684\u5e74\u7ea7\u6570\u503c\u8fdb\u884c\u5e74\u7ea7\u5339\u914d\uff0c\u5982\u679c\u5e74\u7ea7\u7b26\u5408\u6761\u4ef6\uff0c\u5219\u628a\u8be5StudentFact\u7684\u5f15\u7528\u8bb0\u5f55\u5230A\u8282\u70b9\u7684alpha\u5185\u5b58\u533a\u4e2d\uff0c\u9000\u51fa\u5e74\u7ea7\u5339\u914d\u3002\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tB\u8282\u70b9\uff1a\u62ffStudentFact\u7684\u6027\u522b\u5185\u5bb9\u8fdb\u884c\u6027\u522b\u5339\u914d\uff0c\u5982\u679c\u6027\u522b\u7b26\u5408\u6761\u4ef6\uff0c\u5219\u628a\u8be5StudentFact\u7684\u5f15\u7528\u8bb0\u5f55\u5230B\u8282\u70b9\u7684alpha\u5185\u5b58\u533a\u4e2d\uff0c\u7136\u540e\u627e\u5230B\u8282\u70b9\u5de6\u5f15\u7528\u7684Beta\u8282\u70b9\uff0c\u4e5f\u5c31\u662fC\u8282\u70b9\u3002\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tC\u8282\u70b9\uff1aC\u8282\u70b9\u627e\u5230\u81ea\u5df1\u7684\u5de6\u5f15\u7528\u4e5f\u5c31\u662fA\u8282\u70b9\uff0c\u770b\u770bA\u8282\u70b9\u7684alpha\u5185\u5b58\u533a\u4e2d\u662f\u5426\u5b58\u653e\u4e86StudentFact\u7684\u5f15\u7528\uff0c\u5982\u679c\u5b58\u653e\uff0c\u8bf4\u660e\u5e74\u7ea7\u548c\u6027\u522b\u4e24\u4e2a\u6761\u4ef6\u90fd\u7b26\u5408\uff0c\u5219\u5728C\u8282\u70b9\u7684Beta\u5185\u5b58\u533a\u4e2d\u5b58\u653eStudentFact\u7684\u5f15\u7528\uff0c\u9000\u51fa\u6027\u522b\u5339\u914d\u3002\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tD\u8282\u70b9\uff1a\u62ffStudentFact\u7684\u5e74\u9f84\u6570\u503c\u8fdb\u884c\u5e74\u9f84\u6761\u4ef6\u5339\u914d\uff0c\u5982\u679c\u5e74\u9f84\u7b26\u5408\u6761\u4ef6\uff0c\u5219\u628a\u8be5StudentFact\u7684\u5f15\u7528\u8bb0\u5f55\u5230D\u8282\u70b9\u7684alpha\u7684\u5185\u5b58\u533a\u4e2d\uff0c\u7136\u540e\u627e\u5230D\u8282\u70b9\u7684\u5de6\u5f15\u7528\u7684Beta\u8282\u70b9\uff0c\u4e5f\u5c31\u662fE\u8282\u70b9\u3002\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tE\u8282\u70b9\uff1aE\u8282\u70b9\u627e\u5230\u81ea\u5df1\u7684\u5de6\u5f15\u7528\u4e5f\u5c31\u662fC\u8282\u70b9\uff0c\u770b\u770bC\u8282\u70b9\u7684Beta\u5185\u5b58\u533a\u4e2d\u662f\u5426\u5b58\u653e\u4e86StudentFact\u7684\u5f15\u7528\uff0c\u5982\u679c\u5b58\u653e\uff0c\u8bf4\u660e\u5e74\u7ea7\uff0c\u6027\u522b\uff0c\u5e74\u9f84\u4e09\u4e2a\u6761\u4ef6\u7b26\u5408\uff0c\u5219\u5728E\u8282\u70b9\u7684Beta\u5185\u5b58\u533a\u4e2d\u5b58\u653eStudentFact\u7684\u5f15\u7528\uff0c\u9000\u51fa\u5e74\u9f84\u5339\u914d\u3002\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tF\u8282\u70b9\uff1a\u62ffStudentFact\u7684\u8eab\u4f53\u6570\u503c\u8fdb\u884c\u8eab\u4f53\u6761\u4ef6\u5339\u914d\uff0c\u5982\u679c\u8eab\u4f53\u6761\u4ef6\u7b26\u5408\uff0c\u5219\u628a\u8be5StudentFact\u7684\u5f15\u7528\u8bb0\u5f55\u5230D\u8282\u70b9\u7684alpha\u7684\u5185\u5b58\u533a\u4e2d\uff0c\u7136\u540e\u627e\u5230F\u8282\u70b9\u7684\u5de6\u5f15\u7528\u7684Beta\u8282\u70b9\uff0c\u4e5f\u5c31\u662fG\u8282\u70b9\u3002\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tG\u8282\u70b9\uff1aG\u8282\u70b9\u627e\u5230\u81ea\u5df1\u7684\u5de6\u5f15\u7528\u4e5f\u5c31\u662fE\u8282\u70b9\uff0c\u770b\u770bE\u8282\u70b9\u7684Beta\u5185\u5b58\u533a\u4e2d\u662f\u5426\u5b58\u653e\u4e86StudentFact\u7684\u5f15\u7528\uff0c\u5982\u679c\u5b58\u653e\uff0c\u8bf4\u660e\u5e74\u7ea7\uff0c\u6027\u522b\uff0c\u5e74\u9f84\uff0c\u8eab\u4f53\u56db\u4e2a\u6761\u4ef6\u7b26\u5408\uff0c\u5219\u5728G\u8282\u70b9\u7684Beta\u5185\u5b58\u533a\u4e2d\u5b58\u653eStudentFact\u7684\u5f15\u7528\uff0c\u9000\u51fa\u8eab\u4f53\u5339\u914d\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tH\u8282\u70b9\uff1a\u62ffStudentFact\u7684\u8eab\u9ad8\u6570\u503c\u8fdb\u884c\u8eab\u9ad8\u6761\u4ef6\u5339\u914d\uff0c\u5982\u679c\u8eab\u9ad8\u6761\u4ef6\u7b26\u5408\uff0c\u5219\u628a\u8be5StudentFact\u7684\u5f15\u7528\u8bb0\u5f55\u5230H\u8282\u70b9\u7684alpha\u7684\u5185\u5b58\u533a\u4e2d\uff0c\u7136\u540e\u627e\u5230H\u8282\u70b9\u7684\u5de6\u5f15\u7528\u7684Beta\u8282\u70b9\uff0c\u4e5f\u5c31\u662fI\u8282\u70b9\u3002\n\t\t<\/p>\n<\/li>\n<li>\n<p>\n\t\t\tI\u8282\u70b9\uff1aI\u8282\u70b9\u627e\u5230\u81ea\u5df1\u7684\u5de6\u5f15\u7528\u4e5f\u5c31\u662fG\u8282\u70b9\uff0c\u770b\u770bG\u8282\u70b9\u7684Beta\u5185\u5b58\u533a\u4e2d\u662f\u5426\u5b58\u653e\u4e86StudentFact\u7684\u5f15\u7528\uff0c\u5982\u679c\u5b58\u653e\u4e86\uff0c\u8bf4\u660e\u5e74\u7ea7\uff0c\u6027\u522b\uff0c\u5e74\u9f84\uff0c\u8eab\u4f53\uff0c\u8eab\u9ad8\u4e94\u4e2a\u6761\u4ef6\u90fd\u7b26\u5408\uff0c\u5219\u5728I\u8282\u70b9\u7684Beta\u5185\u5b58\u533a\u4e2d\u5b58\u653eStudentFact\u5f15\u7528\u3002\u540c\u65f6\u8bf4\u660e\u8be5StudentFact\u5bf9\u8c61\u5339\u914d\u4e86\u8be5\u89c4\u5219\uff0c\u5f62\u6210\u4e00\u4e2a\u8bae\u7a0b\uff0c\u52a0\u5165\u5230\u51b2\u7a81\u533a\uff0c\u6267\u884c\u8be5\u6761\u4ef6\u7684\u7ed3\u679c\u90e8\u5206\uff1a\u8be5\u5b66\u751f\u662f\u4e00\u4e2a\u7bee\u7403\u82d7\u5b50\u3002\n\t\t<\/p>\n<\/li>\n<\/ol>\n<p>\n\t<strong>&nbsp;\u76f8\u5173\u6982\u5ff5<\/strong><br \/>\n\t<strong>1&nbsp;&nbsp;\u4e8b\u5b9e\uff08fact\uff09\uff1a<\/strong><br \/>\n\t\u4e8b\u5b9e\uff1a\u5bf9\u8c61\u4e4b\u95f4\u53ca\u5bf9\u8c61\u5c5e\u6027\u4e4b\u95f4\u7684\u591a\u5143\u5173\u7cfb\u3002\u4e3a\u7b80\u5355\u8d77\u89c1\uff0c\u4e8b\u5b9e\u7528\u4e00\u4e2a\u4e09\u5143\u7ec4\u6765\u8868\u793a\uff1a\uff08identifier&nbsp;^attribute&nbsp;&nbsp;value\uff09\uff0c\u4f8b\u5982\u5982\u4e0b\u4e8b\u5b9e\uff1a<br \/>\n\tw1:(B1&nbsp;&nbsp;^ on B2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;w6:(B2&nbsp;&nbsp;^color blue)<br \/>\n\tw2:(B1&nbsp;&nbsp;^ on B3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;w7:(B3&nbsp;&nbsp;^left-of B4)<br \/>\n\tw3:(B1&nbsp;&nbsp;^ color red)&nbsp;&nbsp;&nbsp;w8:(B3&nbsp;&nbsp;^on table)<br \/>\n\tw4:(B2&nbsp;&nbsp;^on table)&nbsp;&nbsp;&nbsp;&nbsp;w9:(B3&nbsp;&nbsp;^color red)<br \/>\n\tw5:(B2&nbsp;&nbsp;^left-of B3)<br \/>\n\t<strong>2&nbsp;&nbsp;\u89c4\u5219\uff08rule\uff09:<\/strong><br \/>\n\t\u7531\u6761\u4ef6\u548c\u7ed3\u8bba\u6784\u6210\u7684\u63a8\u7406\u8bed\u53e5\uff0c\u5f53\u5b58\u5728\u4e8b\u5b9e\u6ee1\u8db3\u6761\u4ef6\u65f6\uff0c\u76f8\u5e94\u7ed3\u8bba\u88ab\u6fc0\u6d3b\u3002\u4e00\u6761\u89c4\u5219\u7684\u4e00\u822c\u5f62\u5f0f\u5982\u4e0b\uff1a<br \/>\n\t(name-of-this-production<br \/>\n\tLHS \/*one or more conditions*\/<br \/>\n\t&#8211;&gt;<br \/>\n\tRHS \/*one or more actions*\/<br \/>\n\t)<br \/>\n\t\u5176\u4e2dLHS\u4e3a\u6761\u4ef6\u90e8\u5206\uff0cRHS\u4e3a\u7ed3\u8bba\u90e8\u5206\u3002<br \/>\n\t\u4e0b\u9762\u4e3a\u4e00\u6761\u89c4\u5219\u7684\u4f8b\u5b50\uff1a<br \/>\n\t(find-stack-of-two-blocks-to-the-left-of-a-red-block<br \/>\n\t(^on)<br \/>\n\t(^left-of)<br \/>\n\t(^color red)<br \/>\n\t&#8211;&gt;<br \/>\n\t&#8230;RHS&#8230;<br \/>\n\t)<br \/>\n\t<strong>3&nbsp;&nbsp;\u6a21\u5f0f\uff08patten\uff09\uff1a<\/strong><br \/>\n\t\u6a21\u5f0f\uff1a\u89c4\u5219\u7684IF\u90e8\u5206\uff0c\u5df2\u77e5\u4e8b\u5b9e\u7684\u6cdb\u5316\u5f62\u5f0f\uff0c\u672a\u5b9e\u4f8b\u5316\u7684\u591a\u5143\u5173\u7cfb\u3002<br \/>\n\t(^on)<br \/>\n\t(^left-of)<br \/>\n\t(^color red)<br \/>\n\t<strong>&nbsp;\u6a21\u5f0f\u5339\u914d\u7684\u4e00\u822c\u7b97\u6cd5<\/strong><br \/>\n\t\u89c4\u5219\u4e3b\u8981\u7531\u4e24\u90e8\u5206\u7ec4\u6210\uff1a\u6761\u4ef6\u548c\u7ed3\u8bba\uff0c\u6761\u4ef6\u90e8\u5206\u4e5f\u79f0\u4e3a\u5de6\u7aef\uff08\u8bb0\u4e3aLHS, left-hand side\uff09\uff0c\u7ed3\u8bba\u90e8\u5206\u4e5f\u79f0\u4e3a\u53f3\u7aef\uff08\u8bb0\u4e3aRHS, right-hand side\uff09\u3002\u4e3a\u5206\u6790\u65b9\u4fbf\uff0c\u5047\u8bbe\u7cfb\u7edf\u4e2d\u6709N\u6761\u89c4\u5219\uff0c\u6bcf\u4e2a\u89c4\u5219\u7684\u6761\u4ef6\u90e8\u5206\u5e73\u5747\u6709P\u4e2a\u6a21\u5f0f\uff0c\u5de5\u4f5c\u5185\u5b58\u4e2d\u6709M\u4e2a\u4e8b\u5b9e\uff0c\u4e8b\u5b9e\u53ef\u4ee5\u7406\u89e3\u4e3a\u9700\u8981\u5904\u7406\u7684\u6570\u636e\u5bf9\u8c61\u3002<br \/>\n\t\u89c4\u5219\u5339\u914d\uff0c\u5c31\u662f\u5bf9\u6bcf\u4e00\u4e2a\u89c4\u5219r, \u5224\u65ad\u5f53\u524d\u7684\u4e8b\u5b9eo\u662f\u5426\u4f7fLHS(r)=True\uff0c\u5982\u679c\u662f\uff0c\u5c31\u628a\u89c4\u5219r\u7684\u5b9e\u4f8br(o)\u52a0\u5230\u51b2\u7a81\u96c6\u5f53\u4e2d\u3002\u6240\u8c13\u89c4\u5219r\u7684\u5b9e\u4f8b\u5c31\u662f\u7528\u6570\u636e\u5bf9\u8c61o\u7684\u503c\u4ee3\u66ff\u89c4\u5219r\u7684\u76f8\u5e94\u53c2\u6570\uff0c\u5373\u7ed1\u5b9a\u4e86\u6570\u636e\u5bf9\u8c61o\u7684\u89c4\u5219r\u3002<br \/>\n\t\u89c4\u5219\u5339\u914d\u7684\u4e00\u822c\u7b97\u6cd5\uff1a<br \/>\n\t1) \u4eceN\u6761\u89c4\u5219\u4e2d\u53d6\u51fa\u4e00\u6761r\uff1b<br \/>\n\t2) \u4eceM\u4e2a\u4e8b\u5b9e\u4e2d\u53d6\u51faP\u4e2a\u4e8b\u5b9e\u7684\u4e00\u4e2a\u7ec4\u5408c\uff1b<br \/>\n\t3) \u7528c\u6d4b\u8bd5LHS(r)\uff0c\u5982\u679cLHS(r\uff08c\uff09)=True\uff0c\u5c06RHS(r\uff08c\uff09)\u52a0\u5165\u51b2\u7a81\u96c6\u4e2d\uff1b<br \/>\n\t4) \u53d6\u51fa\u4e0b\u4e00\u4e2a\u7ec4\u5408c\uff0cgoto 3\uff1b<br \/>\n\t5) \u53d6\u51fa\u4e0b\u4e00\u6761\u89c4\u5219r\uff0cgoto 2\uff1b<br \/>\n\t<strong>RETE\u7b97\u6cd5<\/strong><br \/>\n\tRete\u7b97\u6cd5\u7684\u7f16\u8bd1\u7ed3\u679c\u662f\u89c4\u5219\u96c6\u5bf9\u5e94\u7684Rete\u7f51\u7edc,\u5982\u4e0b\u56fe\u3002Rete\u7f51\u7edc\u662f\u4e00\u4e2a\u4e8b\u5b9e\u53ef\u4ee5\u5728\u5176\u4e2d\u6d41\u52a8\u7684\u56fe\u3002Rete\u7f51\u7edc\u7684\u8282\u70b9\u53ef\u4ee5\u5206\u4e3a\u56db\u7c7b\uff1a\u6839\u8282\u70b9\uff08root\uff09\u3001\u7c7b\u578b\u8282\u70b9\uff08typenode\uff09\u3001alpha\u8282\u70b9\u3001beta\u8282\u70b9\u3002\u5176\u4e2d\uff0c\u6839\u7ed3\u70b9\u662f\u4e00\u4e2a\u865a\u62df\u8282\u70b9\uff0c\u662f\u6784\u5efarete\u7f51\u7edc\u7684\u5165\u53e3\u3002\u7c7b\u578b\u8282\u70b9\u4e2d\u5b58\u50a8\u4e8b\u5b9e\u7684\u5404\u79cd\u7c7b\u578b\uff0c\u5404\u4e2a\u4e8b\u5b9e\u4ece\u5bf9\u5e94\u7684\u7c7b\u578b\u8282\u70b9\u8fdb\u5165rete\u7f51\u7edc\u3002\n<\/p>\n<p>\n\t<strong>1&nbsp;&nbsp;\u5efa\u7acbrete\u7f51\u7edc<\/strong><br \/>\n\tRete\u7f51\u7edc\u7684\u7f16\u8bd1\u7b97\u6cd5\u5982\u4e0b\uff1a<br \/>\n\t1)&nbsp;\u521b\u5efa\u6839\uff1b<br \/>\n\t2)&nbsp;\u52a0\u5165\u89c4\u52191(Alpha\u8282\u70b9\u4ece1\u5f00\u59cb\uff0cBeta\u8282\u70b9\u4ece2\u5f00\u59cb)\uff1b<br \/>\n\ta. \u53d6\u51fa\u6a21\u5f0f1\uff0c\u68c0\u67e5\u6a21\u5f0f\u4e2d\u7684\u53c2\u6570\u7c7b\u578b\uff0c\u5982\u679c\u662f\u65b0\u7c7b\u578b\uff0c\u5219\u52a0\u5165\u4e00\u4e2a\u7c7b\u578b\u8282\u70b9\uff1b<br \/>\n\tb. \u68c0\u67e5\u6a21\u5f0f1\u5bf9\u5e94\u7684Alpha\u8282\u70b9\u662f\u5426\u5df2\u5b58\u5728\uff0c\u5982\u679c\u5b58\u5728\u5219\u8bb0\u5f55\u4e0b\u8282\u70b9\u4f4d\u7f6e\uff0c\u5982\u679c\u6ca1\u6709\u5219\u5c06\u6a21\u5f0f1\u4f5c\u4e3a\u4e00\u4e2aAlpha\u8282\u70b9\u52a0\u5165\u5230\u7f51\u7edc\u4e2d\uff0c\u540c\u65f6\u6839\u636eAlpha\u8282\u70b9\u7684\u6a21\u5f0f\u5efa\u7acbAlpha\u5185\u5b58\u8868\uff1b<br \/>\n\tc. \u91cd\u590db\u76f4\u5230\u6240\u6709\u7684\u6a21\u5f0f\u5904\u7406\u5b8c\u6bd5\uff1b<br \/>\n\td. \u7ec4\u5408Beta\u8282\u70b9\uff0c\u6309\u7167\u5982\u4e0b\u65b9\u5f0f\uff1a<br \/>\n\t\u3000\u3000\u3000Beta(2)\u5de6\u8f93\u5165\u8282\u70b9\u4e3aAlpha(1)\uff0c\u53f3\u8f93\u5165\u8282\u70b9\u4e3aAlpha(2)<br \/>\n\t\u3000\u3000\u3000Beta(i)\u5de6\u8f93\u5165\u8282\u70b9\u4e3aBeta(i-1)\uff0c\u53f3\u8f93\u5165\u8282\u70b9\u4e3aAlpha(i)&nbsp;&nbsp;i&gt;2<br \/>\n\t&nbsp;&nbsp;\u5e76\u5c06\u4e24\u4e2a\u7236\u8282\u70b9\u7684\u5185\u5b58\u8868\u5185\u8054\u6210\u4e3a\u81ea\u5df1\u7684\u5185\u5b58\u8868\uff1b<br \/>\n\te. \u91cd\u590dd\u76f4\u5230\u6240\u6709\u7684Beta\u8282\u70b9\u5904\u7406\u5b8c\u6bd5\uff1b<br \/>\n\tf. \u5c06\u52a8\u4f5c\uff08Then\u90e8\u5206\uff09\u5c01\u88c5\u6210\u53f6\u8282\u70b9\uff08Action\u8282\u70b9\uff09\u4f5c\u4e3aBeta(n)\u7684\u8f93\u51fa\u8282\u70b9\uff1b<br \/>\n\t3)&nbsp;\u91cd\u590d2)\u76f4\u5230\u6240\u6709\u89c4\u5219\u5904\u7406\u5b8c\u6bd5\uff1b<br \/>\n\t\u53ef\u4ee5\u628arete\u7b97\u6cd5\u7c7b\u6bd4\u5230\u5173\u7cfb\u578b\u6570\u636e\u5e93\u64cd\u4f5c\u3002<br \/>\n\t\u628a\u4e8b\u5b9e\u96c6\u5408\u770b\u4f5c\u4e00\u4e2a\u5173\u7cfb\uff0c\u6bcf\u6761\u89c4\u5219\u770b\u4f5c\u4e00\u4e2a\u67e5\u8be2\uff0c\u5c06\u6bcf\u4e2a\u4e8b\u5b9e\u7ed1\u5b9a\u5230\u6bcf\u4e2a\u6a21\u5f0f\u4e0a\u7684\u64cd\u4f5c\u770b\u4f5c\u4e00\u4e2aSelect\u64cd\u4f5c\uff0c\u8bb0\u4e00\u6761\u89c4\u5219\u4e3aP\uff0c\u89c4\u5219\u4e2d\u7684\u6a21\u5f0f\u4e3ac1,c2,&hellip;,ci, Select\u64cd\u4f5c\u7684\u7ed3\u679c\u8bb0\u4e3ar(ci),\u5219\u89c4\u5219P\u7684\u5339\u914d\u5373\u4e3ar(c1)\u25c7r(c2)\u25c7&hellip;\u25c7(rci)\u3002\u5176\u4e2d\u25c7\u8868\u793a\u5173\u7cfb\u7684\u8fde\u63a5\uff08Join\uff09\u64cd\u4f5c\u3002\n<\/p>\n<p>\n\t<a href=\"http:\/\/photo.blog.sina.com.cn\/showpic.html#blogid=4a7a7aa30100089g&amp;url=http:\/\/s15.sinaimg.cn\/orignal\/4a7a7aa359fe688b9dd8e\" target=\"_blank\"><img decoding=\"async\" alt=\"\u89c4\u5219\u5f15\u64ce\u7814\u7a76\uff08\u4e00\uff09\u2014\u2014Rete\u7b97\u6cd5\uff081\uff09\" border=\"0\" src=\"http:\/\/s15.sinaimg.cn\/orignal\/4a7a7aa359fe688b9dd8e\" title=\"\u89c4\u5219\u5f15\u64ce\u7814\u7a76\uff08\u4e00\uff09\u2014\u2014Rete\u7b97\u6cd5\uff081\uff09\" \/><\/a>\n<\/p>\n<p>\n\t<strong>2&nbsp;\u4f7f\u7528rete\u7f51\u7edc\u8fdb\u884c\u5339\u914d<\/strong><br \/>\n\t\u4f7f\u7528\u4e00\u4e2arete\u7684\u8fc7\u7a0b\uff1a<br \/>\n\t1)&nbsp;\u5bf9\u4e8e\u6bcf\u4e2a\u4e8b\u5b9e\uff0c\u901a\u8fc7select \u64cd\u4f5c\u8fdb\u884c\u8fc7\u6ee4\uff0c\u4f7f\u4e8b\u5b9e\u6cbf\u7740rete\u7f51\u8fbe\u5230\u5408\u9002\u7684alpha\u8282\u70b9\u3002<br \/>\n\t2)&nbsp;\u5bf9\u4e8e\u6536\u5230\u7684\u6bcf\u4e00\u4e2a\u4e8b\u5b9e\u7684alpha\u8282\u70b9\uff0c\u7528Project(\u6295\u5f71\u64cd\u4f5c)\u5c06\u90a3\u4e9b\u9002\u5f53\u7684\u53d8\u91cf\u7ed1\u5b9a\u5206\u79bb\u51fa\u6765\u3002\u4f7f\u5404\u4e2a\u65b0\u7684\u53d8\u91cf\u7ed1\u5b9a\u96c6\u6cbfrete\u7f51\u5230\u8fbe\u9002\u5f53\u7684bete\u8282\u70b9\u3002<br \/>\n\t3)&nbsp;\u5bf9\u4e8e\u6536\u5230\u65b0\u7684\u53d8\u91cf\u7ed1\u5b9a\u7684beta\u8282\u70b9\uff0c\u4f7f\u7528Project\u64cd\u4f5c\u4ea7\u751f\u65b0\u7684\u7ed1\u5b9a\u96c6\uff0c\u4f7f\u8fd9\u4e9b\u65b0\u7684\u53d8\u91cf\u7ed1\u5b9a\u6cbfrete\u7f51\u7edc\u81f3\u4e0b\u4e00\u4e2abeta\u8282\u70b9\u4ee5\u81f3\u6700\u540e\u7684Project\u3002<br \/>\n\t4)&nbsp;\u5bf9\u4e8e\u6bcf\u6761\u89c4\u5219\uff0c\u7528project\u64cd\u4f5c\u5c06\u7ed3\u8bba\u5b9e\u4f8b\u5316\u6240\u9700\u7684\u7ed1\u5b9a\u5206\u79bb\u51fa\u6765\u3002\n<\/p>\n<p>\n\t\u4e0b\u9762\u4e3a\u7684\u56fe\u793a\u663e\u793a\u4e86\u8fde\u63a5\uff08Join\uff09\u64cd\u4f5c\u548c\u6295\u5f71\uff08Project\uff09\u7684\u6267\u884c\u8fc7\u7a0b\u3002\n<\/p>\n<p>\n\t<a href=\"http:\/\/photo.blog.sina.com.cn\/showpic.html#blogid=4a7a7aa30100089g&amp;url=http:\/\/s8.sinaimg.cn\/orignal\/4a7a7aa3c2006dcf21187\" target=\"_blank\"><img decoding=\"async\" alt=\"\u89c4\u5219\u5f15\u64ce\u7814\u7a76\uff08\u4e00\uff09\u2014\u2014Rete\u7b97\u6cd5\uff081\uff09\" border=\"0\" src=\"http:\/\/s8.sinaimg.cn\/orignal\/4a7a7aa3c2006dcf21187\" title=\"\u89c4\u5219\u5f15\u64ce\u7814\u7a76\uff08\u4e00\uff09\u2014\u2014Rete\u7b97\u6cd5\uff081\uff09\" \/><\/a>\n<\/p>\n<p>\n\t<strong>3&nbsp;&nbsp;Rete\u7b97\u6cd5\u7684\u7279\u70b9<\/strong><br \/>\n\tRete\u7b97\u6cd5\u6709\u4e24\u4e2a\u7279\u70b9\u4f7f\u5176\u4f18\u4e8e\u4f20\u7edf\u7684\u6a21\u5f0f\u5339\u914d\u7b97\u6cd5\u3002<br \/>\n\t1\u3001\u72b6\u6001\u4fdd\u5b58<br \/>\n\t\u4e8b\u5b9e\u96c6\u5408\u4e2d\u7684\u6bcf\u6b21\u53d8\u5316\uff0c\u5176\u5339\u914d\u540e\u7684\u72b6\u6001\u90fd\u88ab\u4fdd\u5b58\u518dalpha\u548cbeta\u8282\u70b9\u4e2d\u3002\u5728\u4e0b\u4e00\u6b21\u4e8b\u5b9e\u96c6\u5408\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u7edd\u5927\u591a\u6570\u7684\u7ed3\u679c\u90fd\u4e0d\u9700\u8981\u53d8\u5316\uff0crete\u7b97\u6cd5\u901a\u8fc7\u4fdd\u5b58\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\u7684\u72b6\u6001\uff0c\u907f\u514d\u4e86\u5927\u91cf\u7684\u91cd\u590d\u8ba1\u7b97\u3002Rete\u7b97\u6cd5\u4e3b\u8981\u662f\u4e3a\u90a3\u4e9b\u4e8b\u5b9e\u96c6\u5408\u53d8\u5316\u4e0d\u5927\u7684\u7cfb\u7edf\u8bbe\u8ba1\u7684\uff0c\u5f53\u6bcf\u6b21\u4e8b\u5b9e\u96c6\u5408\u7684\u53d8\u5316\u975e\u5e38\u5267\u70c8\u65f6\uff0crete\u7684\u72b6\u6001\u4fdd\u5b58\u7b97\u6cd5\u6548\u679c\u5e76\u4e0d\u7406\u60f3\u3002<br \/>\n\t2\u3001\u8282\u70b9\u5171\u4eab<br \/>\n\t\u53e6\u4e00\u4e2a\u7279\u70b9\u5c31\u662f\u4e0d\u540c\u89c4\u5219\u4e4b\u95f4\u542b\u6709\u76f8\u540c\u7684\u6a21\u5f0f\uff0c\u4ece\u800c\u53ef\u4ee5\u5171\u4eab\u540c\u4e00\u4e2a\u8282\u70b9\u3002Rete\u7f51\u7edc\u7684\u5404\u4e2a\u90e8\u5206\u5305\u542b\u5404\u79cd\u4e0d\u540c\u7684\u8282\u70b9\u5171\u4eab\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=2632\">Rete \u7b97\u6cd5\u539f\u7406\u53ca\u5b9e\u73b0<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u5728\u5b66\u4e60 Drools \u89c4\u5219\u5f15\u64ce\u6846\u67b6\uff0c\u5176\u4e2d\u6d89\u53ca\u5230 Rete \u7b97\u6cd5\u3002\u5e76\u5bf9 Rete \u7b97\u6cd5\u505a\u4e86\u4e00\u4e9b\u7814\u7a76\uff0c\u8981\u4e0d\u7136\u5728 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1608,871,1610,685,172],"class_list":["post-2632","post","type-post","status-publish","format-standard","hentry","category-java","tag-drools","tag-idea","tag-rete","tag-685","tag-172"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2632"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2632\/revisions"}],"predecessor-version":[{"id":2633,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2632\/revisions\/2633"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}