JPH03260834A - Back tracking system for rule base system - Google Patents

Back tracking system for rule base system

Info

Publication number
JPH03260834A
JPH03260834A JP2060547A JP6054790A JPH03260834A JP H03260834 A JPH03260834 A JP H03260834A JP 2060547 A JP2060547 A JP 2060547A JP 6054790 A JP6054790 A JP 6054790A JP H03260834 A JPH03260834 A JP H03260834A
Authority
JP
Japan
Prior art keywords
inference
user
backtrack
rule
hypothesis
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
JP2060547A
Other languages
Japanese (ja)
Inventor
Yukari Saitou
齋藤 由香梨
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2060547A priority Critical patent/JPH03260834A/en
Publication of JPH03260834A publication Critical patent/JPH03260834A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To easily instruct a back tracking by providing a back track instructing part which makes a user instruct the back tracking in order to attain the instruction of the back track when the user is not satisfied with the inference result, and a back track processing part where the actual back track processing is carried out. CONSTITUTION:A user interface part 1 is provided to carry out a conversation with a user together with a rule base 2 where the inference knowledge is described, an inference engine 30 which performs an inference with use of the base 2, and a blackboard 4 where the inference result of the engine 30 is recorded. Furthermore a back track instructing part 10 is added to a accept the instruction of the user when the user is not satisfied with the inference result together with a back track processing part 5 where the engine 30 is restarted. In such constitution, a back tracking is carried out based on the instruction of the user. Thus the back tracking is easily instructed.

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術と発明が解決しようとする課題課題を解決す
るための手段 作用 実施例 発明の効果 〔概要〕 ユーザとの対話を行うユーザインタフェース部と、推論
のための知識を記述したルールベースと。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology and Problems to be Solved by the Invention Means for Solving the Problems Actions Examples Effects of the Invention [Summary] Dialogue with Users A user interface part and a rule base that describes knowledge for inference.

該ルールベースを用いて推論を行う推論エンジンと、該
推論エンジンによって推論された結果を記録していく黒
板とを備えたルールベースシステムにおいて、推論結果
にユーザが満足しなかった場合のバックトラック方式に
関し、 ルールベースシステムの内部構造や、推論のメカニズム
を知らないユーザでも、容易にバックトラックを指示す
ることができるルールベースシステムを構築することを
目的とし、 ユーザが推論結果に不満足なときに、ユーザの指示を受
け付けるバックトラック指示部と、該バックトラック指
示部の指示に従って、上記黒板の内容を戻し、上記推論
エンジンを再起動させるバックトラック処理部を備える
ように構成する。上記バックトラック指示部、及び、バ
ックトラック処理部として、システムの導いた仮説を画
面上にレベル別に表示し、その画面上で削除したい仮説
を指示させて黒板の状態を戻すか、或いは、推論中での
ルールの適用過程を表示し、その画面上でバックトラッ
クの指示を受けて黒板の状態を戻すか、或いは、システ
ムが導いた最終的な解の情報を表示し、その画面上でユ
ーザの不満足な解を指示させ、その指示された属性を生
ずることになったルールの状態迄、推論と黒板の状態を
戻す機構を設けて、そのユーザに指示された黒板の状態
から再推論を行うように構成する。
A backtracking method when a user is not satisfied with the inference results in a rule-based system that includes an inference engine that makes inferences using the rule base and a blackboard that records the results inferred by the inference engine. Regarding this, the aim is to build a rule-based system that allows users who do not know the internal structure of the rule-based system or the inference mechanism to easily instruct backtracking. The apparatus is configured to include a backtrack instruction section that receives instructions from a user, and a backtrack processing section that returns the contents of the blackboard and restarts the inference engine according to instructions from the backtrack instruction section. The backtrack instruction unit and backtrack processing unit display the hypotheses derived by the system by level on the screen, and return the blackboard state by instructing the hypothesis to be deleted on the screen, or return to the state of the blackboard during inference. The process of applying the rules is displayed on the screen, and the blackboard status is restored in response to backtracking instructions, or information on the final solution derived by the system is displayed, and the user's A mechanism is provided that allows the user to specify an unsatisfactory solution, returns the inference and blackboard state to the state of the rule that caused the specified attribute, and then re-infers from the blackboard state specified by the user. Configure.

〔産業上の利用分野〕[Industrial application field]

本発明は、ユーザとの対話を行うユーザインタフェース
部と、推論のための知識を記述したルールベースと、該
ルールベースを用いて推論を行う推論エンジンと、該推
論エンジンによって推論された結果を記録していく黒板
とを備えたルールベースシステムにおいて、推論結果に
ユーザが満足しなかった場合のバックトラック方式に関
する。
The present invention includes a user interface unit that interacts with a user, a rule base that describes knowledge for inference, an inference engine that performs inference using the rule base, and a recorder that records the results inferred by the inference engine. This paper relates to a backtracking method when the user is not satisfied with the inference result in a rule-based system equipped with a blackboard.

最近の計算機システム技術の進歩と、計算機によるデー
タ処理の多様化に伴い、例えば、様々な分野の専門家の
知的な判断や9問題解決の作業の一部を計算機に代行さ
せようという試みが盛んになっており、所謂、エキスパ
ートシステムの開発が進められている。
With the recent advances in computer system technology and the diversification of data processing by computers, for example, attempts have been made to have computers perform part of the intellectual judgment and problem-solving work of experts in various fields. It is becoming popular, and so-called expert systems are being developed.

該エキスパートシステムでは、人間の知識に相当する部
分を「知識ベースJと呼ばれるルールベースに対応させ
、該ルールの利用法は「推論エンジン」と呼ばれる知識
ベース解釈プログラムに対応させており、広義にはルー
ルベースシステムと呼ばれるシステムである。
In this expert system, the part corresponding to human knowledge corresponds to a rule base called "Knowledge Base J", and the usage of the rules corresponds to a knowledge base interpretation program called "Inference Engine". This system is called a rule-based system.

該ルールベースシステムでは、与えられたデータ、例え
ば、画像に対して、上記ルールベースの内容を適用し、
問題を解く、例えば、画像認識を行う。
The rule-based system applies the contents of the rule-base to given data, for example, an image,
Solving problems, for example, performing image recognition.

上記のルールは、例えば、IF<条件l〉、〈条件2〉
、〜、 THEN<帰結1〉、〈帰結2〉、〜の形式で
記述されており、ユーザからの要求、例えば、上記画像
認識要求があると、該ルールベースから、最も適切なル
ールが取り出され、上記11文の内容が、現在の状態、
即ち、認識対象の画像中に存在するか否かが調べられ、
若し、存在すると、上記THEN文を実行して、結果(
仮説〉を得るように動作する。
The above rules are, for example, IF <condition l>, <condition 2>
, ..., THEN<Consequence 1>, <Consequence 2>, ..., and when there is a request from the user, for example, the above image recognition request, the most appropriate rule is extracted from the rule base. , the contents of the above 11 sentences are the current state,
That is, it is checked whether it exists in the image to be recognized,
If it exists, execute the above THEN statement and get the result (
Hypothesis>.

このようなルールベースシステムでは、システムの出し
た推論結果(画像認識結果)がユーザに満足しない場合
、ユーザが該システムにバックトラックをさせて、より
良い解を求める方法が取られるが、従来のルールベース
システムにおいては、システムに自動的にバックトラッ
クをさせるか。
In such rule-based systems, if the user is not satisfied with the inference results (image recognition results) produced by the system, the user can backtrack the system to find a better solution. In a rule-based system, do you want the system to backtrack automatically?

或いは、ユーザ自身にどこまで、推論を戻すかを指示さ
せる方法をとるが、システムに自動的に別の解を見つけ
させる場合には、ユーザが満足する解を即座に得ること
ができない場合が多いとか、ユーザに何処まで推論を戻
すかを指示させる場合は、ユーザがシステムの構築者で
ないかぎり、現実的には困難な問題があり、一般のユー
ザでも、適切に、システムにバックトラック指示を与え
ることができる効果的なバックトラック方式が必要とさ
れていた。
Alternatively, a method is used in which the user instructs the user how far to go back in the inference, but when the system automatically finds another solution, it is often not possible to immediately obtain a solution that the user is satisfied with. , unless the user is the system builder, it is difficult to have the user instruct the user how far to go back in the inference, and even ordinary users cannot properly give backtrack instructions to the system. An effective backtracking method was needed.

〔従来の技術と発明が解決しようとする課題〕第5図は
従来のルールベースシステムを説明する図であり、(a
)はシステムの槽底例を示し、(b)は従来の自動バッ
クトラックの方法例を示している。
[Prior art and problems to be solved by the invention] FIG. 5 is a diagram explaining a conventional rule-based system.
) shows an example of the tank bottom of the system, and (b) shows an example of a conventional automatic backtracking method.

ルールベースシステムは、前述のように、例えば、IF
<条件1〉、く条件2〉、〜、 THEN<帰結1〉、
〈帰結2〉、〜の形式で記述されたルールがルールベー
ス2に格納されており、ユーザから要求、例えば、上記
画像認識要求があると、該ルールベース2から、最も適
切なルールが取り出され、上記11文の内容が、現在の
状態、即ち、認識対象の画像中に存在するか否かが調べ
られ、若し、存在すると、上記THEN文を実行して、
結果(仮説〉を得るように動作する。
Rule-based systems, as mentioned above, can be used, for example, if
<Condition 1>, Condition 2>, ~, THEN <Consequence 1>,
<Consequence 2> Rules written in the format of ~ are stored in the rule base 2, and when a user makes a request, for example, the above image recognition request, the most appropriate rule is extracted from the rule base 2. , it is checked whether the content of the above 11 sentences exists in the current state, that is, the image to be recognized, and if it exists, the above THEN statement is executed,
It operates to obtain a result (hypothesis).

かかる、従来のルールベースシステムでは、システムの
出した推論結果にユーザが満足しなかった場合、ユーザ
がシステムにバックトラックさせ、よりよい解を求める
方法を取っていた。
In such conventional rule-based systems, if the user is not satisfied with the inference results produced by the system, the user has to backtrack the system to find a better solution.

そのバックトラックの方法としては、ユーザがバックト
ラックを指示すると、(b)図に示したように、システ
ムは最後の状態(結果を得た状態:例えば、仮説A)か
ら戻り、最初の分岐点Aを見つけて、そこで別の選択肢
を選ぶ方法をとっている。
As for the backtracking method, when the user instructs backtracking, as shown in figure (b), the system returns from the last state (the state where the result was obtained: for example, hypothesis A) and returns to the first branching point. The method is to find A and then choose another option.

このようにシステムが自動的に理解を見つける場合、分
岐点Aの位置によっては、最初の解とあまり変わらない
解になることが多く、ユーザが満足する解を即座に得る
ことができない場合が多いという問題があった。
When the system automatically finds an understanding in this way, depending on the position of branching point A, the solution is often not much different from the initial solution, and it is often not possible to immediately obtain a solution that satisfies the user. There was a problem.

又、システムに自動的にバックトラックさせるのではな
く、ユーザ自身にどこまで推論を戻すかを指示させる方
法では、ユーザがシステムの内部構造を理解している訳
ではないので、システム構築者でないユーザにどこまで
バックトラックさせるのかを指示させるのは難しかった
Also, in a method where the user instructs the user himself how far to go back inference, rather than having the system automatically backtrack, the user does not understand the internal structure of the system, so it is difficult for users who are not system builders to It was difficult to tell them how far to backtrack.

このように従来のルールベースシステムでは、自動的に
バックトラックする方法ではユーザの求める解を得づら
く、又、ユーザが指示する方法では、どこまで戻るかを
指示するのが難しいという問題点があった。
In this way, conventional rule-based systems have had the problem that it is difficult to obtain the solution the user is looking for using the method of automatically backtracking, and that it is difficult to instruct how far back to go when using the method that the user instructs. .

本発明は上記従来の欠点に鑑み、ルールベースシステム
の内部構造や、推論のメカニズムを知らないユーザでも
、容易にバックトラックを指示することができるバック
トラック方式を提供することを目的とするものである。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional drawbacks, it is an object of the present invention to provide a backtracking method that allows even a user who does not know the internal structure of a rule-based system or the inference mechanism to easily instruct backtracking. be.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の原理説明図であり、(a)はシステ
ム槽底の例を示し、(b)は動作フローを示している。
FIG. 1 is a diagram explaining the principle of the present invention, in which (a) shows an example of a system tank bottom, and (b) shows an operation flow.

上記の問題点は下記の如くに構成したルールベースシス
テムによるバックトラック方式によって解決される。
The above problems are solved by a backtracking method using a rule-based system configured as follows.

(1)  ユーザとの対話を行うユーザインタフェース
部lと、推論のための知識を記述したルールベース2と
、該ルールベース2を用いて推論を行う推論エンジン3
0と、該推論エンジン30によって推論された結果を記
録していく黒板4とを備えたルールベースシステムであ
って、 ユーザが推論結果に不満足なときに、ユーザの指示を受
け付けるバックトラック指示部10と。
(1) A user interface unit l that interacts with the user, a rule base 2 that describes knowledge for inference, and an inference engine 3 that performs inference using the rule base 2.
0 and a blackboard 4 for recording the results inferred by the inference engine 30, the backtrack instruction unit 10 accepts instructions from the user when the user is dissatisfied with the inference results. and.

該バックトラック指示部10の指示に従って、上記黒板
4の内容を戻し、上記推論エンジン30を再起動させる
バックトラック処理部5を備えて、ユーザの指示に基づ
いてバックトラックを行うように構成する。
A backtrack processing unit 5 is provided for returning the contents of the blackboard 4 and restarting the inference engine 30 according to instructions from the backtrack instruction unit 10, and is configured to perform backtracking based on the user's instructions.

(2)  上記ルールベースシステムの導いた仮説41
を画面上にレベル別に表示し、その画面上でユーザの仮
説の削除指示を受け取る仮説指示部10aをバックトラ
ック指示部10として設け、その削除指示に基づいて黒
板4中から仮説41を削除し、削除した仮説に基づく仮
説41も同時に削除する仮説削除部5aをバックトラッ
ク処理部5として設け、 ユーザが削除したい仮説41を指示することにより、該
指示された仮説41を、上記黒板4から削除し、その結
果に基づいて再推論するように構成する。
(2) Hypothesis 41 derived from the above rule-based system
A hypothesis instructing unit 10a is provided as a backtrack instructing unit 10 that displays on the screen by level and receives a user's hypothesis deletion instruction on the screen, and deletes the hypothesis 41 from the blackboard 4 based on the deletion instruction, A hypothesis deletion unit 5a that simultaneously deletes a hypothesis 41 based on the deleted hypothesis is provided as a backtrack processing unit 5, and when the user instructs a hypothesis 41 to be deleted, the specified hypothesis 41 is deleted from the blackboard 4. , and configure it to re-infer based on the result.

(3)上記ルールベースシステムで推論中にJL/ −
ルの適用履歴40を黒板4に記録する履歴保存部4aと
、その履歴40に基づいて推論の過程を表示し、その画
面上でユーザのバックトラック指示を受け取る推論過程
指示部10bをバックトラック指示部10として設け、 その指示に基づいて推論と黒板4の状態を戻す推論復帰
部5bをバックトラック処理部5として設け、 ユーザが戻りたい推論の過程を画面上で指示することに
より、希望する状態まで戻して、再推論するように構成
する。
(3) JL/- during inference with the above rule-based system
A history storage unit 4a that records an application history 40 of a rule on a blackboard 4, and an inference process instruction unit 10b that displays an inference process based on the history 40 and receives backtrack instructions from the user on the screen. An inference return unit 5b is provided as the backtrack processing unit 5, which returns the inference and the state of the blackboard 4 based on the instruction, and the user can return to the desired state by instructing on the screen the inference process he or she wants to return to. The configuration is configured to go back to the previous point and re-infer.

(4)上記ルールベースシステムで推論中にルールの適
用履歴40を黒板4に記録する履歴保存部4aと、シス
テムが導いた最終的な解の情報を表示し、それに対する
ユーザのバックトラック指示を受け取る解状態指示部1
0cをバックトラック指示部10として設け、 その指示された属性を生ずることになったルールの状態
まで推論と、黒板4の状態を戻す状態復帰部5Cをバッ
クトラック処理部5として設け、ユーザが戻したい状態
を画面上で指示することにより、希望する状態まで戻っ
て再推論するように構成する。
(4) A history storage unit 4a that records the application history 40 of rules on the blackboard 4 during inference in the rule-based system, and displays information on the final solution derived by the system and allows the user to backtrack instructions for it. Receive solution status indicator 1
0c is provided as a backtrack instruction section 10, and a state return section 5C is provided as a backtrack processing section 5 that infers the state of the rule that caused the specified attribute and returns the state of the blackboard 4. By specifying the desired state on the screen, the system returns to the desired state and re-infers.

〔作用〕[Effect]

即ち、本発明によれば、ユーザとの対話を行うユーザイ
ンタフェース部と、推論のための知識を記述したルール
ベースと、該ルールベースヲ用いて推論を行う推論エン
ジンと、該推論エンジンによって推論された結果を記録
していく黒板とを備えたルールベースシステムにおいて
、推論結果にユーザが満足しなかった場合のバックトラ
ックの指示を可能にするために、ユーザにバックトラッ
クを指示させるバックトラック指示部と、実際のバック
トラック処理を行うバックトラック処理部を設けている
That is, according to the present invention, a user interface unit that interacts with a user, a rule base that describes knowledge for inference, an inference engine that performs inference using the rule base, and information that is inferred by the inference engine. In a rule-based system equipped with a blackboard for recording inference results, a backtrack instruction section allows a user to instruct backtracking in order to enable backtracking instructions when the user is not satisfied with the inference results. In addition, a backtrack processing section is provided that performs actual backtrack processing.

ユーザは、ユーザインタフェース部を通じてシステムと
のインタラクションを行う。推論部でルールを利用して
推論を行い、推論の途中結果や最終結果はメモリである
黒板に書き込まれる。
A user interacts with the system through a user interface. The inference section uses rules to make inferences, and intermediate and final results of inferences are written on the blackboard, which is memory.

バックトラック指示部は、ユーザインタフェース部の一
部として機能し、画面にバックトラック指示のための画
面を表示し、その画面上でユーザがどこを直したいかに
ついての情報を受け取り、それをバックトラック処理部
に渡す。
The backtracking instruction section functions as a part of the user interface section, displays a screen for backtracking instructions on the screen, receives information about what the user wants to fix on the screen, and backtracks it. Pass it to the processing section.

バックトラック処理部では、受け取った情報に基づいて
、黒板の内容を戻す処理を行い、再推論のために推論部
を再起動する。
The backtrack processing unit performs processing to return the contents of the blackboard based on the received information, and restarts the inference unit for re-inference.

この処理の手順を以下に示す(第1図(b)の動作フロ
ー参照) ■ 推論を行い、その途中結果や履歴を黒板に記録する
The procedure for this process is shown below (see the operation flow in FIG. 1(b)). (1) Inference is made and intermediate results and history are recorded on the blackboard.

■ 推論終了後にユーザから結果に不満足であるという
指示を受けたなら、バックトラック指示部によってバッ
クトラック画面を表示し、ユーザのバックトラック指示
を受け取る。
(2) If an instruction is received from the user that the result is unsatisfactory after the inference is completed, the backtrack instruction section displays a backtrack screen and receives the user's backtrack instruction.

■ ■のバックトラック指示をバックトラック処理部へ
渡し、バックトラック処理を行う。
(2) Pass the backtrack instruction (2) to the backtrack processing unit and perform backtrack processing.

■ 黒板をユーザの希望する状態まで戻したら、推論部
を再起動する。
■ After returning the blackboard to the state desired by the user, restart the reasoning section.

このように機能するので、ユーザがシステムの推論結果
に不満足でバックトラックを行うとき、画面上でバック
トラックの位置を指示でき、システムの内部構造や、推
論メカニズムを知らないユーザでも、容易にバックトラ
ックを指示することができる効果がある。
Because it functions in this way, when a user backtracks because he is dissatisfied with the system's inference results, he can indicate the backtrack position on the screen, making it easy for users to backtrack even if they do not know the internal structure of the system or the inference mechanism. It has the effect of directing the track.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

前述の第1図が本発明の原理説明図であり、第2図は本
発明の一実施例を示した図であって、(a)は動作フロ
ー例を示し、(b)はP!識対象図面の例を示し、(c
)は推論終了時の黒板の内容の例を示し、(d)は円の
仮説を表示した例を示し、(e〉はバックトラック処理
後の黒板の例を示し、Cf’)は再推論後の仮説の表示
例を示しており、第3図は本発明の他の実施例を示した
図であって、(a)は動作フロー例を示し、(b)は推
論終了時の黒板の例を示し、(c)はバックトラック指
示画面の例を示し、(d)はバックトラック処理後の黒
板の例を示しており、第4図は本発明の他の実施例を示
した図であって、(a)は動作フローを示し、(b)は
推論終了時の黒板の状態例を示し、(c)はバックトラ
ックの指示画面例を示し、(d)はバックトラック処理
後の黒板の状態例を示していて、ユーザにバックトラッ
クを指示させるバックトラック指示部10と、実際のバ
ックトラック処理を行うバックトラック処理部5とを設
けて、ユーザからの推論結果が不満足であるという指示
に基づいて、該バックトラック指示部10が、画面にバ
ックトラック指示の為の画面を表示し、その画面上でユ
ーザがどこを直したいかを指示させ、その情報に基づい
て、バックトラック処理部5が黒板の内容を戻して、再
推論の為に推論部に再起動を行う手段が本発明を実施す
るのに必要な手段である。尚、全図を通して同じ符号は
同じ対象物を示−している。
The above-mentioned FIG. 1 is a diagram explaining the principle of the present invention, and FIG. 2 is a diagram showing an embodiment of the present invention, where (a) shows an example of the operation flow, and (b) shows the P! An example of a target drawing is shown, (c
) shows an example of the content of the blackboard at the end of the inference, (d) shows an example of displaying the circle hypothesis, (e> shows an example of the blackboard after backtrack processing, and Cf') shows the content after re-inference. FIG. 3 is a diagram showing another embodiment of the present invention, in which (a) shows an example of the operation flow, and (b) shows an example of the blackboard at the end of the inference. , (c) shows an example of a backtrack instruction screen, (d) shows an example of a blackboard after backtrack processing, and FIG. 4 is a diagram showing another embodiment of the present invention. (a) shows the operation flow, (b) shows an example of the state of the blackboard at the end of inference, (c) shows an example of the backtracking instruction screen, and (d) shows the blackboard after backtracking processing. A backtrack instruction unit 10 that indicates a state example and allows the user to instruct backtracking, and a backtrack processing unit 5 that performs actual backtrack processing are provided. Based on this, the backtrack instruction section 10 displays a screen for backtrack instruction on the screen, allows the user to instruct what he/she wants to fix on the screen, and based on that information, the backtrack processing section 5 The means for returning the contents of the blackboard and restarting the inference section for re-inference are necessary means for carrying out the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

以下、第1図を参照しながら、第2図〜第4図によって
、本発明のルールベースシステムにおけるバックトラッ
ク方式を説明する。
Hereinafter, the backtrack method in the rule-based system of the present invention will be explained with reference to FIG. 1 and FIGS. 2 to 4.

(例1) 以下では、本発明のバックトラック方式を図面認識ルー
ルベースシステムに適用した例を、第2図によって説明
する。
(Example 1) An example in which the backtrack method of the present invention is applied to a drawing recognition rule-based system will be described below with reference to FIG. 2.

このシステムでは、図形をボトムアップに、即ち、円、
三角形等の単体図形の認識から複合図形に認識していく
This system analyzes shapes from the bottom up, i.e., circles,
From recognition of simple shapes such as triangles, to complex shapes.

そのためのルールは、以下のように記述されている。The rules for this are described as follows.

ルールA IP (and (X isa  ループ)(Xの円形
度> 0.8))TtlEN (create円’(X
) 0.6)これは、ある図形Xがループであり、かつ
その図形Xの円形度が0.8より大きいとき、その図形
Xが円であるという仮説のデータを作り、その確信度を
0.6にするということを意味している。
Rule A IP (and (X isa loop) (X circularity > 0.8)) TtlEN (create circle' (X
) 0.6) This is when a certain figure X is a loop and the circularity of that figure It means to set it to .6.

更に、以下のようなルールがあったとする。Furthermore, suppose we have the following rules.

ルールB IP (and (X isa  円)(Yisa三角
形)(X接触Y))THEN (create  図形
P  ’(X Y) 0.7)これは、ある図形Xが円
であり、かつその図形Yの円形度が0.8より大きいと
き、図形Xと図形Yから図形Pの仮説を作り、その確信
度を0.7にすることを意味している。
Rule B IP (and (X isa circle) (Yisa triangle) (X contact Y)) THEN (create figure P '(X Y) 0.7) This means that a certain figure X is a circle, and that figure Y When the degree of circularity is greater than 0.8, it means that a hypothesis for figure P is created from figure X and figure Y, and its confidence level is set to 0.7.

このようなシステムの場合、処理は以下の手順で行われ
る((a)図参照) ■ 推論部3は、上記ルールA、Bを適用しながら、ど
の仮説41が何を元にして構成されているかを、後ろ向
き結合スロットに、その仮説がどの仮説の構成要素とな
っているかを前向き結合スロットに記録する。この仮説
41を黒板4に記録していく、該推論処理は、適用でき
るルールがなくなったときに終了する。
In the case of such a system, the processing is performed according to the following steps (see figure (a)). ■ The inference unit 3 applies the above rules A and B and determines which hypothesis 41 is formed based on what. Record whether the hypothesis is a component in the backward binding slot, and record which hypothesis the hypothesis is a component of in the forward binding slot. The inference process of recording this hypothesis 41 on the blackboard 4 ends when there are no more applicable rules.

■ 該推論終了後に、ユーザにシステムの解を表示する
。ユーザが削除したい仮説41があればそれを指示する
。削除した仮説41がなければ終了する。
■ Display the solution of the system to the user after the inference is completed. If there is a hypothesis 41 that the user wants to delete, he or she instructs it. If there is no deleted hypothesis 41, the process ends.

(ステップ10a参照) ■ ユーザの指示した図形の仮説41を検索し、その仮
説41を削除対象とする。更に、その仮説41の前向き
結合スロットを順番に辿り、削除対象を求める。
(See step 10a) ① Search for the hypothesis 41 of the figure specified by the user, and set the hypothesis 41 as a deletion target. Furthermore, the forward connection slots of the hypothesis 41 are followed in order to find the deletion target.

■ 前向きスロットに記述される仮説41がなくなった
ら、今までの削除リストにある仮説41を黒板4から削
除する。(ステップ5a参照)■ 推論部3を再起動す
る。
■ When there are no more hypotheses 41 written in the forward-facing slots, the hypotheses 41 on the deletion list up until now are deleted from the blackboard 4. (See step 5a) ■ Restart the inference section 3.

例えば、(b)図に示した図面について認識を行ってい
るとき、ルールAと、ルールBによって円や図形Pと推
論された仮説41は、(c)図に示した如くに、黒板4
に記録される。
For example, when recognizing the drawing shown in figure (b), the hypothesis 41 inferred to be a circle or figure P based on rule A and rule B is
recorded in

ここで、「後ろ向き結合」は、仮説41が何を元にして
いるかを示し、「前向き結合」は仮説から何ができてい
るかを示している。
Here, "backward connection" indicates what the hypothesis 41 is based on, and "forward connection" indicates what is made from the hypothesis.

推論が終了し、ユーザが結果に不満足ならば、該不満足
であることを指示すると、システムは仮説41を下のレ
ベル、即ち、円、三角形といった単一図面から順番に、
例えば、特定の色で、或いは、実線で表示していく。
If the inference is completed and the user is not satisfied with the result, and the user indicates this dissatisfaction, the system will sequentially update the hypothesis 41 from the lower level, i.e. from a single drawing such as a circle, a triangle, etc.
For example, it may be displayed in a specific color or as a solid line.

この場合は、まずルールAによって導かれた円について
の仮説41を表示する。  ((d)図の実線の図形) ここで、ユーザは表示された図形のうち、取り消したい
図形gを指示したとする。
In this case, first, a hypothesis 41 about the circle derived from rule A is displayed. ((d) Solid-line figure in the figure) Here, it is assumed that the user has designated a figure g that he wants to cancel out of the displayed figures.

すると、システムは指示された図形gが示す仮説41の
フレーム「円2」を検索し、その仮説41の前向き結合
スロットを辿り、そこに記述されている仮説「図形P2
Jも削除対象とする。こうして、削除対象「円2」 「
図形P2Jを求め、それらを黒板4から削除する((e
)図参照)次に、ルールBによって導かれた図形Pにつ
いての仮説41を表示する。  ((f)図参照)この
とき、仮説「図形P2Jはすでに除去されているので図
形P1だけが表示される。
Then, the system searches for the frame "Circle 2" of the hypothesis 41 indicated by the indicated figure g, traces the forward connection slot of that hypothesis 41, and searches for the hypothesis "Figure P2" described there.
J is also subject to deletion. In this way, the deletion target "Yen 2""
Find the figures P2J and delete them from the blackboard 4 ((e
) Refer to the figure) Next, a hypothesis 41 about the figure P derived from the rule B is displayed. (See figure (f)) At this time, the hypothesis ``Since the figure P2J has already been removed, only the figure P1 is displayed.

そして、仮説41に対するバックトラック処理が終わる
と、推論部3を再起動し、同じルールA。
When the backtracking process for the hypothesis 41 is finished, the inference unit 3 is restarted and the same rule A is applied.

Bに基づいて再推論を実行する。Perform re-inference based on B.

その結果、例えば、上記(f)図と同じ仮説が表示され
る。
As a result, for example, the same hypothesis as in Figure (f) above is displayed.

(例2) 以下では、本発明によるバックトラック方式をコンピュ
ータグラフィックス(CG)エキスパートシステムに適
用した例を、第3図によって説明する。
(Example 2) An example in which the backtrack method according to the present invention is applied to a computer graphics (CG) expert system will be described below with reference to FIG.

ここで、ルールは以下のように記述されているとする。Assume that the rule is written as follows.

ルールP 1F (and  (対象面 状態 曲面)(対象面視
野変換 処理済)) THEN  (実行 多角形分割) 状態変化(対象面 状態 多角形) これは、対象面のタイプが曲面で、且つ、その面が視野
変換済ならば、多角形分割を行い、その効果として対象
面の状態を多角形にすることを意味している。
Rule P 1F (and (target surface state curved surface) (target surface field of view conversion processed)) THEN (execution polygon division) state change (target surface state polygon) This means that the type of the target surface is a curved surface and its If the surface has undergone visual field conversion, it means that polygon division is performed and the effect of this is to change the state of the target surface into a polygon.

このシステムで−は、対象面の状態が上記ルールPOI
F文の条件と一致したルールのTIIEN文に記述され
ている技法、即ち、多角形分割が対象面について実行さ
れ、それと同時に対象面の状態は、状態変化部に記述さ
れる状態へ変化する。
In this system, the state of the target surface is the above rule POI
The technique described in the TIIEN statement of the rule matching the conditions of the F statement, that is, polygon division, is executed on the target surface, and at the same time, the state of the target surface changes to the state described in the state change section.

このシステムでの処理の手順を以下に示す。The processing steps in this system are shown below.

((a)図参照! ■ 推論部3は、ルールPを適用しながら、どのルール
を通用したときに、どの技法が対象面に対して処理され
、その結果、対象面の状態がどのように変化するかを黒
板4に記録する。対象面が終了状態になったら、該推論
が終了する。この終了結果は図示されていないコンピュ
ータグラフィックス(以下、CGという)システムに送
出される。
(See figure (a)!) ■ The inference unit 3, while applying the rule P, determines which rule is applied, which technique is applied to the target surface, and how the state of the target surface is as a result. The change is recorded on the blackboard 4. When the target surface reaches the finished state, the inference is finished. This finished result is sent to a computer graphics (hereinafter referred to as CG) system, not shown.

■ 該推論終了後、上記CGシステムが表示するCG再
画像ユーザが見て、その結果に不満足なら、それを指示
することにより、システムは黒板に保存しておいた「状
態」と「技法」の変化を画面上にグラフとして表示する
■ After the inference is completed, the user looks at the CG image displayed by the CG system, and if he or she is not satisfied with the result, the system can update the "state" and "technique" stored on the blackboard by indicating this. Display the changes as a graph on the screen.

■ ユーザはそれに対してどの状態まで戻るかを「技法
」、又は、「状態」を指すことで指示する。該指示され
た「技法」、又は、「状態」はバックトラック処理部5
へ渡され、その技法を適用したところ、又は、その状態
になったところまで黒板4の後戻り処理が行われる。(
処理ステップ10b、5b参照) ■ 推論部3を再起動する。
■ The user instructs the state to which it should return by pointing to the "technique" or "state." The instructed “technique” or “state” is processed by the backtrack processing unit 5.
, and the blackboard 4 is backtracked to the point where the technique is applied or the state is reached. (
(See processing steps 10b and 5b) ① Restart the inference unit 3.

上記■の推論終了時に(b)図のような推論の履歴40
が黒板4に記述されていたとする。
At the end of the above inference, (b) the inference history 40 as shown in the figure
Suppose that is written on blackboard 4.

このとき、ユーザからの不満足の指示に基づいて、シス
テムは現在のルールPと履歴40を利用して、(c)図
に示すような推論過程のグラフを表示する。ここでOは
、面の状態を示し、OとOの間の→、・−÷は、技法を
示す0面の初期状態はa。
At this time, based on the dissatisfaction instruction from the user, the system uses the current rule P and the history 40 to display a graph of the inference process as shown in FIG. Here, O indicates the state of the surface, and →, ·-÷ between O and O indicates the technique. The initial state of the 0 surface is a.

終了状態は2である。The end status is 2.

ユーザはバックトラック指示として、「技法」か、又は
、1面の状態」を指示する。ここで、ユーザが技法「視
野変換」まで戻ることを指示したとする。
The user instructs ``technique'' or ``state of one page'' as a backtrack instruction. Now, assume that the user instructs to return to the technique "field of view transformation".

指示された技法「視野変換」はバックトラック処理部5
へ渡され、該「視野変換」を適用したところまで、対象
面の状態を戻す「黒板の後戻り処理」が行われる。((
d)図参照) そして、推論部3を再起動し、同じルールに対して新た
な推論を実行する。
The instructed technique “view conversion” is performed by the backtrack processing unit 5.
, and "backward processing of the blackboard" is performed to return the state of the target surface to the point where the "view field transformation" has been applied. ((
d) See figure) Then, the inference unit 3 is restarted and a new inference is executed for the same rule.

(例3) 次に、本発明のバックトラック方式を、画像処理エキス
パートシステムに適用した例を、第4図によって説明す
る。
(Example 3) Next, an example in which the backtrack method of the present invention is applied to an image processing expert system will be described with reference to FIG.

ここで、ルールは以下のように記述されているとする。Assume that the rule is written as follows.

ルールX IP (and  (対象画像 種類 二値)(対象画
像雑音 大きい)) THEN  雑音除去1 効果 ((対象画像 雑音 小さい)(対象画像鮮明度
 小さい)) これは、対象画像の種類が二値であり、対象画像の雑音
が大きいとき、「雑音除去1」を実行し、その効果とし
て対象画像の雑音が小さくなり、鮮明度が小さくなるこ
とを示す。
Rule When the noise in the target image is large, "Noise Removal 1" is executed, and the effect is that the noise in the target image becomes smaller and the sharpness becomes smaller.

このシステムでは、対象画像の状態がルールXのIF条
件と一敗したルールのTHfiN文に記述されている処
理(「雑音除去IJ)が対象画像について実行され、そ
れと同時に対象画像の状態は効果に記述される状態へ変
化する。
In this system, the state of the target image is the IF condition of rule Change to the state described.

このシステムでの処理の手順を以下に示す。The processing steps in this system are shown below.

((a)図の動作フロー参照) ■ 推論部3は、ルールXを適用しながら、該ルールX
を適用したときに、該ルールXのTHEN文が指示する
どの処理(「雑音除去1」)が画像に対して処理され、
その結果、対象画像の状態は効果に記述される状態へ変
化したことを黒板4に履歴40として記録する。適用で
きるルールがなくなったら、推論を終了し、図示されて
いない、表示装置に処理結果の画像を表示する。
(Refer to the operation flow in figure (a)) ■ The inference unit 3 applies the rule
When applying , which process (``noise removal 1'') specified by the THEN statement of rule X is applied to the image,
As a result, the fact that the state of the target image has changed to the state described in the effect is recorded on the blackboard 4 as a history 40. When there are no more applicable rules, the inference is terminated and an image of the processing result is displayed on a display device (not shown).

■ 推論終了後、ユーザは該表示された画像を見て、そ
の結果に不満足なら、システムに指示すると、システム
はユーザに推論が終わった時点での画像の状態(属性)
を表示する。
■ After the inference is completed, the user looks at the displayed image and, if unsatisfied with the result, instructs the system, and the system tells the user the state (attributes) of the image at the time the inference is completed.
Display.

■ ユーザは表示された画像の状態のうち望ましくない
ものを指摘する。システムは、指摘された状態を生ずる
ことになった処理(「雑音除去IJ)の実行前まで、画
像の状態を戻す後戻り処理を行う。〈処理ステップ10
c、5c参照)■ システムは推論部3を再起動する。
■ The user points out undesirable conditions in the displayed image. The system performs backtracking processing to return the state of the image to the point before the execution of the processing ("noise removal IJ") that caused the indicated state. <Processing step 10
c, 5c) ■ The system restarts the inference unit 3.

上記の処理において、推論終了時に(b)図のような履
歴4aが黒板に記録されていたとする。
In the above process, it is assumed that a history 4a as shown in FIG.

システムは、黒板4のデータ (履歴40)を元に現在
の画像の状1!(属性)を表示する。((C)図参照) ここで、ユーザが画像の鮮明度が小さいことを不満足な
点として指摘したとする。
The system calculates the current image state 1 based on the data on blackboard 4 (history 40)! Display (attribute). (See figure (C)) Here, assume that the user points out that the image clarity is low as a point of dissatisfaction.

そこで、システムは画像の鮮明度が小さくなる原因とな
った、上記「雑音除去l」を適用する前の状態まで画像
の状態を戻す、  ((d)図参照)そして、推論部3
を再起動し、別の方法で雑音除去を行うルールを選択し
、再推論を行う。
Therefore, the system restores the image state to the state before applying the above-mentioned "noise removal l" which caused the image clarity to decrease (see figure (d)).Then, the inference unit 3
Restart , select a different method of denoising, and re-inference.

以上、3例について、本発明によるバックトラック方式
を説明したが、本発明によるバックトラック方式は、推
論結果についてユーザが不満であることをシステムに指
示したとき、システムは、推論結果である「仮説」を表
示するとか、推論の過程を表示するとか、或いは、最終
的な解の状態を表示し、該表示された画面上において、
ユーザにバックトラック点を指示させ、その指示に基づ
いてシステムがバックトラックを行うようにしたところ
に特徴がある。
The backtracking method according to the present invention has been described above with respect to three examples. In the backtracking method according to the present invention, when the user instructs the system that he is dissatisfied with the inference result, the system ”, the inference process, or the state of the final solution, and on the displayed screen,
The feature is that the user specifies the backtrack point, and the system performs backtracking based on the instruction.

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

以上、詳細に説明したように、本発明のルールベースシ
ステムにおけるバックトラック方式は、ユーザとの対話
を行うユーザインタフェース部と。
As described above in detail, the backtrack method in the rule-based system of the present invention includes a user interface unit that interacts with the user.

推論のための知識を記述したルールベースと、該ルール
ベースを用いて推論を行う推論エンジンと。
A rule base that describes knowledge for inference, and an inference engine that performs inference using the rule base.

該推論エンジンによって推論された結果を記録していく
黒板とを備えたルールベースシステムにおいて、ユーザ
が推論結果に不満足なときに、ユーザの指示を受け付け
るバックトラック指示部と。
A backtrack instruction unit that accepts instructions from a user when the user is dissatisfied with the inference results in a rule-based system comprising a blackboard for recording results inferred by the inference engine.

該バックトラック指示部の指示に従って、上記黒板の内
容を戻し、上記推論エンジンを再起動させるバックトラ
ック処理部を備えるように構威し、上記バックトラック
指示部、及び、バックトラック処理部として、システム
の導いた仮説を画面上にレベル別に表示し、その画面上
で削除したい仮説を指示させて黒板の状態を戻すか、或
いは、推論中でのルールの適用過程を表示し、その画面
上でバックトラックの指示を受けて黒板の状態を戻すか
、或いは、システムが導いた最終的な解の情報を表示し
、その画面上でユーザの不満足な解を指示させ、その指
示された属性を生ずることになったルールの状態迄、推
論と黒板の状態を戻す機構を設けて、そのユーザに指示
された状態から再推論を行うようにしたものであるので
、ユーザがシステムの推論結果に不満足でバックトラッ
クを行うときに、表示画面上でバックトラックの指示が
できるため、システムの内部構造や推論メカニズムを知
らないユーザでも、容易にバックトラックを指示するこ
とが可能となる効果がある。
The system is configured to include a backtrack processing unit that returns the contents of the blackboard and restarts the inference engine according to instructions from the backtrack instruction unit, and the system functions as the backtrack instruction unit and the backtrack processing unit. You can display the hypotheses derived by level on the screen and return to the blackboard state by specifying the hypothesis you want to delete on the screen, or display the process of applying the rules during inference and back up on the screen. Return the state of the blackboard in response to instructions from the truck, or display information on the final solution derived by the system, have the user indicate an unsatisfactory solution on the screen, and produce the indicated attributes. A mechanism is provided to return the inference and blackboard state to the state of the rule that has been reached, and re-inference is performed from the state instructed by the user, so if the user is dissatisfied with the system's inference results and backs up. Since backtracking can be instructed on the display screen when tracking, even a user who does not know the internal structure or inference mechanism of the system can easily instruct backtracking.

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

第1図は本発明の原理説明図。 第2図は本発明の一実施例を示した図。 第3図は本発明の他の実施例を示した図。 第4図は本発明の他の実施例を示した図。 第5図は従来のルールベースシステムを説明する図。 である。 り指示。 2はルールベース、  3は推論部。 30は推論エンジン、  4は黒板。 40は履歴、       41は仮説。 5はバックトラック処理部、又は、バックトラック処理
。 10a、 10b、 10c、 5a、 5b、 5c
は処理ステップ。 をそれぞれ示す。 図面において、 1はユーザインタフェース部。 10はバックトラック指示部、又は、バックトラツ第1
図(その1) 第 図 (その1) 41) 第1図(その2) (b) 第 図 (その2) (e) 第 図 (その3) 第 図 (その1) 第 図 (その4) 第3 図 (その2) 第 3 図 (その3) 第 図 (その2) 第 図 (その1) 第 図 (その3)
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 is a diagram showing an embodiment of the present invention. FIG. 3 is a diagram showing another embodiment of the present invention. FIG. 4 is a diagram showing another embodiment of the present invention. FIG. 5 is a diagram explaining a conventional rule-based system. It is. instructions. 2 is the rule base, 3 is the inference part. 30 is an inference engine, 4 is a blackboard. 40 is history, 41 is hypothesis. 5 is a backtrack processing unit or backtrack processing. 10a, 10b, 10c, 5a, 5b, 5c
is a processing step. are shown respectively. In the drawing, 1 is a user interface section. 10 is a backtrack instruction section or backtrack first
Figure (Part 1) Figure (Part 1) 41) Figure 1 (Part 2) (b) Figure (Part 2) (e) Figure (Part 3) Figure (Part 1) Figure (Part 4) Figure 3 (Part 2) Figure 3 (Part 3) Figure (Part 2) Figure (Part 1) Figure (Part 3)

Claims (4)

【特許請求の範囲】[Claims] (1)ユーザとの対話を行うユーザインタフェース部(
1)と、推論のための知識を記述したルールベース(2
)と、該ルールベース(2)を用いて推論を行う推論エ
ンジン(30)と、該推論エンジン(30)によって推
論された結果を記録していく黒板(4)とを備えたルー
ルベースシステムであって、ユーザが推論結果に不満足
なときに、ユーザの指示を受け付けるバックトラック指
示部(10)と、該バックトラック指示部(10)の指
示に従って、上記黒板(4)の内容を戻し、上記推論エ
ンジン(30)を再起動させるバックトラック処理部(
5)を備えて、 ユーザの指示に基づいてバックトラックを行うことを特
徴とするルールベースシステムにおけるバックトラック
方式。
(1) User interface section (
1) and a rule base (2) that describes knowledge for inference.
), an inference engine (30) that performs inference using the rule base (2), and a blackboard (4) that records the results inferred by the inference engine (30). When the user is dissatisfied with the inference result, a backtrack instruction unit (10) that accepts instructions from the user returns the contents of the blackboard (4) according to the instructions of the backtrack instruction unit (10), and a backtrack processing unit (
5) A backtracking method in a rule-based system, characterized in that backtracking is performed based on a user's instruction.
(2)上記ルールベースシステムの導いた仮説(41)
を画面上にレベル別に表示し、その画面上でユーザの仮
説の削除指示を受け取る仮説指示部(10a)をバック
トラック指示部(10)として設け、その削除指示に基
づいて黒板(4)中から仮説(41)を削除し、削除し
た仮説に基づく仮説(41)も同時に削除する仮説削除
部(5a)をバックトラック処理部(5)として設け、 ユーザが削除したい仮説(41)を指示することにより
、該指示された仮説(41)を、上記黒板(4)から削
除し、その結果に基づいて再推論することを特徴とする
請求項1に記載のルールベースシステムにおけるバック
トラック方式。
(2) Hypothesis derived from the above rule-based system (41)
A hypothesis instruction section (10a) is provided as a backtrack instruction section (10) that displays hypotheses by level on the screen and receives a user's instruction to delete a hypothesis on the screen, and based on the deletion instruction, deletes a hypothesis from the blackboard (4). A hypothesis deletion unit (5a) that deletes the hypothesis (41) and also deletes the hypothesis (41) based on the deleted hypothesis at the same time is provided as a backtrack processing unit (5), and the user instructs the hypothesis (41) to be deleted. 2. The backtrack method in a rule-based system according to claim 1, wherein the indicated hypothesis (41) is deleted from the blackboard (4) and re-inference is performed based on the result.
(3)上記ルールベースシステムで推論中にルールの適
用履歴(40)を黒板(4)に記録する履歴保存部と、
その履歴(40)に基づいて推論の過程を表示し、その
画面上でユーザのバックトラック指示を受け取る推論過
程指示部(10b)をバックトラック指示部(10)と
して設け、 その指示に基づいて推論と黒板(4)の状態を戻す推論
復帰部(5b)をバックトラック処理部(5)として設
け、 ユーザが戻りたい推論の過程を画面上で指示することに
より、希望する状態まで戻って再推論することを特徴と
する請求項1に記載のルールベースシステムにおけるバ
ックトラック方式。
(3) a history storage unit that records the application history (40) of rules on a blackboard (4) during inference in the rule-based system;
An inference process instruction unit (10b) is provided as a backtrack instruction unit (10) that displays the inference process based on the history (40) and receives backtrack instructions from the user on the screen, and makes inferences based on the instructions. An inference return unit (5b) that returns the state of the blackboard (4) is provided as a backtrack processing unit (5), and the user can return to the desired state and re-infer by instructing on the screen the inference process he or she wishes to return to. A backtrack method in a rule-based system according to claim 1.
(4)上記ルールベースシステムで推論中にルールの適
用履歴(40)を黒板(4)に記録する履歴保存部とシ
ステムが導いた最終的な解の情報を表示し、それに対す
るユーザのバックトラック指示を受け取る解状態指示部
(10c)をバックトラック指示部(10)として設け
、 その指示された属性を生ずることになったルールの状態
まで推論と、黒板(4)の状態を戻す状態復帰部(5c
)をバックトラック処理部(5)として設け、 ユーザが戻したい状態を画面上で指示することにより、
希望する状態まで戻って再推論することを特徴とする請
求項1に記載のルールベースシステムにおけるバックト
ラック方式。
(4) A history storage unit that records the rule application history (40) on the blackboard (4) during inference using the above rule-based system, and displays information on the final solution derived by the system, allowing the user to backtrack on it. A solution state instruction section (10c) that receives instructions is provided as a backtrack instruction section (10), and a state recovery section that infers to the state of the rule that caused the specified attribute and returns the state of the blackboard (4). (5c
) is provided as a backtrack processing unit (5), and by instructing the state the user wants to return to on the screen,
2. The backtracking method in a rule-based system according to claim 1, characterized in that the inference is re-inferred by returning to a desired state.
JP2060547A 1990-03-12 1990-03-12 Back tracking system for rule base system Pending JPH03260834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2060547A JPH03260834A (en) 1990-03-12 1990-03-12 Back tracking system for rule base system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2060547A JPH03260834A (en) 1990-03-12 1990-03-12 Back tracking system for rule base system

Publications (1)

Publication Number Publication Date
JPH03260834A true JPH03260834A (en) 1991-11-20

Family

ID=13145425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2060547A Pending JPH03260834A (en) 1990-03-12 1990-03-12 Back tracking system for rule base system

Country Status (1)

Country Link
JP (1) JPH03260834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141187A (en) * 1993-06-24 1995-06-02 Nec Corp Data analysis supporting system and its method
WO2022130522A1 (en) * 2020-12-16 2022-06-23 日本電気株式会社 Information processing device, hypothesis generation method, program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07141187A (en) * 1993-06-24 1995-06-02 Nec Corp Data analysis supporting system and its method
WO2022130522A1 (en) * 2020-12-16 2022-06-23 日本電気株式会社 Information processing device, hypothesis generation method, program, and recording medium

Similar Documents

Publication Publication Date Title
US5235679A (en) Guidance method and apparatus upon a computer system
US5847956A (en) Automatic trimming of geometric objects in CAD/CAM systems
CN117853600A (en) Image generation method, device, electronic device and storage medium
JPH05307476A (en) Tree structure display editing device
JPH06180661A (en) File search method
JPH0659844A (en) User adaptive system and its adaptation method
CN119271756A (en) Route generation method, system and storage medium based on multimodal large model
JPH03260834A (en) Back tracking system for rule base system
JPH1145271A (en) Computer-readable recording medium storing a program for causing a computer to execute a method for inputting search conditions and each step of the method
JP3943623B2 (en) Image editing apparatus and control method thereof
JPH0680510B2 (en) Image information retrieval device
JPH0816669A (en) Information processing device with form editing function
US20250307040A1 (en) Managing data output of a workflow
JP2018018458A (en) Input support device and input support program
CN119003058B (en) Interaction methods, devices and electronic devices
JP7851355B2 (en) Information processing device, information processing method
JPH0689177A (en) Method and system for rewinding state of expert system
JPH10222689A (en) Graphic display method and apparatus, and storage medium storing graphic display program
CN115599042B (en) A robot process package construction method and system
JP3157917B2 (en) Data processing method and data processing device
JP3699569B2 (en) Image creating apparatus and method
WO2025218532A1 (en) Interface display method, apparatus and system during execution of automatic task
JPH08137698A (en) Execution control system and method thereof
JP4576878B2 (en) Transaction processing system and method, and program
JPH03259385A (en) Graphic structure data display device with omission display function