[go: up one dir, main page]

JPS61109148A - Conflict eliminating system for production rule - Google Patents

Conflict eliminating system for production rule

Info

Publication number
JPS61109148A
JPS61109148A JP59228995A JP22899584A JPS61109148A JP S61109148 A JPS61109148 A JP S61109148A JP 59228995 A JP59228995 A JP 59228995A JP 22899584 A JP22899584 A JP 22899584A JP S61109148 A JPS61109148 A JP S61109148A
Authority
JP
Japan
Prior art keywords
rule
rules
information
stored
register
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
JP59228995A
Other languages
Japanese (ja)
Inventor
Hideki Chigira
千吉良 英毅
Yoshiaki Nagai
義明 永井
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP59228995A priority Critical patent/JPS61109148A/en
Publication of JPS61109148A publication Critical patent/JPS61109148A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To eliminate a conflict with high efficiency among production rules by recording history information on application frequency of rules, etc. for each rule by an application type reasoning system and using this information and meaning index information on each rule. CONSTITUTION:In case the IF parts of plural rules are coincident with a symbol character string in a short-period storage area 3 for reasoning in a rule inter- print mode, the processing is carried out to decide the THEN part of a specific rule that should be executed with priority. The using frequency and the meaning coefficient of a rule are decided from the number and the history information of the rule which is coincident with the IF part and stored to a register 6. In the same way, the information on each rule detected subsequently are stored to a register 7. The same operations are repeated successively to extract all conflicting rules out of a knowledge base 1. These extracted rules are stored to a register 8. Then the product of the using frequency and the meaning coefficient is obtained to said rules. The rule number showing the maximum value is transmitted to a reasoning mechanism.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、知識工学応用の推論処理方式に係り、特に、
複数のルールのIF部分が記号列と同時に合致した場合
の競合解除を伴なう推論処理を効率的2合理的に実行す
るために好適な推論時等のプロダクションルールの競合
解消方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to an inference processing method for applying knowledge technology, and in particular,
The present invention relates to a conflict resolution method for production rules during inference, etc., which is suitable for efficiently and rationally executing inference processing that involves conflict resolution when the IF portions of a plurality of rules match symbol strings at the same time.

〔発明の背景〕[Background of the invention]

従来の装置は、知識ベースに格納するルールごとにルー
ルの実行回数等ルールの使用履歴情報を記憶し推論使用
時に、この情報を更新するようになっていた。しかし、
競合解消としては、使用回数情報だけで判定しており、
ルールの意味的な評価の点については、直接的には配慮
されていなかった。
Conventional devices store rule usage history information such as the number of times the rule has been executed for each rule stored in the knowledge base, and update this information when using inference. but,
Conflict resolution is determined based only on usage count information.
No direct consideration was given to the semantic evaluation of rules.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、知識工学応用推論方式等においてルー
ルの競合が発生した場合に、過去にルールが適用された
統計情報及び各ルール毎に設定されるルールの意味的重
要度を用いて、適用するルールの優先度を決めることに
より、推論システム利用者の利用環境に適用できるよう
なプロダクションルール競合解消方式を提供することに
ある。
The purpose of the present invention is to apply rules using statistical information on past application of rules and the semantic importance of rules set for each rule, when a conflict of rules occurs in a knowledge engineering applied reasoning method, etc. The purpose of this invention is to provide a production rule conflict resolution method that can be applied to the usage environment of an inference system user by determining the priority of rules to be used.

〔発明の概要〕[Summary of the invention]

従来方式の適用型推論方式による各ルール毎に。 For each rule using the conventional adaptive inference method.

ルールの適用回数等履歴情報を記録する機能を踏襲し、
この機能により集められた情報と、あらかじめ登録しで
ある各ルールごとの意味的指標情報とを用いることによ
り、ルール競合時の優先度を計算し、優先ルールを決定
する方式である。これによりルールの中に基本的なもの
、重要なもの、他との兼合いで必要なものなど、ルール
記述時にルールの意味的重要度を指定でき、競合解消に
有効な情報として用いることができる。
Following the function of recording historical information such as the number of times a rule has been applied,
By using the information collected by this function and the semantic index information for each rule that is registered in advance, the priority in the case of rule conflict is calculated and the priority rule is determined. This allows you to specify the semantic importance of a rule when writing a rule, such as what is basic, what is important, what is necessary in conjunction with other rules, and can be used as effective information for conflict resolution. .

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を、第1図により説明する。先
ず、本発明の構成を第1図、第2図により説明する。第
1図は本発明の全体構成を示す。
An embodiment of the present invention will be described below with reference to FIG. First, the configuration of the present invention will be explained with reference to FIGS. 1 and 2. FIG. 1 shows the overall configuration of the present invention.

知識ベースlは、プロダクションルールを格納する長期
記憶領域である。知識ベース1の中は、第2図に示すよ
うにルール9と、その履歴情報レジスタlOと意味指標
記述エリア11が組になって格納されている。推論機構
2は、知識ベース中のルールのIF部分の記号文字列と
、短期記憶領域3中の記号文字列と照合を行ない推論処
理を実行する。
Knowledge base l is a long-term storage area that stores production rules. In the knowledge base 1, as shown in FIG. 2, a rule 9, its history information register IO, and a meaning index description area 11 are stored as a set. The inference mechanism 2 performs inference processing by comparing the symbol string in the IF part of the rule in the knowledge base with the symbol string in the short-term memory area 3.

次に本発明の動作を第3図を用いて説明する。Next, the operation of the present invention will be explained using FIG.

ルールのインタープリド時に、複数のルールのIF部分
が推論用短期記憶領域3の中の記号文字列と合致した場
合、どのルールのTHEN部分を優先的に実行するか定
めるため第3図を示すような処理を実行する。先ず、I
F部分の適合したルールの番号、履歴情報からルールの
使用回数、ルールの意味係数を6のレジスタに格納する
。同様に次に発見されたルールの各情報を7へ゛格納す
る。
When interpreting rules, if the IF parts of multiple rules match the symbol string in the inference short-term memory area 3, the THEN part of the rule is determined to be executed preferentially, as shown in Figure 3. Execute processing. First, I
The number of the matched rule in part F, the number of times the rule has been used from the history information, and the meaning coefficient of the rule are stored in register 6. Similarly, each piece of information about the next discovered rule is stored in 7.

次々と同じ動作をくり返し、知識ベース1の中から競合
するルールをすべて抽出し、8へ格納する。
The same operation is repeated one after another to extract all competing rules from knowledge base 1 and store them in 8.

これらルールに対し、使用回数と意味係数の積を求め最
大値を示したルール番号を推論処理機構に伝送し、推論
処理を実行する。
For these rules, the product of the number of uses and the semantic coefficient is calculated, and the rule number indicating the maximum value is transmitted to the inference processing mechanism to execute inference processing.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、従来の適応型推論処理方式が、ルール
の使用履歴情報のみでルールの競合を解消を解決しよう
としていたことに比べ、ルール登録時などに決定したル
ール全体の中での個々のルールの意味上の重要度をも加
味してルールの競合を解消できるという効果がある。
According to the present invention, in contrast to conventional adaptive inference processing methods that attempt to resolve rule conflicts using only rule usage history information, it is possible to This has the effect of being able to resolve rule conflicts by taking into account the semantic importance of the rules.

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

第1図は、本発明の全体構成を示すブロック図。 第2図は1本発明の知識ベース構成例を示す説明図、第
3図は本発明の処理手順を示すフロー図である。 符号の説明 1・・・知識ベース、2・・・推論処理装置、3・・・
推論用短期記憶領域、4・・・入出力装置、5・・・制
御情報格納エリア。
FIG. 1 is a block diagram showing the overall configuration of the present invention. FIG. 2 is an explanatory diagram showing an example of the knowledge base configuration of the present invention, and FIG. 3 is a flow diagram showing the processing procedure of the present invention. Explanation of symbols 1...Knowledge base, 2...Inference processing device, 3...
Inference short-term storage area, 4... input/output device, 5... control information storage area.

Claims (1)

【特許請求の範囲】[Claims] 1、知識をプロダクシヨンルールの形に表現し蓄積した
記憶領域内のルールと記合列のパターンを比較して推論
処理を行うステップと、ルールに設けた優先順位判定の
ための情報を記録するステップと、情報により適用する
ルールを設定するステップと、上記優先順位判定のため
の情報とプロダクシヨンルールの使用頻度と使用上の意
味的重要度とを用いることを特徴とするプロダクシヨン
・ルールの競合解方式
1. A step in which knowledge is expressed in the form of production rules and inference processing is performed by comparing the stored rules in the storage area with the pattern of the entry string, and information for determining priority set in the rules is recorded. a step of setting a rule to be applied based on information; and a step of using the information for determining the priority, the frequency of use of the production rule, and the semantic importance of the production rule. Competitive solution method
JP59228995A 1984-11-01 1984-11-01 Conflict eliminating system for production rule Pending JPS61109148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59228995A JPS61109148A (en) 1984-11-01 1984-11-01 Conflict eliminating system for production rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59228995A JPS61109148A (en) 1984-11-01 1984-11-01 Conflict eliminating system for production rule

Publications (1)

Publication Number Publication Date
JPS61109148A true JPS61109148A (en) 1986-05-27

Family

ID=16885110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59228995A Pending JPS61109148A (en) 1984-11-01 1984-11-01 Conflict eliminating system for production rule

Country Status (1)

Country Link
JP (1) JPS61109148A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01259428A (en) * 1988-04-08 1989-10-17 Matsushita Electric Ind Co Ltd Method and device for inference
US4937755A (en) * 1987-05-06 1990-06-26 Hitachi, Ltd. Production system for an expert system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55124862A (en) * 1979-03-19 1980-09-26 Toshiba Corp Frequency control unit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55124862A (en) * 1979-03-19 1980-09-26 Toshiba Corp Frequency control unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4937755A (en) * 1987-05-06 1990-06-26 Hitachi, Ltd. Production system for an expert system
JPH01259428A (en) * 1988-04-08 1989-10-17 Matsushita Electric Ind Co Ltd Method and device for inference

Similar Documents

Publication Publication Date Title
EP0313975A2 (en) Design and construction of a binary-tree system for language modelling
JPS61109148A (en) Conflict eliminating system for production rule
JPS6219940A (en) High-speed processing system for inference
JPS62241026A (en) Character string retrieving system
JPS61235957A (en) Data control system
CN107515769A (en) A kind of variable information extracting method and device
JPH0287261A (en) market price prediction device
CN113254501A (en) Control method and device for predicting program TAD through discretization of continuous features
JPS5676354A (en) Assigning method of tool code
US12175242B2 (en) Decision tree node instruction unification for parallel processing
CN119539095B (en) Financial question-answering method, system, device and medium based on multi-agent interaction
JPH05282152A (en) Device and method for managing knowledge base
JPH04205145A (en) Inference processor
JPH0264736A (en) Knowledge inference processor
JP3018579B2 (en) Name search processor
Chauvet Multiway Storage Modification Machines
JPS6024646A (en) Adaptive inference processing method
Gao et al. RTMS: A Smart Contract Vulnerability Detection Method Based on Feature Fusion and Vulnerability Correlations
CN115098408A (en) A data pre-access method and device
JPH1153360A (en) Device and method for data conversion and medium for recording data conversion program
CN115965016A (en) Method, apparatus, electronic device, medium for determining term relationship
JPS63201812A (en) Man-machine interface device
JPH0476628A (en) Rule contention resolving method and inference system
Gal An O(N^3) Algorithm for Optimal Replacement Problems
JPH06332705A (en) Inference device