JPH03211625A - Rule set shift method for expert system - Google Patents

Rule set shift method for expert system

Info

Publication number
JPH03211625A
JPH03211625A JP2007972A JP797290A JPH03211625A JP H03211625 A JPH03211625 A JP H03211625A JP 2007972 A JP2007972 A JP 2007972A JP 797290 A JP797290 A JP 797290A JP H03211625 A JPH03211625 A JP H03211625A
Authority
JP
Japan
Prior art keywords
ruleset
rule
inference
rule set
rulesets
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007972A
Other languages
Japanese (ja)
Inventor
Tsugio Hasegawa
長谷川 次夫
Tooru Takenuki
竹貫 徹
Kenji Watanabe
健二 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Tokyo Electric Power Co Holdings Inc
Original Assignee
Meidensha Corp
Tokyo Electric Power Co Inc
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Tokyo Electric Power Co Inc, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2007972A priority Critical patent/JPH03211625A/en
Publication of JPH03211625A publication Critical patent/JPH03211625A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は、エキスパートシステムに係り、特にプログク
シ1ンルール表現におけるルールセットの移行方法に関
する。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to an expert system, and particularly to a method for migrating a rule set in a proxy rule expression.

B0発明の概要 本発明は、グループ化したルールセット間の移行で推論
を行うエキスパートシステムにおいて、ルールセットの
移行順序情報を第1のルールセットで作成し、該情報を
引数と1.て他のルールセットに順次移行を行わせるこ
とにより、 ルールセットの移行を確実、容易にするものである。
B0 Summary of the Invention The present invention provides an expert system that performs inference by transitioning between grouped rule sets, in which rule set transition order information is created in a first rule set, and the information is passed to arguments and 1. This ensures that rulesets can be migrated reliably and easily by allowing other rulesets to be migrated sequentially.

C従来の技術 エキスバートンステムは第2図に示tように構成される
。谷分野の専門家の知識をナレーlノエンノニア(Kl
”:)が整理して知識ベース1に格納しておき、ユーザ
からの質問に対して推論システム2が知識ベース1の知
識を使用した推論によって回答を得る。
C. Prior Art The Exverton stem is constructed as shown in FIG. The knowledge of experts in the field is shared by experts.
”:) organizes the information and stores it in the knowledge base 1, and the inference system 2 obtains answers to questions from the user by inference using the knowledge in the knowledge base 1.

推論システム2は、L T SP、PROLOG等の記
述言語3を持ち、知識ベース1の知識格納には知識ベー
スエディタ4及びデバ・lガ5のマン・マシン・インタ
フェースを使用し、また推論にはワーキングメモリ6に
作業過程に必要な知識ベースの領域、ルール、事実等の
データを確保しながら推論エンジン7による演えき的な
推論を行う。
The inference system 2 has a description language 3 such as L TSP and PROLOG, uses a knowledge base editor 4 and a man-machine interface of a developer 5 to store knowledge in the knowledge base 1, and uses a man-machine interface for inference. While securing data such as knowledge base areas, rules, facts, etc. necessary for the work process in the working memory 6, the inference engine 7 performs explanatory reasoning.

また、ユーザとのマン・マシン・インタフェースに説明
機能8を持って質問のき図受付けや推論手順表示を行う
In addition, an explanation function 8 is provided on the man-machine interface with the user to accept questions and diagrams and display inference procedures.

ここで、知識ベース1の知識表現には、IF<条件部>
THF”:N<結論部〉形式のプロダクションルール表
現と、抽象的概念及び実体を夫々フレームとして階層型
ネットワークで表現するフレーム表現とが知られ、これ
ら知識により推論を行うプロダクションシステムとフレ
ームシステム、さらには両者を融合したハイブリッドシ
ステムが知られている。
Here, the knowledge expression of knowledge base 1 includes IF<condition part>
Production rule expressions in the form of "THF":N<conclusion part> and frame expressions in which abstract concepts and entities are each expressed as frames in a hierarchical network are known, and production systems and frame systems that make inferences based on these knowledge, as well as A hybrid system that combines the two is known.

また、推論方法にはルールの条件部から結論部に至る前
向き推論と、ルールの結論部から条件部に至る後向き推
論が知られる。
Also, known inference methods include forward inference leading from the condition part of a rule to the conclusion part, and backward inference leading from the conclusion part of the rule to the condition part.

このような知識ルールや推論方法のほかに、競合解決手
法、ワーキングメモリ操作方法、メタルールの作成方法
、確信変導入等の各種手法によって推論の効率化、高速
化、高機能化が図られる。
In addition to such knowledge rules and reasoning methods, efficiency, speed, and functionality of reasoning can be improved by various methods such as conflict resolution methods, working memory manipulation methods, meta-rule creation methods, and belief change introduction.

ここで、プログクン9ンルール表現による知識ルールと
推論の従来方法を説明する。知識ベース1内のルール群
は関連するルールでグループ化したルールセットにし、
ルールセ・Iト単位で推論を行うことで推論効率を高め
る。第3図はルールセットによる推論方法をルールセッ
トの移行模式図で示す。ルールセットA−Dは夫々ルー
ルセ=t ト内のルールを制御するためのメタルールを
有し、該メタルールには次に使用するルールセット名を
記述しておく。このメタルールの記述により、例えばル
ールセットAの各ルールについて推論を行った後にルー
ルセットBに移行して該B内のルールについて推論を行
い、この推論終了で次のルールセットCに移行する。
Here, a conventional method of knowledge rules and inference using progukun9 rule expressions will be explained. The rules in Knowledge Base 1 are grouped by related rules into rule sets.
Inference efficiency is increased by performing inference on a rule set basis. FIG. 3 shows an inference method using a ruleset in a schematic diagram of ruleset migration. Each of the rule sets A to D has a meta rule for controlling the rules within the rule set, and the name of the rule set to be used next is written in the meta rule. With this meta-rule description, for example, after inference is made about each rule of rule set A, the process moves to rule set B, inference is made about the rules in B, and when this inference is completed, the process moves to the next rule set C.

D 発明が解決しようとする課題 従来のルールセ・・、ト移行方法において、第3図示の
ようにルールセットDのメタルールにルールセットBへ
の移行を記述するとき、ルールセットBに移行した後に
再びルールセット01次いでルールセットDに移行とい
う繰り返しになり、特定のルールセット間で永久ループ
に陥ることがあった。
D Problems to be Solved by the Invention In the conventional ruleset transition method, when transitioning to ruleset B is described in the meta-rule of ruleset D as shown in the third diagram, the transition to ruleset B is performed again after transitioning to ruleset B. The process repeats the transition from rule set 01 to rule set D, sometimes resulting in an endless loop between specific rule sets.

また、既存のルールセットに対して別のルールセットを
追加する場合、追加するルールセットの前に適用される
ルールセットのメタルールを修正することを必要とし、
同様にルールセットの削除や順序変更の場合もメタルー
ルの修正を必要とし、ルールセットの追加、削除、順序
変更に手間がかかろj7、間違いを起こし易くする。
Also, when adding another ruleset to an existing ruleset, it is necessary to modify the meta-rules of the ruleset that is applied before the added ruleset.
Similarly, when deleting or changing the order of a rule set, the meta-rules must be modified, and adding, deleting, or changing the order of rule sets is time-consuming and prone to mistakes.

本発明の目的は、ルールセ・ノドの移行を確実。The purpose of the invention is to ensure the migration of the Lurse throat.

容易に17た移行方法を提供することにある。The purpose of the present invention is to provide an easy migration method.

E 課題を解決するための手段と作用 本発明は、上記目的を達成するため、プロダクシqンル
ール表現のルール群をグループ化した複数のルールセッ
トとし、推論エンジンが前記複数のルールセット間を移
行して推論を行うエキスノく−トンステムにおいて、前
記ルールセットのうちルールセットの移行順序情報にな
るルールセットの並びを作成する第1のルールセットを
設け、この第1のルールセットによる推論で適用するル
ールが無くなるか又は一定の条件が満たされたときに前
記ルールセットの並びの先頭のルールセットに移行する
と共に該ルールセットの並びの2番目のルールセットを
次の移行先ルールセフt トとする引数を渡すようにし
、第1のルールセットを使った推論によりルールセット
の並びを作成し、このルールセットの並びの先頭のルー
ルセットに移行すると共に2番目のルールセットを次の
移行先ルールセットとする引数の渡しで各ルールセット
の移行を繰り返す。
E. Means and Effects for Solving the Problems In order to achieve the above object, the present invention provides a plurality of rule sets in which rules of production rule expression are grouped, and an inference engine migrates between the plurality of rule sets. In the system that performs inference using a first rule set, a first rule set is provided to create a sequence of rule sets that becomes the transition order information of the rule sets among the rule sets, and rules to be applied in the inference based on this first rule set are provided. an argument that makes the transition to the first rule set in the sequence of rulesets when the rule disappears or a certain condition is met, and sets the second rule set in the sequence of rulesets as the next transition destination rule theft. Create a sequence of rulesets by inference using the first ruleset, migrate to the first ruleset in this sequence, and make the second ruleset the next migration destination ruleset. Repeat migration for each ruleset by passing arguments.

F 実施例 第1図は本発明の一実施例を示すルールセット移行模式
図で入不。ルールセットAはルールセットの並びを作る
ためのルールを含み、このルールセ・ノドAを使用した
推論結果からルールセットの並びを作成する。このルー
ルセットの並びは推論に使用するルールセットの順序情
報になる。図示では’RCr)C]がルールセットの並
びとして作成される場合を示す。
F. Embodiment FIG. 1 is a schematic diagram of rule set transition showing an embodiment of the present invention. Rule set A includes rules for creating an arrangement of rulesets, and the arrangement of rulesets is created from the inference result using this ruleset node A. This arrangement of rulesets becomes order information of rulesets used for inference. The illustration shows a case where 'RCr)C] is created as a sequence of rule sets.

ルールセットAでの推論で適用するルールが無くなるか
、又は一定の条件が満たされたとき、ルールセットAで
作成されたルールセットの並び情報の先頭のルールセッ
トBを移行先ルールセットとした移行を行うと共に引数
としてルールセットの並び情報の2番目以降[Cr)C
IをルールセットBに渡す。このルールセットBを使っ
て適用するルールが無くなるか一定の条件が満たされる
まで推論を行い、この後に引数の2番目以降[T)CI
を新しい引数としてルールセットCに渡す。同様に、ル
ールセットCから次のルールセットDに新しい引数を渡
(7、このような移行を引数のデータが無くなるまで繰
り返す。図示の例ではルールセットA4R−4C−D→
Cの順序でルールセ=t トの移行が行われる。
When there are no more rules to apply in the inference using rule set A, or when certain conditions are met, migration is made with rule set B, which is the first in the list of rulesets created in rule set A, as the destination ruleset. and the second and subsequent [Cr)C of the order information of the ruleset as an argument.
Pass I to ruleset B. Using this rule set B, inference is performed until there are no more rules to apply or a certain condition is met, and after this, the second and subsequent arguments [T) CI
is passed to ruleset C as a new argument. Similarly, a new argument is passed from ruleset C to the next ruleset D (7) This transition is repeated until there is no more argument data. In the example shown, ruleset A4R-4C-D→
Migration of the ruleset=t is performed in the order of C.

従って、ルールセットAでのルールセットの並び作成に
よってルールセットの移行順序が決定し、またあるルー
ルセットに対して再移行する場合にも永久ループの発生
は起きない。また、ルールセットの追加削除や移行順序
の変更にはルールセットの並びを作成するルールセット
Aでルールセット名を追加削除等を行う変更のみで済み
、他のルールセットのメタルール変更等を不要にしなが
らルールセット変更を任意にする。
Therefore, the migration order of the rulesets is determined by creating the order of the rulesets in the ruleset A, and even when a certain ruleset is migrated again, an endless loop will not occur. Additionally, to add or delete rulesets or change the migration order, all you need to do is add or delete the ruleset name in ruleset A, which creates the order of rulesets, and there is no need to change the meta-rules of other rulesets. While making changes to the ruleset optional.

G8発明の効果 以上のとおり、本発明によれば、第1のルールセットに
よる推論でルールセットの並びを作成し、このルールセ
ットの並びの2番目のルールセットを移行先ルールセッ
トとする引数の渡しでルールセ・ノドの移行を行うよう
にしたため、従来方法における永久ループの発生を無く
すと共に、ルールセ・ノドの追加、削除及び順序変更に
は第1のルールセ・ノドによるルールセブトの並び作成
を変更するのみで容易になされるし7かつ間違いを少な
くする効果がある。
Effects of the G8 Invention As described above, according to the present invention, a sequence of rulesets is created by inference based on the first ruleset, and an argument that specifies that the second ruleset in this sequence is the destination ruleset is set. Since the migration of ruleset nodes is performed by passing, the occurrence of an eternal loop in the conventional method is eliminated, and the creation of the order of rulesets by the first ruleset node is changed to add, delete, and change the order of rulesets nodes. It is easy to do with a chisel and has the effect of reducing mistakes.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例を示すルールセット移行模式
図、第2図はエキスバートンステムの基本的構成図、第
3図は従来のルールセット移行模式図である。 1・・・知識ベース、7・・・推論エンジン。 外2名 第2図
FIG. 1 is a schematic diagram of a ruleset transition showing an embodiment of the present invention, FIG. 2 is a basic configuration diagram of an Exverton stem, and FIG. 3 is a schematic diagram of a conventional ruleset transition. 1...Knowledge base, 7...Inference engine. 2 people outside Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)プロダクションルール表現のルール群をグループ
化した複数のルールセットとし、推論エンジンが前記複
数のルールセット間を移行して推論を行うエキスパート
システムにおいて、前記ルールセットのうちルールセッ
トの移行順序情報になるルールセットの並びを作成する
第1のルールセットを設け、この第1のルールセットに
よる推論で適用するルールが無くなるか又は一定の条件
が満たされたときに前記ルールセットの並びの先頭のル
ールセットに移行すると共に該ルールセットの並びの2
番目のルールセットを次の移行先ルールセットとする引
数を渡すことを特徴とするエキスパートシステムのルー
ルセット移行方法。
(1) In an expert system in which a group of production rule expression rules are grouped into multiple rule sets, and an inference engine performs inference by transitioning between the multiple rule sets, information on the transition order of the rule sets among the rule sets. A first ruleset is provided that creates a sequence of rulesets that becomes At the same time as moving to the ruleset, the sequence 2 of the ruleset
An expert system ruleset migration method characterized by passing an argument that specifies the next migration destination ruleset as the next migration destination ruleset.
JP2007972A 1990-01-17 1990-01-17 Rule set shift method for expert system Pending JPH03211625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007972A JPH03211625A (en) 1990-01-17 1990-01-17 Rule set shift method for expert system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007972A JPH03211625A (en) 1990-01-17 1990-01-17 Rule set shift method for expert system

Publications (1)

Publication Number Publication Date
JPH03211625A true JPH03211625A (en) 1991-09-17

Family

ID=11680380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007972A Pending JPH03211625A (en) 1990-01-17 1990-01-17 Rule set shift method for expert system

Country Status (1)

Country Link
JP (1) JPH03211625A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6354635A (en) * 1986-08-25 1988-03-09 Yamatake Honeywell Co Ltd Inference system
JPH01274243A (en) * 1988-04-26 1989-11-02 Meidensha Corp Inference system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6354635A (en) * 1986-08-25 1988-03-09 Yamatake Honeywell Co Ltd Inference system
JPH01274243A (en) * 1988-04-26 1989-11-02 Meidensha Corp Inference system

Similar Documents

Publication Publication Date Title
Sapaty Holistic analysis and management of distributed social systems
Hewitt et al. Session 8 formalisms for artificial intelligence a universal modular actor formalism for artificial intelligence
Park et al. Fuzzy cognitive maps considering time relationships
Miao et al. On causal inference in fuzzy cognitive maps
Goldstein et al. Descriptions for a Programming Environment.
CN114443979A (en) Formalized expression method for ship collision avoidance rule scene knowledge
CN111190711B (en) Multi-robot task assignment method based on BDD combined with heuristic A* search
Tokoro et al. An object-oriented approach to knowledge systems
Tang et al. A graph model for conflict resolution with inconsistent preferences among large-scale participants
Hildreth et al. Coordinating multi-agent navigation by learning communication
JPH03211625A (en) Rule set shift method for expert system
Bic Processing of semantic nets on dataflow architectures
Christiansson Dynamic Knowledge Nets in a changing building process
AlFailakawi et al. Depth optimization for topological quantum circuits
Yamashita et al. Self-stabilizing gellular automata
Pratt Dynamic logic: A personal perspective
CN118131634B (en) Generalized second-class fuzzy self-adaptive control method and system based on chaotic system
Shen et al. KDEM: A Knowledge-Driven Exploration Model for Indoor Crowd Evacuation Simulation
Heinemann Extending topological nexttime logic
Wang et al. Beyond obedient tools: A tensional-field relational ontology for human-AI co-creation
WO2025260330A1 (en) Hierarchical knowledge representation method for skills in dynamic task scenario
Carvalho et al. Interpolated linguistic terms
Abd El-Sattar A new framework for plot-based interactive storytelling generation
Bieber et al. Expert systems and hypertext
Fikes et al. Themes in automatic problem solving