JPS6376018A - Controlling method for reason - Google Patents

Controlling method for reason

Info

Publication number
JPS6376018A
JPS6376018A JP61222423A JP22242386A JPS6376018A JP S6376018 A JPS6376018 A JP S6376018A JP 61222423 A JP61222423 A JP 61222423A JP 22242386 A JP22242386 A JP 22242386A JP S6376018 A JPS6376018 A JP S6376018A
Authority
JP
Japan
Prior art keywords
input data
network
reason
links
link
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
JP61222423A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yoshida
裕之 吉田
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 JP61222423A priority Critical patent/JPS6376018A/en
Publication of JPS6376018A publication Critical patent/JPS6376018A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain bidirectional rapid search by forming a link as a main body and forming network expression connecting a bidirectional pointer between a link corresponding to an intermediate result and a final conclusion and another link. CONSTITUTION:When a problem setting system body 1 detects the contradiction of a conclusion, the body 1 inquires the reason of an inference to a reason reference part 23 to be a submodule of a network control part 2 and the reference part 23 returns only leaves of the tree of the reason regarding a specified ink as its root by referring network expression 4 to the body 1 as a result. If the body 1 detects an error from the returned hypothesis or input data or when a user detects an error in the input data on the way of use and corrects the error, the body 1 commands an influence control part 25 to annual the inference. Then, the influence control part 25 deletes all the links up to the root along the tree of the reason regarding the specified links as leaves by referring the network expression 4 from a storage area. Thus, the tree of the reason can be rapidly and bidrectionally followed.

Description

【発明の詳細な説明】 [概要] 根拠の管理方法であって、ノードとリンクからなるネッ
トワークを用いて入力データ、中間結論。
[Detailed Description of the Invention] [Summary] A method for managing evidence, which uses a network consisting of nodes and links to obtain input data and intermediate conclusions.

仮説、最終結論等を表現し、推論を行うことにより問題
を解決するシステムにおいて、結論からその根拠となっ
た仮説や入力データを或いはこれと逆に仮説や入力デー
タからそれを根拠として推論された結論を速やかに参照
するために、リンクを主体としてネットワークを表現し
、中間結論、最終結論に対応するリンクとその直接の根
拠に対応するリンクとの間に双方向のポインタを設ける
ことにより根拠の連鎖を高速に辿ることを可能にする。
In a system that solves a problem by expressing a hypothesis, final conclusion, etc. and making inferences, an inference is made based on the hypothesis or input data that is the basis for the conclusion, or conversely, based on the hypothesis or input data. In order to quickly refer to the conclusion, the network is represented mainly by links, and a two-way pointer is provided between the link corresponding to the intermediate or final conclusion and the link corresponding to its direct basis. Allows you to follow the chain quickly.

[産業上の利用分野] 本発明は、根拠の管理方法に関し、更に詳しくはノード
とリンクからなるネットワークを用いて入力データ、中
間結論、仮説、最終結論等を表現する問題解決システム
に用いるものであって、特にそのネットワーク内での根
拠の管理方法に関する。
[Industrial Field of Application] The present invention relates to a method for managing evidence, and more specifically to a problem-solving system that uses a network of nodes and links to express input data, intermediate conclusions, hypotheses, final conclusions, etc. In particular, it relates to how evidence is managed within the network.

この秤のシステムでは、推論が行き詰った場合にそれま
での仮説を覆して別の仮説に基づいてJIt論を准め、
又、利用者の要求に応じて最終結論の根拠である入力デ
ータ、中間結論、仮説を表示し、更に利用者が入力デー
タを訂正した場合には訂正前の入力データを根拠とす−
る結論を破棄する必要がある。
In this scale system, when the reasoning reaches a dead end, the previous hypothesis is overturned and the JIt theory is based on another hypothesis,
In addition, the input data, intermediate conclusions, and hypotheses that are the basis for the final conclusion are displayed according to the user's request, and if the user corrects the input data, the input data before the correction is used as the basis.
It is necessary to discard the conclusion that follows.

このため、結論からその根拠となった仮説や入力データ
を、或いはこれと逆に仮説や入力データからそれを根拠
として推論した結論を高速に参照する方式が必要とされ
る。
Therefore, there is a need for a method of quickly referencing a hypothesis or input data that is the basis for a conclusion, or conversely, a conclusion inferred from a hypothesis or input data based on that hypothesis or input data.

[従来の技術] 第7図はネットワークの構成例を示す図で、N1乃至N
5がノード、Ll乃至L4がリンクである。N+はスイ
ッチを、N2はライトを示し、ノードN、とN2はそれ
ぞれリンクし1.し3を介して舌定”No″を示すノー
ドN3に接続されている。リンクLtは故障状態を、リ
ンクL3は断線状態をそれぞれ示している。又、ノード
N1は設定位置を示すリンクL2を介して”ON”状態
を示すノードN4に接続され、ノードN2は点燈状態を
示すリンクL4を介して肯定” Y E S ”を示す
ノードN5に接続されている。
[Prior Art] FIG. 7 is a diagram showing an example of a network configuration, in which N1 to N
5 is a node, and Ll to L4 are links. N+ indicates a switch, N2 indicates a light, and nodes N and N2 are linked respectively.1. It is connected to the node N3 which indicates the tongue determination "No" via the node N3. Link Lt indicates a failure state, and link L3 indicates a disconnection state. Further, the node N1 is connected to the node N4 indicating the "ON" state via the link L2 indicating the setting position, and the node N2 is connected to the node N5 indicating the positive "YES" via the link L4 indicating the lighting state. It is connected.

従来の問題解決システムはノードを主体とした即らネッ
1−ワーク中の各ノードに対して記憶領域を割り肖てる
表現を用いていた。第8図は従来の問題解決システムの
構成図、第9図は第7図に示すネットワークに対するノ
ードを主体としたネットワーク表現の例を示す図である
Conventional problem-solving systems have used node-based expressions that allocate storage areas to each node in the network. FIG. 8 is a block diagram of a conventional problem-solving system, and FIG. 9 is a diagram showing an example of a node-based network representation for the network shown in FIG. 7.

第9図<a >は、「スイッチ」ノードに対して割り当
てられた記憶領域の構造を示しており、その第1欄はこ
のノード厚「スイッチ」に対して割り当てられたことを
表わしている。又、第2B以降は「スイッチの現在の設
定位置がONであり、その情報は利用者からの入力デー
タ(INP(JT)として与えられた」こと、「スイッ
チが現在故障しておらず、その情報は利用者からの入力
データ(INPUT)として与えられたjことをそれぞ
れ表わしている。第21fl11.第3tliflがそ
れぞれ「設定位置」、「故障」に関するものであること
は、何らかの方法で別に管理されている。
FIG. 9 <a> shows the structure of the storage area allocated to the "switch" node, and the first column indicates that it is allocated to this node thickness "switch". In addition, from 2B onwards, "the current setting position of the switch is ON, and that information was given as input data (INP (JT)) from the user", and "the switch is not currently malfunctioning and The information each represents the information given as input data (INPUT) from the user.The fact that the 21st fl11 and 3rd tlifl are related to "setting position" and "failure" respectively is not managed separately in some way. has been done.

第8図において、問題解決システム本体1が、例えば[
現在スイッチの設定位置がONであるか」を、ネットワ
ーク管理部2のサブモジュールである参照部21に問い
合せると、参照部21はネットワーク表現〈ノードを主
体とする)3を参照し、第9図(a )を検索して、「
真」を結果として返す。「現在スイッチの設定位置がO
FFであるか」に対しては「偽」を返す。「現在スイッ
チの設定位置がONである」ことから、問題解決システ
ム本体1は[ライトが点でするJことを推論によって求
め、ネットワーク管理部2のサブモジ−ニールである更
新部22に対して「現在スイッチの設定位置がONであ
る」ことを根拠として、[ライトが点燈することを推論
した]旨、通知する。
In FIG. 8, the problem solving system body 1 is configured such that, for example, [
When the reference unit 21, which is a sub-module of the network management unit 2, is inquired as to whether the switch is currently set to ON, the reference unit 21 refers to the network representation (based on nodes) 3, and as shown in FIG. Search for (a) and ``
Returns "true" as the result. "The switch is currently set to O.
"Is it FF?", returns "false". Since "the current switch setting position is ON", the problem-solving system main body 1 determines by inference that the light should be set to a point, and sends the update section 22, which is a submodule of the network management section 2, " Based on the fact that the switch is currently in the ON position, it is notified that it has been inferred that the light will turn on.

これに対して、更新部22は「スイッチ」ノード、「ラ
イト」ノードをそれぞれ第9図(b)。
On the other hand, the updating unit 22 updates the "switch" node and the "light" node, respectively, as shown in FIG. 9(b).

(C)のように更新する。第9図(b)では、第2欄に
「この情報を根拠として゛ライトが点燈する″ことがl
it論された」ことが付加されている。
Update as shown in (C). In Figure 9(b), the second column indicates that ``the light will turn on based on this information''.
"It was discussed" is added.

第9図(C)は、「ライトコノードに対して割り当てら
れた記憶領域の構造を示しており、その第11′Iはこ
のノードが「ライト」に対して割り当てられたことを表
わしている。又、第2欄以降は「ライトが現在点燈して
おり、その根拠は゛スイッチの現在の設定位置がONで
ある”ことである」こと、「ライトが現在断線しておら
ず、その情報は利用者からの入力データとして与えられ
た」ことをそれぞれ表わしている。第2欄、第3欄がそ
れぞれ「点燈」、「断線」に関するものであることは、
何らかの方法で別に管理されている。
FIG. 9(C) shows the structure of the storage area allocated to the ``Light'' connode, and the 11'I indicates that this node is allocated to ``Light''. . Also, from the second column onwards, ``The light is currently on, and the reason for this is that ``the current setting position of the switch is ON,'' and ``The light is not currently disconnected, and that information is Each indicates that the data was given as input data from the user. The fact that the second and third columns are related to "light on" and "disconnection" respectively means that
managed separately in some way.

以上のような推論が何段にもわたって実行され、又、そ
の途中で問題解決システム本体1が仮説を立てた場合は
「根拠」が空の欄がネットワーク中に形成され、そうし
た仮説や入力データを葉、結論を根とする「根拠の木」
が形成される。問題解決シスデム本体1が結論の矛盾を
発見した場合。
If the above-mentioned inference is executed in many stages, and if the problem-solving system 1 forms a hypothesis during the process, a field with an empty "Reason" field is formed in the network, and such a hypothesis or input A “evidence tree” with data as leaves and conclusions as roots
is formed. When the problem solving system body 1 discovers a contradiction in the conclusion.

I拠の木を根から葉の方向に辿り、間違った仮説、或い
は疑わしい入力データを発見づる必要がある。
It is necessary to trace the tree of evidence from the root to the leaves and discover incorrect hypotheses or questionable input data.

その場合、問題解決システム本体1は、ネットワーク管
理部2のサブモジュールである根)¥1参照部23に対
して、例えば「゛ライトが点燈する″こどを推論するに
至ったlIl拠は何か」と問い合わせ、根拠参照部23
はネットワーク表現3を参照し、第9図(C)を検索し
て、「現在スイッチの設定位置がONである」を結果と
して返す。問題解決システム本体1は、根拠の木の葉に
至るまでこの動作を繰り返す。
In that case, the problem-solving system main body 1 informs the root)\1 reference unit 23, which is a submodule of the network management unit 2, of the reason why it has come to infer that “the light is on”, for example. "What is it?" and the basis reference section 23
refers to network expression 3, searches for FIG. 9(C), and returns "the current switch setting position is ON" as a result. The problem solving system main body 1 repeats this operation until it reaches the leaf of the basis.

このようにして、間違った仮説が発見された時、或いは
利用者が途中で入力データの間3りいに気付き訂正した
時、問題解決システム本体1はその間違った仮説、入力
データを根拠として推論した結論を全て破棄する必要が
ある。その場合、問題解決システム本体1は、ネットワ
ーク管゛理部2のサブモジュールである波及参照部24
に対して、例えば[゛現在スイッチの設定位置がONで
ある″ことから推論されたことは何か」と問い合わせ、
波及参照部24はネットワーク表現3を参照し、第9図
(b)を検索して、「ライトが点でする」を結果として
返す。問題解決システム本体1はこの情報の消去を更新
部22に依頼しつつ、根拠の木の根に至るまでこの動作
を繰り返す。
In this way, when a wrong hypothesis is discovered, or when the user notices a gap in the input data midway through and corrects it, the problem-solving system main body 1 makes inferences based on the wrong hypothesis and input data. All conclusions must be discarded. In that case, the problem solving system main body 1 includes a ripple reference section 24 which is a submodule of the network management section 2.
For example, ask them, ``What can be inferred from the fact that the switch is currently in the ON position?''
The ripple reference unit 24 refers to the network representation 3, searches for FIG. 9(b), and returns "Light is a point" as a result. The problem solving system main body 1 requests the updating unit 22 to delete this information and repeats this operation until it reaches the root of the basis tree.

[発明が解決しようとする問題点] 従来方式によると、本来表現すべき情報である入力デー
タ、推論の中間結論、仮説、最終結論に、ネットワーク
中のリンクが対応するのにもかかわらず、ノードを主体
としたネットワーク表現を用いているために、これら入
力データ、推論の中間結論、仮説、R終結論の間の関係
である「根拠」を記憶領域内にポインタとして直接表現
することができず、根拠の木を高速に辿ることが困難で
あるという欠陥があった。
[Problems to be solved by the invention] According to the conventional method, although the links in the network correspond to the information that should originally be expressed, such as input data, intermediate conclusions of inference, hypotheses, and final conclusions, nodes Because a network representation based on R is used, it is not possible to directly represent the ``evidence'', which is the relationship between these input data, the intermediate conclusion of the inference, the hypothesis, and the final conclusion of R, as a pointer in the storage area. , there was a flaw in that it was difficult to trace the basis tree at high speed.

本発明はこのような点に鑑みてなされたものであって、
高速で根拠の木を順方向及び逆方向に辿ることができる
根拠の管理方法を提供することを目的としている。
The present invention has been made in view of these points, and
The purpose of this invention is to provide a basis management method that can quickly trace a basis tree in forward and backward directions.

[問題点を解決するための手段] 第1図は本発明の原理を示すフローチャートである。本
発明は先ずノードとリンクからなるネットワークを用い
て入力データ、中間結論、仮説。
[Means for Solving the Problems] FIG. 1 is a flowchart showing the principle of the present invention. The present invention first uses a network consisting of nodes and links to generate input data, intermediate conclusions, and hypotheses.

最終結論等を表現して推論を行う問題解決システムにお
いて、 リンクを主体とすると共に中間結論、最終結論に対応す
るリンクとそれが根拠とする他のリンクとの間に双方向
性のポインタを設けたネットワーク表現を作成しくステ
ップ[1])、 次に前記ネットワーク表現を基にして入力データ、中間
結論、仮説、危終結論等を表現して推論を行う(ステッ
プ■)。
In a problem-solving system that expresses final conclusions and makes inferences, links are the main body, and bidirectional pointers are provided between links corresponding to intermediate and final conclusions and other links on which they are based. Next, based on the network representation, input data, intermediate conclusions, hypotheses, final conclusions, etc. are expressed and inference is made (step ①).

[作用〕 従来方式のような、ノード主体のネットワークではなく
リンク主体としたネットワーク表現を作成することによ
り、各リンクに記憶領域を与えることができるので、リ
ンク同士の関係である根拠をポインタとして直接表現す
る。これにより根拠の木を記憶領域中にポインタとして
直接表現でき、葉から根への或いは逆に根から葉への双
方向の高速探索が可能となる。
[Operation] By creating a network representation mainly based on links, rather than a network mainly based on nodes as in the conventional method, it is possible to give a storage area to each link, so the basis of the relationship between links can be directly used as a pointer. express. This allows the base tree to be directly expressed as a pointer in the storage area, making it possible to perform bidirectional high-speed searches from leaves to roots, or conversely from roots to leaves.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明する
。従来例の場合と同様、第7図に示すネットワークを表
現する場合を例にとるヮ第2図は本発明に係る問題解決
システムの構成図を、第3図は第7図に対するリンクを
1体としたネットワーク表現の例を示す図である。第2
図において、第8図と同一のものは同一の符号を付して
示づ一0第3図はアドレス1,2,3.4に当てられた
記憶領域の構造を示しており、それぞれ第1列は対応す
るリンクの名前、第2列はリンクの元、第3列はリンク
の先、第4列はこのリンクの根拠である他のリンクを表
現している記憶領域の根拠アドレス、第5列はこのリン
クを根拠として推論された他のリンクを表現している記
憶領域の波及先アドレスを表わしている。この根拠アド
レスと波及先アドレスが館述した「双方向性のポインタ
」であり、根から菜、或いは葉から根への双方向の探索
を可能とする。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings. As in the case of the conventional example, let us take as an example the case where the network shown in FIG. 7 is expressed. FIG. 2 shows the configuration diagram of the problem solving system according to the present invention, and FIG. FIG. 3 is a diagram showing an example of a network representation. Second
In the figure, the same parts as in FIG. 8 are denoted by the same reference numerals. FIG. The column is the name of the corresponding link, the second column is the source of the link, the third column is the destination of the link, the fourth column is the base address of the storage area that represents the other link that is the base of this link, and the fifth column is the base address of the storage area that represents the other link that is the base of this link. The columns represent destination addresses of storage areas representing other links inferred based on this link. This base address and destination address are described as ``bidirectional pointers,'' which enable bidirectional searches from the root to the vegetable or from the leaf to the root.

入力データに対応するリンクに対しては第4列に「IN
PUT」という値が設定され、仮説に対応するリンクに
対しては第4列に仮説を示す[HYPOJという値が設
定される。従って、第3図の例では上から順に[スイッ
チの現在の設定位置がONであり、その情報は利用者か
らの入力データ(INPIJT)として与えられ、この
情報を根拠として゛ライトが点でする”ことが推論され
た」、「スイッチが現在故障しておらず、その情報は利
用者からの入力データ(TNPtJT)として与えられ
た」、[ライトが現在点燈しており、その根拠は“スイ
ッチの現在の設定位置がONである”ことである」、「
ライトが現在断線しておらず、その情報は利用者からの
入力データ(INPUT)として与えられた」ことを表
わしている。
For the link corresponding to the input data, "IN" is displayed in the fourth column.
A value "PUT" is set, and a value "[HYPOJ" indicating the hypothesis is set in the fourth column for the link corresponding to the hypothesis. Therefore, in the example of Fig. 3, the current setting position of the switch is ON, and this information is given as input data (INPIJT) from the user, and based on this information, the light is turned on. ``It is inferred that the switch is currently not faulty and that information was provided as input data from the user (TNPtJT)'', ``The light is currently on and the reason is `` The current setting position of the switch is "ON", "
This indicates that the light is not currently disconnected and the information was given as input data (INPUT) from the user.

本方式において、問題解決システム本体1が、例えば[
現在スイッチの設定位置がONであるか」を、ネットワ
ーク管理部2のサブモジュールである参照部21に問い
合せると、参照部21はネットワーク表現(リンクを主
体とする)4を参照し、第3図を検索してアドレス1を
結果として返す。
In this method, the problem solving system main body 1, for example, [
When the reference unit 21, which is a submodule of the network management unit 2, is inquired as to whether the switch is currently set to ON, the reference unit 21 refers to the network representation (mainly links) 4, and as shown in FIG. Search for and return address 1 as the result.

「現在スイッチの設定位置がOFFであるか」に対して
は「偽」を表わす適当な値(例えば0)を返す。[現在
スイッチの設定位置がONであるjことから問題解決シ
ステム本体1ば「ライトが点灯するJことを推論によっ
て求め、ネットワーク管理部2のサブモジコールである
更新部22に対して「アドレス1を根拠として、゛ライ
トが点でする”ことを推論した」旨、通知する。これに
対して、更新部22はアドレス1及び3を第3図に示す
ように更新する。推論の途中で問題解決システム本体1
が仮説を立てた場合は根拠アドレス欄がr I−! Y
 P OJであるようなリンクが生成される。
In response to "Is the current switch setting position OFF?", an appropriate value representing "false" (for example, 0) is returned. [Since the current switch setting position is ON, the problem-solving system body 1 uses inference to determine that the light will turn on, and tells the update unit 22, which is a submodule of the network management unit 2, to use address 1 as a basis. As a result, we will notify you that we have inferred that the light will do this at the point. In response, the updating unit 22 updates addresses 1 and 3 as shown in FIG. Problem solving system main body 1 during inference
If a hypothesis is made, the basis address field is r I-! Y
A link is generated that is P OJ.

本発明方式が従来方式と比較して特異な動作を行うのは
「根拠参照部23」及び「波及処理部25」である。第
4図、第5図はそれぞれの動作アルゴリズムを示してい
る。
The "ground reference unit 23" and the "ripple processing unit 25" perform unique operations in the system of the present invention compared to the conventional system. FIGS. 4 and 5 show respective operating algorithms.

問題解決システム本体1が結論の矛盾を発見した場合、
問題解決システム本体1は、ネットワーク管理部2のサ
ブモジュールである根拠参照部23に対して、例えば「
アドレス3を推論するに至った根拠は何かJと問い合せ
、根拠参照部23はネットワーク表現4を参照して指定
されたリンクを根とする根拠の木の葉、この例の場合は
アドレス1(第3図参照)のみを結果として返す。
If the problem-solving system body 1 discovers a contradiction in the conclusion,
The problem-solving system main body 1 sends information such as "
The basis for inferring address 3 is asked by J, and the basis reference unit 23 refers to network representation 4 to find the leaf of the basis tree whose root is the specified link, in this example, address 1 (the third (see figure) is returned as the result.

こうして返された仮説や入力データの中から問題解決シ
ステム本体1が間)αっでいるものを発見した時、或い
は利用者が途中で入力データの間違いに気付き訂正した
時、問題解決システム本体1は、ネットワーク管理部2
のサブモジュールである波及管理部25に対して、例え
ば「アドレス1を根拠として堆諭されたものを破棄せよ
」と指令し、波及管理部25はネットワーク表現4を9
照して指定されたリンクを葉とする根拠の木を辿って根
に至るまでの全てのリンク、この例の場合はアドレス3
のリンクのみを記憶領域から消去づ−る。
When the problem-solving system main body 1 discovers an error among the hypotheses and input data returned in this way, or when the user notices a mistake in the input data midway through and corrects it, the problem-solving system main body 1 is network management section 2
For example, the ripple management unit 25 instructs the ripple management unit 25, which is a submodule of
All links that follow the basis tree with the specified link as a leaf, up to the root, in this example, address 3.
Delete only the link from the storage area.

第6図は本発明による問題点の解決システムの具体的構
成図である。システム全体は大きく分けて問題解決シス
テム本体1、ネットワーク管理部2及び知識ベース5よ
りなる。リンクを主体としたネットワーク表現4はここ
ではネットワーク管理部2に含めて考えている。
FIG. 6 is a concrete configuration diagram of a problem solving system according to the present invention. The entire system is roughly divided into a problem solving system body 1, a network management section 2, and a knowledge base 5. Here, the network representation 4 mainly consisting of links is considered to be included in the network management section 2.

問題解決システム本体1は、利用者とのインタフェース
と、推論による問題解決作業を担当し、入力部11.推
論部12.仮説設定部13.矛盾解消部14.訂iE処
理部15.知識参照部1G及び出力部17からなる。
The problem-solving system main body 1 is in charge of the interface with the user and problem-solving work by inference, and has an input section 11. Reasoning part 12. Hypothesis setting section 13. Contradiction resolution part 14. Correction iE processing unit 15. It consists of a knowledge reference section 1G and an output section 17.

ネットワーク管理部2は、′入力したデータ、 tit
論の中間結果、仮説、最終結論等をネットワークとして
保持し、参照部21.更新部22.根拠参照部23.波
及処理部25及びネットワーク表現4からなる。知識ベ
ース5は、推論に用いる知識が格納されているデータベ
ースである。
The network management unit 2 inputs 'the input data, tit
Intermediate results, hypotheses, final conclusions, etc. of the theory are held as a network, and the reference section 21. Update section 22. Basis reference section 23. It consists of a ripple processing section 25 and a network representation 4. The knowledge base 5 is a database that stores knowledge used for inference.

問題解決システム本体1のiな動作は以下の通りである
The i-like operations of the problem-solving system main body 1 are as follows.

入力部11は、■利用者に質問を出し、■利用者から入
力データ、過去の入力の訂正、説明要求を受ける。■入
力データは推論部12に転送され、過去の入力が訂正さ
れると■その旨訂正処理部15に通知し、推論過程の説
明を要求されると■根拠参照部23から)「論結果の恨
j汽を受は取って刊用者に提示する。
The input unit 11 () asks questions to the user, and (2) receives input data, corrections to past inputs, and requests for explanation from the user. ■The input data is transferred to the inference section 12, and when the past input is corrected, ■The correction processing section 15 is notified of this, and when an explanation of the inference process is requested, ■The basis reference section 23 says, The receiver takes the letter and presents it to the publisher.

推論部12は、■入力データや■既に生成した中間結果
、仮説から、■知識参照部16が提供する知識を使って
推論を行い、■推論結果に従ってネットワーク表現4を
更新する。推論中にさらなる入力データが必要になれば
■入力部11に質問を依頼し、必要なデータが得られな
い場合は0仮説設定部13に適当な仮説を立てることを
依頼する。更に、矛盾を発見した場合はO矛盾解消部1
4にその旨通知する。こうして最終的な結論が19られ
たならば、O出力部17から出力する。
The inference unit 12 performs inference from (1) input data and (2) already generated intermediate results and hypotheses, (2) uses knowledge provided by the knowledge reference unit 16, and (4) updates the network representation 4 according to the inference results. If further input data is required during inference, (1) requests the input unit 11 to ask a question; if the necessary data cannot be obtained, requests the 0-hypothesis setting unit 13 to formulate an appropriate hypothesis; Furthermore, if a contradiction is found, O contradiction resolution section 1
4 to that effect. Once the final conclusion is reached in this way, it is output from the O output section 17.

仮説設定部13は、適当な仮説を生成して0ネツトワ一
ク表現4に追加する。矛盾解消部14は、■矛盾が結論
となった根拠を求め、それが入力データならば■利用名
に訂正を依頼し、仮説の場合は[相]訂正処理部15に
その仮説の破棄を依頼する。
The hypothesis setting unit 13 generates an appropriate hypothesis and adds it to the 0 network representation 4. The contradiction resolution unit 14: ■ Finds the basis for the conclusion of the contradiction, and if it is input data, ■ Requests the usage name to make a correction, and if it is a hypothesis, requests the [phase] correction processing unit 15 to discard the hypothesis. do.

訂ロコ処理部15は、■入力部11からデータの訂正の
通知、[相]矛盾解消部14から仮説の破棄の依頼を受
けると、それらの入力データや仮説から導かれた結論を
全て削除する旨、■ネットワーク管理部2に通知する。
When the correction loco processing unit 15 receives a notification of data correction from the input unit 11 and a request to discard a hypothesis from the contradiction resolution unit 14, it deletes all input data and conclusions drawn from the hypothesis. ■ Notify the network management section 2 of this fact.

知識参照部16は、■知識ベース5から推論に必要な知
識を取り出し、■推論部12に転送する。出力部17は
、■最終的な結論を利用賃に提示する。
The knowledge reference unit 16 (1) extracts knowledge necessary for inference from the knowledge base 5 and (2) transfers it to the inference unit 12. The output unit 17 presents the final conclusion to the usage fee.

[発明の効果] 以上詳細に説明したように、本発明によれば、ノードと
リンクからなるネットワークをそれまでのノードを主体
とするネットワーク表現からそれ自体が情報を持つリン
クを主体とするネットワーク表現に変更し、しかも中間
結論、最終結論に対応するリンクとそれが根拠となる他
のリンクとの間に双方向性のポインタを設参ノることに
より根拠の木を順方向及び逆方向に高速で辿ることがで
き、実用上の効果が極めて大きい。
[Effects of the Invention] As explained in detail above, according to the present invention, a network consisting of nodes and links can be changed from a network representation mainly composed of nodes to a network representation mainly composed of links that themselves have information. In addition, by adding bidirectional pointers between links corresponding to intermediate and final conclusions and other links on which they are based, the evidence tree can be moved forward and backward at high speed. The practical effects are extremely large.

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

第1図は本発明の原理を示すフローチャート、第2図は
本発明に係る問題解決システムの構成図、第3図はリン
クを主体としたネットワーク表現の例を示す図、第4図
は根拠参照部のアルゴリズムを示す図、第5図は波及処
理部のアルゴリズムを示す図、第6図は本発明による問
題解決システムの具体的構成図、第7図はネットワーク
の構成例を示す図、第8図は従来の問題解決システムの
構成図、第9図は従来のノードを主体としたネットワー
ク表現の例を示す図である。 第2図、第6図において、 1は問題解決システム本体、 2はネットワーク管理部、 4はネットワーク表現、 5は知識ベースである。 !発明の1理を示す70−チv−ト 第1図 本発明1ニイ系る間粗解;央システムのオ順戊図第2図 第1列   ”42!リ  第3列  N4列   1
5列リすクtジ体としζネントワーク表現の例2示TI
ZI第3図 項拠参照部のアルフ′リズムと示す口 筒4区 lとする 諌没処理部のアルコ゛すλ′ムヲ示tli第5図 利用書 i! 論 本発明にする明解法システムのl[鷹威図第6図 ネットワークの罪lし11示す図 第7図 従来の問題解決システム01戎図 賄8図 (a)「スイッチ」ノー白;j青すbi己a領域(七の
1)(b)  rスイッチjノート′に附すhXa憔籟
望(その2)(C)「ライト」ノードにかすう記惚卵城
φ来のノード叡主体としたネント7−り褒l見の例を承
を口第9図
Fig. 1 is a flowchart showing the principle of the present invention, Fig. 2 is a configuration diagram of a problem solving system according to the invention, Fig. 3 is a diagram showing an example of network representation mainly based on links, Fig. 4 is a reference to the rationale. FIG. 5 is a diagram showing the algorithm of the ripple processing section, FIG. 6 is a specific configuration diagram of the problem solving system according to the present invention, FIG. 7 is a diagram illustrating an example of the network configuration, and FIG. This figure is a block diagram of a conventional problem-solving system, and FIG. 9 is a diagram showing an example of a conventional network representation mainly consisting of nodes. In Figures 2 and 6, 1 is the problem solving system itself, 2 is the network management section, 4 is the network representation, and 5 is the knowledge base. ! Figure 1 shows the first principle of the invention. Crude answer for the present invention.
Example 2 of 5-column diagonal body and ζ component work representation TI
ZI Figure 3 shows the alf'rhythm of the material reference section, and the alcopy of the inscription processing section with four sections l shows the λ' mode.Figure 5 shows the usage book i! Theory of the present invention Clear method system l subhia area (7th 1) (b) r switch j note attached to h Figure 9.

Claims (1)

【特許請求の範囲】 ノードとリンクからなるネットワークを用いて入力デー
タ、中間結論、仮説、最終結論を表現して推論を行う問
題解決システムにおいて、 リンクを主体とすると共に中間結論、最終結論に対応す
るリンクとそれが根拠とする他のリンクとの間に双方向
性のポインタを設けたネットワーク表現を作成し(ステ
ップ[1])、 前記ネットワーク表現を基にして入力データ、中間結論
、仮説、最終結論を表現して推論を行う(ステップ[2
])、 ようにしたことを特徴とする根拠の管理方法。
[Claims] A problem-solving system that expresses input data, intermediate conclusions, hypotheses, and final conclusions and makes inferences using a network made up of nodes and links, which is based on links and corresponds to intermediate and final conclusions. A network representation is created in which a bidirectional pointer is provided between the link to be used and other links on which it is based (step [1]), and based on the network representation, input data, intermediate conclusions, hypotheses, Express the final conclusion and make inferences (step [2
]), a basis management method characterized by the following.
JP61222423A 1986-09-19 1986-09-19 Controlling method for reason Pending JPS6376018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61222423A JPS6376018A (en) 1986-09-19 1986-09-19 Controlling method for reason

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61222423A JPS6376018A (en) 1986-09-19 1986-09-19 Controlling method for reason

Publications (1)

Publication Number Publication Date
JPS6376018A true JPS6376018A (en) 1988-04-06

Family

ID=16782159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61222423A Pending JPS6376018A (en) 1986-09-19 1986-09-19 Controlling method for reason

Country Status (1)

Country Link
JP (1) JPS6376018A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5179632A (en) * 1987-12-17 1993-01-12 Hitachi, Ltd. Fast method for a bidirectional inference

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5179632A (en) * 1987-12-17 1993-01-12 Hitachi, Ltd. Fast method for a bidirectional inference

Similar Documents

Publication Publication Date Title
JPH0478926A (en) Knowledge obtaining system
JPS6376018A (en) Controlling method for reason
JP3615280B2 (en) Network information retrieval system
JPH02282828A (en) Inference system
JPH01134630A (en) Inference system
Edwin et al. COMAS: Coordination in multiagent systems
JP2001117774A (en) Production system with adaptation mechanism
JPH08137696A (en) Case-based reasoning device
JPH01240929A (en) Source code generation managing system
Awerbuch et al. The maintenance of common data in a distributed system
JPS63303471A (en) System for supporting user in execution of image processing program
JPS62245334A (en) Constructing method for inference mechanism
JPH03273337A (en) Distributed and cooperative inference device
JPH0281231A (en) Translation information managing system for source program file
JPH01158537A (en) Inference system
JPS63180129A (en) Program connection system
JPH01214937A (en) Rule base system
JPH02155006A (en) Knowledge base type process operating/supporting device
JPH0454639A (en) Interactive expert system
JP2000231547A (en) Network fuzzy controller and its learning method
JPH02193225A (en) Rule base maintaining device
JPS6398028A (en) Aid system for design of system configuration
JPS63106048A (en) Frame management system
JPS63181037A (en) Inference system
JPH05274131A (en) Program structure analysis system