JPH01173136A - Inference method - Google Patents

Inference method

Info

Publication number
JPH01173136A
JPH01173136A JP62331922A JP33192287A JPH01173136A JP H01173136 A JPH01173136 A JP H01173136A JP 62331922 A JP62331922 A JP 62331922A JP 33192287 A JP33192287 A JP 33192287A JP H01173136 A JPH01173136 A JP H01173136A
Authority
JP
Japan
Prior art keywords
condition
fact
term
conclusion
inference
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
JP62331922A
Other languages
Japanese (ja)
Inventor
Yasunobu Tanaka
田中 康宣
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62331922A priority Critical patent/JPH01173136A/en
Publication of JPH01173136A publication Critical patent/JPH01173136A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To realize the expression for importance of a condition term by composing a condition part of knowledge with the condition term and the reference of assurance with which the condition term is satisfied and using a means which executes a conclusion part after the condition part is satisfied when the coincidence is secured between the condition term and the fact of a working memory and the assurance of the fact satisfies the standard of the condition term. CONSTITUTION:A condition part is composed with a condition term and the reference of assurance with which the condition term is satisfied. While a conclusion part is composed with a conclusion term and the assurance showing the sureness of the conclusion term. The condition part is satisfied when the coincidence is secured between the condition term and the fact of a working memory 3 and also the assurance of the fact satisfies the reference of the condition term. Then an inference part 2 executes the conclusion part. In such a constitution, the reference of assurance satisfying the condition term is described to each condition part and then compared with the assurance of the fact for decision of genuineness of the condition part. Thus the expression is possible for the importance of the condition term.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、知識工学の分野における推論方法に係り、特
に、より表現力豊かな知識表現を行える推論方法に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to an inference method in the field of knowledge engineering, and particularly relates to an inference method that can express knowledge with richer expressive power.

従来の技術 近年、推論方法は、知識工学の応用として様々な分野に
おいて新しい問題解決手段として注目をあびている。
BACKGROUND OF THE INVENTION In recent years, inference methods have attracted attention as a new problem-solving method in various fields as an application of knowledge engineering.

従来、推論方法における条件判断は、条件項とワーキン
グメモリーの各事実との比較を行ない一致したものがあ
った時に前記条件項が満たされたとして結論部を実行し
ていた。
Conventionally, conditional judgment in inference methods involves comparing the conditional term with each fact in the working memory, and when a match is found, the conditional term is assumed to be satisfied and the conclusion part is executed.

以下、図面を参照しながら、上述した従来の推論方法に
おける条件判定の一例について説明する。
An example of condition determination in the conventional inference method described above will be described below with reference to the drawings.

第5図は従来の知識表現の一例を示すものである。第5
図において、知識5は「製品XはAプロセスを終了し、
かつBプロセスの準備はOKかつ、Bプロセスの予約は
なければ、製品XはBプロセスへ移動させるであり、そ
の確信度は0.8である」ということを表わしている。
FIG. 5 shows an example of conventional knowledge representation. Fifth
In the diagram, knowledge 5 is ``Product X has finished A process,
If the B process is ready and there is no reservation for the B process, then the product X will be moved to the B process, and the confidence level is 0.8.

ここで確信度は−lから1の値を取りlに近いほど結論
部の確からしさが高いとする。第3図はワーキングメモ
リーの−例を示すものである。各事実は事実項と事実の
確からしさを表わす確信度のベアで表されている。
Here, it is assumed that the confidence level is a value between -l and 1, and the closer it is to l, the higher the certainty of the conclusion is. FIG. 3 shows an example of working memory. Each fact is represented by a fact item and a certainty bear representing the certainty of the fact.

条件判定は、条件部とワーキングメモリーの各事実を比
較する0本例では、511と33.512と31.51
3と32が一致するので条件部が満たされ結論部521
がワーキングメモリーに付け加えられる。この時に、条
件部に一致した事実の確信度と結論部の確信度によって
ワーキングメモリーに付け加えられる事実の確信度が計
算される。
Conditional judgment compares the conditional part and each fact in working memory. In this example, 511, 33.512, and 31.51.
Since 3 and 32 match, the condition part is satisfied and the conclusion part 521
is added to working memory. At this time, the confidence level of the fact added to the working memory is calculated based on the confidence level of the fact that matches the condition part and the confidence level of the conclusion part.

発明が解決しようとする問題点 しかしながら上記のような方式では、条件判断における
各条件部の重みを表現できないという問題点を有してい
た。
Problems to be Solved by the Invention However, the above method has a problem in that it is not possible to express the weight of each condition part in condition judgment.

本発明は上記問題点に鑑み、条件部に条件判定を行う確
信度の基準を記述できるようにし、その基準に基づいた
条件判定を行わせ、知識表現の柔軟性を向上させるもの
である。
In view of the above-mentioned problems, the present invention enables the condition part to describe a confidence criterion for condition judgment, and makes the condition judgment based on the criterion, thereby improving the flexibility of knowledge expression.

問題点を解決するための手段 上記問題点を解決するために本発明の推論方法は、専門
知識として条件部と結論部の対として表現された複数の
プロダクションルールと、初期事実及び推論過程におい
て付け加えられた事実を一時格納しておくワーキングメ
モリーと、前記プロダクションルールの条件部と前記ワ
ーキングメモリーの各事実を比較して推論を行う推論方
法において、条件部は条件部と条件部が満たされる確信
度の基準より構成され、結論部は結論部と結論部の確か
らしさを表す確信度より構成され、条件部と前記ワーキ
ングメモリーの事実が一致し、かつ事実の確信度が条件
部の基準を満たした時に条件部が満たされ、結論部を実
行する推論部を備えたものである。
Means for Solving the Problems In order to solve the above problems, the inference method of the present invention uses a plurality of production rules expressed as pairs of condition parts and conclusion parts as specialized knowledge, and initial facts and additions in the inference process. In an inference method in which inference is made by comparing the working memory that temporarily stores the facts that have been obtained, and the condition part of the production rule and each fact in the working memory, the condition part is the condition part and the confidence that the condition part is satisfied. The conclusion part is made up of the conclusion part and the certainty that represents the certainty of the conclusion part, and the condition part and the fact in the working memory match, and the certainty of the fact satisfies the criteria of the condition part. It has an inference part that executes the conclusion part when the condition part is satisfied.

作用 本発明は上記した構成によって、各条件部に条件部を満
たす確信度の基準を記述しておき、事実の確信度と比較
させて条件部の真偽判定を行わせることにより、条件部
の重要度の表現を可能とした。
Effect of the present invention With the above-described configuration, the criteria for the degree of certainty that satisfies the conditional part is written in each conditional part, and the authenticity of the conditional part is determined by comparing it with the certainty of the fact. It is possible to express the degree of importance.

実施例 以下本発明の一実施例の推論方法について、図面を参照
しながら説明する。
Embodiment Hereinafter, an inference method according to an embodiment of the present invention will be explained with reference to the drawings.

第1図は本発明の実施例における推論方法の構成を示す
ものである。第1図において、lは知識ベースで専門知
識を条件部と結論部の対として表現し、格納するもので
ある。2は推論部で内部に条件判定部5と結論実施部6
と基準−確信度しきい値テーブル7を持つ、3は初期事
実及び推論過程に付け加えられた事実を一時格納してお
くワーキングメモリーである。4は入出力装置で、初期
事実の入力や推論結果の表示を行う。
FIG. 1 shows the configuration of an inference method in an embodiment of the present invention. In FIG. 1, l is a knowledge base that expresses and stores specialized knowledge as a pair of a condition part and a conclusion part. 2 is an inference section, which includes a condition judgment section 5 and a conclusion implementation section 6.
3 is a working memory that temporarily stores initial facts and facts added to the inference process. 4 is an input/output device for inputting initial facts and displaying inference results.

以上のように構成された推論方法について、以下第1図
及び第2図、第3図、第4図を用いてその動作を説明す
る。
The operation of the inference method configured as described above will be explained below with reference to FIGS. 1, 2, 3, and 4.

第2図は本発明での知識の一例を示すものである。第2
図において、知m2は「必ず製品XはAプロセスを終了
し、かつまあまありプロセスの準備はOKである、かつ
なるべくBプロセスの予約はないならば、何よりも製品
XはBプロセスへ移動させる」ということを表わしてい
る0条件部211は条件部2112が確信度の基準「必
ず」を満たす必要があり、条件部212は条件部212
2が確信度の基準「まあまあ」を満たしている必要があ
るということを表わす、第4図は、基準−Wi慣度しき
い値テーブルの一例であり、「必ず」は確信度のしきい
値1.0に、「まあまあ」は確信度のしきい値0.2に
それぞれ対応している。
FIG. 2 shows an example of knowledge in the present invention. Second
In the diagram, knowledge m2 says, ``If product ”, the condition part 211 needs to satisfy the confidence criterion ``always'', and the condition part 212 needs to satisfy the confidence criterion ``always''.
Figure 4 is an example of a criterion-Wi inertia threshold table, where ``necessarily'' indicates that the confidence criterion "fairly" must be satisfied. A value of 1.0 corresponds to a confidence threshold of 0.2, and "fair" corresponds to a confidence threshold of 0.2.

従って、上述した条件部211は条件部2112が確信
度1.0以上で確定している必要があることを意味して
いる。
Therefore, the condition part 211 mentioned above means that the condition part 2112 needs to be determined with a confidence level of 1.0 or more.

第3図は、ワーキングメモリーの一例を示すものである
。各事実は事実項と事実の確からしさを表わす確信度の
ペアで表されている。
FIG. 3 shows an example of working memory. Each fact is represented by a pair of fact terms and a degree of certainty that represents the certainty of the fact.

条件判定部5はワーキングメモリー4内の一つの事実と
知識ベース1内の知識の一つの条件部を読みこみ、事実
と条件部の条件部が一致するかを判定する。一致したな
ら条件部の確信度の基準に対応する確信度のしきい値を
基準−確信度しきい値テーブル7から調べてくる。本例
では条件部の確信度の基準2111は、しきい値1.0
に対応する。次に、事実の確信度が上述したしきい値以
上かどうかを調べ、しきい値以上であれば条件部が満た
されたとして、次の条件部の判定を行う、全ての条件部
が満たされた知識は、結論実施部6へ送られ、条件部に
一致した事実の確信度と結論部の確信度によって確信度
が計算され、結論部と共にワーキングメモリー3に付け
加えられる0本例では、条件部2112と事実33とが
一致するが、事実33はまだ確信度が0.6であり、基
準2112に対応するしきい値以上ではないので、知識
2は適用されない、事実33の確信度が1.0になって
初めて、適用可能になる。
The condition determining unit 5 reads one fact in the working memory 4 and one condition part of the knowledge in the knowledge base 1, and determines whether the fact and the condition part of the condition part match. If they match, the confidence threshold corresponding to the confidence criterion in the condition part is checked from the criterion-confidence threshold table 7. In this example, the confidence criterion 2111 in the condition part is a threshold value of 1.0.
corresponds to Next, it is checked whether the certainty of the fact is greater than or equal to the above-mentioned threshold, and if it is greater than or equal to the threshold, it is assumed that the conditional part is satisfied, and the next conditional part is judged. The knowledge obtained is sent to the conclusion implementation unit 6, where the confidence level is calculated based on the certainty level of the fact that matches the conditional part and the certainty level of the conclusion part, and is added to the working memory 3 together with the conclusion part. 2112 and fact 33 match, but fact 33 still has a confidence of 0.6, which is not above the threshold corresponding to criterion 2112, so knowledge 2 is not applied, even if the confidence of fact 33 is 1. It becomes applicable only when it becomes 0.

発明の効果 以上のように本発明は、知識の条件部を条件部と条件部
が満たされるべき確信度の基準より構成し、条件部とワ
ーキングメモリーの事実が一致し、かつ事実の確信度が
条件部の基準を満たした時に条件部が満たされ、結論部
を実行する手段を設けることにより、条件部の重要度の
表現を可能とする知識表現手段を提供するものである。
Effects of the Invention As described above, the present invention consists of a conditional part of knowledge consisting of a conditional part and a criterion of certainty that the conditional part should be satisfied, and the conditional part and the fact in working memory match, and the certainty of the fact is By providing a means for executing the conclusion part when the condition part is satisfied when the criterion of the condition part is satisfied, a knowledge expression means is provided that makes it possible to express the importance of the condition part.

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

第1図は本発明の全体構成を示す構成図、第2図は知識
ベース内の知識の一例を示す説明図、第3図はワーキン
グメモリーの一例を示す説明図、第4図は基準−確信度
しきい値テーブルの一例を示す説明図、第5図は従来の
知識の一例を示す説明図である。 1・・・・・・知識ベース、2・・・・・・推論部、3
・・・・・・ワーキングメモリー、5・・・・・・条件
判定部、6・・・・・・結論実行部、7・・・・・・基
準−確信度しきい値テーブル。 代理人の氏名 弁理士 中尾敏男 はか1名第2図 213\” F! t’ tf 37”。−、ヤゎ5,
41、  、なうHa’ (ゼV    製品ス+IT3フーロを人A沖勤す))
第3図
Figure 1 is a block diagram showing the overall configuration of the present invention, Figure 2 is an explanatory diagram showing an example of knowledge in the knowledge base, Figure 3 is an explanatory diagram showing an example of working memory, and Figure 4 is a reference-confidence diagram. FIG. 5 is an explanatory diagram showing an example of a degree threshold table, and FIG. 5 is an explanatory diagram showing an example of conventional knowledge. 1...Knowledge base, 2...Inference section, 3
. . . Working memory, 5 . . . Condition judgment section, 6 . . . Conclusion execution section, 7 . . . Criteria-confidence threshold table. Name of agent: Patent attorney Toshio Nakao Figure 2: 213\"F! t' tf 37". -, Yawa5,
41, , Now Ha' (Ze V product + IT3 fluoro work))
Figure 3

Claims (1)

【特許請求の範囲】[Claims] 専門知識として条件部と結論部の対として表現された複
数のプロダクションルールと、初期事実及び推論過程に
おいて付け加えられた事実を一時格納しておくワーキン
グメモリーと、前記プロダクションルールの条件部と前
記ワーキングメモリーの各事実を比較して推論を行う推
論方法において、条件部は条件項と条件項が満たされる
確信度の基準より構成され、結論部は結論項と結論項の
確からしさを表わす確信度より構成され、条件項と前記
ワーキングメモリーの事実が一致し、かつ事実の確信度
が条件項の基準を満たした時に条件部が満たされ、結論
部を実行する推論部を備えたことを特徴とする推論方法
A plurality of production rules expressed as pairs of condition parts and conclusion parts as specialized knowledge, a working memory that temporarily stores initial facts and facts added during the inference process, and the condition parts of the production rules and the working memory. In an inference method in which inferences are made by comparing each fact of and the conditional part is satisfied when the conditional term and the fact in the working memory match and the certainty of the fact satisfies the criterion of the conditional term, and the inference is characterized by comprising an inference part that executes the conclusion part. Method.
JP62331922A 1987-12-28 1987-12-28 Inference method Pending JPH01173136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62331922A JPH01173136A (en) 1987-12-28 1987-12-28 Inference method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62331922A JPH01173136A (en) 1987-12-28 1987-12-28 Inference method

Publications (1)

Publication Number Publication Date
JPH01173136A true JPH01173136A (en) 1989-07-07

Family

ID=18249140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62331922A Pending JPH01173136A (en) 1987-12-28 1987-12-28 Inference method

Country Status (1)

Country Link
JP (1) JPH01173136A (en)

Similar Documents

Publication Publication Date Title
JPH01173136A (en) Inference method
JPS63196947A (en) Inference method
JP3012448B2 (en) Work management system
JPS62198930A (en) Reasoning method
JPS6297051A (en) Controller for progressing state of working program
JPH0452222A (en) Material quality designing device for steel products
JPH01124030A (en) Inference method in knowledge utilizing information processing system
JPH05233299A (en) Fuzzy inference arithmetic unit
JPH02194435A (en) Control system for inference process
JPH04346130A (en) Problem settlement device
JPS63304328A (en) Problem resolving system satisfying plural limits of different intensities
JPH03110631A (en) Knowledge base system
JPH09128416A (en) Processing flow progress managing method
JPH0219928A (en) Knowledge processing system
JPH03131932A (en) Dynamic forward debugger for rule type knowledge base
JPH02310740A (en) Program debugging system
JPH04348452A (en) Method and apparatus for asigning process or for executing search for satisfying restricting condition
JPH06176026A (en) Work progress rate computing system
JPH03171330A (en) Inference mechanism for production system
JPH0492926A (en) Precedence control processing method
JPH0210432A (en) Inference system having contention resolving function for expert system
JPH06103073A (en) Inference device
JPH0555896B2 (en)
JPH042451A (en) Control unit for progress of work
JPH07306789A (en) Method and device for inference control of expert system