JPH07129402A - Expert system inference control method - Google Patents

Expert system inference control method

Info

Publication number
JPH07129402A
JPH07129402A JP5277221A JP27722193A JPH07129402A JP H07129402 A JPH07129402 A JP H07129402A JP 5277221 A JP5277221 A JP 5277221A JP 27722193 A JP27722193 A JP 27722193A JP H07129402 A JPH07129402 A JP H07129402A
Authority
JP
Japan
Prior art keywords
rule
event
control method
inference
inference control
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
JP5277221A
Other languages
Japanese (ja)
Inventor
Tatsuo Hiramatsu
辰夫 平松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP5277221A priority Critical patent/JPH07129402A/en
Publication of JPH07129402A publication Critical patent/JPH07129402A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

(57)【要約】 【目的】 表現力に富むと共に、ルールを細かく迅速に
活性化制御し得るしたものである。 【構成】 メインプログラムでは、ルールの選択(S
1)を行い、選択したルールが有るか否かを判定(S
2)した結果、ルールが有ればそのルールを実行(S
3)するが、ルールが無ければイベント待ち(ステップ
S5)とした後、ルールの選択(S1)の前にリターン
する。ルールの実行(S3)では、活性化に必要なイベ
ントの組み合わせのうちから選定した要素に対する所定
の論理条件に基づく状態評価を行うイベント手続きの処
理,活性化制御を行うイベントの発生の処理,イベント
論理値の表示を含むその他の手続きの処理が行われる。
ルールの実行(S3)の後は、終了か否かを判定(S
4)し、その結果、終了であれば動作を終了するが、終
了でなければルールの選択(S1)の前にリターンす
る。
(57) [Summary] [Purpose] It is rich in expressiveness and enables fine and rapid activation control of rules. [Structure] In the main program, select rules (S
1) is performed, and it is determined whether or not there is a selected rule (S
2) As a result, if there is a rule, that rule is executed (S
3) If there is no rule, the process waits for an event (step S5) and then returns before selecting a rule (S1). In the execution of the rule (S3), processing of an event procedure that performs state evaluation based on a predetermined logical condition for an element selected from a combination of events necessary for activation, processing of occurrence of an event that performs activation control, and event The processing of other procedures, including the display of logical values, takes place.
After the execution of the rule (S3), it is determined whether or not it is finished (S3).
4) Then, as a result, if it is finished, the operation is finished, but if it is not finished, it returns before the rule selection (S1).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、エキスパートシステ
ム構築支援ツールの一部である推論制御部における推論
連鎖制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inference chain control system in an inference control unit which is a part of an expert system construction support tool.

【0002】[0002]

【従来の技術】従来、普通ルールを用いて推論を行うタ
イプのエキスパートシステムでは、全てのルールが条件
部と実行部とを持っている。又、エキスパートシステム
構築支援ツールの一部を成す推論制御部は、個々のルー
ルの条件部をデータと参照し、条件を満足するルールの
中の1つ、或いは全ての実行部を実行することを繰り返
すことによって推論を進めるようになっている。このと
き、特定のルールの実行部で行われるデータに変更があ
ると、特定のルールから他のルールへの連鎖を決定する
要因となる。従って、データを変更しないルールの実行
に際しては推論の連鎖を引き起こさない。
2. Description of the Related Art Conventionally, in an expert system of the type that makes inferences using ordinary rules, all rules have a condition part and an execution part. The inference control unit, which is a part of the expert system construction support tool, refers to the condition part of each rule as data and executes one or all execution units of the rules that satisfy the condition. By repeating it, the reasoning is advanced. At this time, if there is a change in the data performed by the execution unit of the specific rule, it becomes a factor that determines the chain from the specific rule to another rule. Therefore, the execution of rules that do not change data does not cause a chain of inference.

【0003】図4は、従来の推論制御部における推論連
鎖制御方式の一例を示したものである。この推論連鎖制
御方式の場合、先ずルール1では条件部1aが前段のル
ールにおける実行部で発生されたデータaを照合し、そ
の条件が「真」であれば、実行部1bがデータaを変更
してデータbを発生する。次に、ルール2では条件部2
aがデータbを照合し、その条件が「真」であれば、実
行部2bがデータbを変更して後段のルールにおける条
件部に寄与するデータcを発生する。即ち、この推論連
鎖制御方式では、ルールの実行がデータの変更となって
現われ、上述したようにデータの変更があったときに推
論の連鎖が引き起こされる。
FIG. 4 shows an example of an inference chain control method in a conventional inference control section. In the case of this inference chain control method, first, in rule 1, the condition part 1a collates the data a generated in the execution part in the preceding rule, and if the condition is "true", the execution part 1b changes the data a. To generate data b. Next, in rule 2, condition part 2
If "a" collates the data "b" and the condition is "true", the execution part 2b changes the data "b" to generate the data "c" which contributes to the condition part in the rule at the subsequent stage. That is, in this inference chain control method, the execution of the rule appears as a change in data, and as described above, a chain of inference is caused when the data is changed.

【0004】図5は、従来の推論制御部における推論連
鎖制御方式の他の例を示したものである。この推論連鎖
制御方式の場合、ルールが条件部及び実行部の他、前段
のルールにおける条件部により任意な真偽値として発生
されるイベントをトリガとするイベント論理式を持って
いる。先ずルール1では前段のルールにおける条件部で
発生されたイベントαをイベント論理式1αに基づいて
評価し、その評価値が「真」であれば、引き続いて条件
部1βがその評価値に基づいてイベントβを発生する。
次に、ルール2ではイベントβをイベント論理式2αに
基づいて評価し、その評価値が「真」であれば、引き続
いて条件部2βがその評価値に基づいて後段のルールに
おけるイベント論理式に寄与するイベントγを発生す
る。尚、実行部1γ,2γは、必要に応じて与えられる
もので、これらが与えられた場合には条件部1β,2β
の真偽評価の結果を参照して所定の処理を実行する。
FIG. 5 shows another example of the inference chain control method in the conventional inference control section. In the case of this inference chain control method, the rule has an event logical expression triggered by an event generated as an arbitrary true / false value by the condition section in the preceding rule in addition to the condition section and the execution section. First, in rule 1, the event α generated in the condition part in the preceding rule is evaluated based on the event logical expression 1α, and if the evaluation value is “true”, then the condition part 1β is subsequently evaluated based on the evaluation value. Generate event β.
Next, in rule 2, the event β is evaluated based on the event logical expression 2α, and if the evaluation value is “true”, then the conditional unit 2β is changed to the event logical expression in the subsequent rule based on the evaluation value. Generate a contributing event γ. The execution units 1γ and 2γ are provided as needed, and when they are provided, the condition units 1β and 2β are provided.
The predetermined processing is executed with reference to the result of the true / false evaluation of.

【0005】即ち、この推論連鎖制御方式では、条件部
の評価がイベントの発生となって現われ、イベントが連
鎖されたときに推論の連鎖が引き起こされる。因みに、
イベントの発生は推論制御部により自動的に行われる。
That is, in this inference chain control method, the evaluation of the condition part appears as the occurrence of an event, and when the events are chained, the chain of inference is caused. By the way,
The occurrence of the event is automatically performed by the inference control unit.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、図4で
説明した推論連鎖制御方式の場合、データを変更しなけ
れば推論の連鎖が起こらないので、例えば診察型のエキ
スパートシステムでは知識表現が不自然となってしま
う。又、一般にデータの変更を要する推論の連鎖ではル
ールを1つ実行する度、全てのルールの実行部で参照を
し直すため、充分な推論速度が得られないという問題が
ある。
However, in the case of the inference chain control method described with reference to FIG. 4, since the chain of inference does not occur unless the data is changed, the knowledge representation is unnatural in a medical examination type expert system, for example. turn into. In addition, in the chain of inference that generally requires data change, every time one rule is executed, all rules are re-referenced, so that a sufficient inference speed cannot be obtained.

【0007】一方、図5で説明した推論連鎖制御方式の
場合、上述した推論連鎖制御方式の問題点を解消できる
利点はあるが、その反面、ルールの条件部から発生する
イベントが真偽の論理値となるため、表現力に欠くとい
う難点がある。又、イベント論理式は論理演算にしか対
応せず、ルールの活性化制御(因みに、「活性化」とは
条件部が評価待ちになる状態を示す)が単純になってし
まう。更に、イベント論理式は参照する全てのイベント
値が決定されなければ評価値を得ることができないの
で、活性化のタイミングを細かく制御できないという問
題もある。
On the other hand, in the case of the inference chain control method described with reference to FIG. 5, there is an advantage that the problem of the inference chain control method described above can be solved, but on the other hand, the event generated from the conditional part of the rule is a true / false logic. Since it is a value, there is a drawback that it lacks expressiveness. Further, the event logical expression corresponds only to the logical operation, and the activation control of the rule (by the way, "activation" means that the condition part is waiting for evaluation) becomes simple. Further, the event logic expression cannot obtain an evaluation value unless all the event values to be referenced are determined, so that there is a problem that the activation timing cannot be finely controlled.

【0008】この発明は、かかる問題点を解決すべくな
されたもので、その技術的課題は、表現力に富むと共
に、ルールを細かく迅速に活性化制御し得るエキスパー
トシステムの推論制御方式を提供することにある。
The present invention has been made to solve the above problems, and its technical problem is to provide an inference control system of an expert system which is rich in expressive power and which can finely and quickly activate and control rules. Especially.

【0009】[0009]

【課題を解決するための手段および作用】この発明によ
れば、活性化に必要な複数のイベントの組み合わせを定
め、該組み合わせのうちから任意な要素を選定し、所定
の論理条件に基づいて該選定した要素を状態評価した
後、該状態評価の結果に応じてイベント論理値を発生す
ると共に、該イベント論理値を表示する手続きを行う実
行部をそれぞれ含む複数の互いに異なるルールを有する
知識データに基づいて推論を連鎖するエキスパートシス
テムの推論制御方式が得られる。このエキスパートシス
テムの推論制御方式において、複数のイベントには任意
なデータを利用できる。
According to the present invention, a combination of a plurality of events required for activation is determined, an arbitrary element is selected from the combination, and the combination is determined based on a predetermined logical condition. After the state evaluation of the selected element, an event logical value is generated according to the result of the state evaluation, and knowledge data having a plurality of mutually different rules each including an execution unit for performing a procedure for displaying the event logical value is obtained. Based on this, an inference control method for expert systems that links inferences can be obtained. In this inference control method of the expert system, arbitrary data can be used for a plurality of events.

【0010】又、この発明によれば、上記エキスパート
システムの推論制御方式において、実行部は、イベント
論理値の発生に伴って該イベント論理値に関連するルー
ルにおける必要なイベント指定を評価するエキスパート
システムの推論制御方式や、更に実行部はイベント指定
の評価結果に応じて当該ルールの活性化条件を評価する
エキスパートシステムの推論制御方式が得られる。
Further, according to the present invention, in the inference control method of the expert system, the execution unit evaluates the necessary event designation in the rule associated with the event logical value as the event logical value occurs. And the inference control method of the expert system in which the execution unit evaluates the activation condition of the rule according to the evaluation result of the event designation.

【0011】加えて、この発明によれば、上記エキスパ
ートシステムの推論制御方式において、実行部はルール
の活性化条件の評価以外のイベントを推論実行中に発生
可能なエキスパートシステムの推論制御方式や、実行部
は活性化条件の評価結果に応じて当該ルールを選択実行
可能な集合に含むエキスパートシステムの推論制御方
式、或いは、実行部は選択実行可能な集合のルールに対
して該ルールの評価値をイベント論理値として自動的に
発生するエキスパートシステムの推論制御方式が得られ
る。
In addition, according to the present invention, in the inference control method of the expert system, the execution unit can generate an event other than the evaluation of the activation condition of the rule during the inference execution, and the inference control method of the expert system, The execution unit is an expert system inference control method that includes the rule in a selectable set according to the evaluation result of the activation condition, or the execution unit sets the evaluation value of the rule to the selectable set of rules. An inference control method of an expert system that is automatically generated as an event logic value can be obtained.

【0012】[0012]

【実施例】以下に実施例を挙げ、この発明のエキスパー
トシステムの推論制御方式について、図面を参照して詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following is a detailed description of the inference control system of the expert system according to the present invention with reference to the drawings.

【0013】最初に、この発明の推論制御方式の概要に
ついて簡単に説明する。この推論制御方式は、複数の互
いに異なるルールを有する知識データに基づいて推論を
連鎖するもので、各ルールはそれぞれ予め活性化に必要
な複数のイベントの組み合わせを定め、その組み合わせ
のうちから任意な要素を選定し、所定の論理条件に基づ
いて選定した要素を状態評価した後、その状態評価の結
果に応じてイベント論理値を発生すると共に、そのイベ
ント論理値を表示する手続きを行う実行部を含んでい
る。ここで、複数のイベントには任意なデータを利用で
きる。
First, the outline of the inference control system of the present invention will be briefly described. This inference control method links inferences based on knowledge data having a plurality of different rules. Each rule defines a combination of a plurality of events necessary for activation in advance, and an arbitrary combination is selected from the combinations. An execution unit that selects an element, evaluates the state of the selected element based on a predetermined logical condition, generates an event logical value according to the result of the state evaluation, and executes a procedure for displaying the event logical value. Contains. Here, arbitrary data can be used for a plurality of events.

【0014】即ち、ルールは第1に活性化のために必要
なイベントを組み合わせている。例えば、必要なイベン
トがa,b,c,dであると、すると、その組み合わせ
は[aAND(bORc)ANDd]と表現できる。こ
の条件ではaとdが有り、且つb又はcが有ることを意
味する。
That is, the rule firstly combines the events required for activation. For example, if the required events are a, b, c, and d, then the combination can be expressed as [aAND (bORc) ANDd]. This condition means that there are a and d, and that there is b or c.

【0015】ルールは第2に活性化のために必要なイベ
ントの状態を試験する手続きを要する。この論理条件
は、組み合わせのうちから活性化に必要な要素を指定し
て状態評価するもので、例えばその要素は[a+BOU
ND(b)?b:c]≧0と表現できる。この場合、a
の値にb(bが無ければc)の値を加えたものが零以上
であることを意味する。
Second, the rules require a procedure to test the state of the event needed for activation. This logical condition is to evaluate the state by designating an element necessary for activation from the combination, and for example, the element is [a + BOU
ND (b)? It can be expressed as b: c] ≧ 0. In this case, a
It means that the value obtained by adding the value of b (or c if there is no b) is zero or more.

【0016】ルールは第3に、それ自体が採用された場
合に発生するイベント論理値を得るための手続きを要す
る。この条件は、例えばRETURN[d>100]と
表現できる。この場合、dが100よりも大きければ
真、100以下であれば偽とする論理値を発生すること
を意味する。
Third, the rule requires a procedure to obtain the event logic value that would occur if it were adopted by itself. This condition can be expressed as RETURN [d> 100], for example. In this case, a logical value of true is generated when d is larger than 100, and false when 100 is less than 100.

【0017】ルールは第4に、先のイベント論理値を表
示するその他の手続きを要する。この条件は、例えばP
RINT:f[d=%d,d]と表現できる。この場
合、dの値を表記することを意味する。
Fourth, the rule requires some other procedure to display the previous event logic value. This condition is, for example, P
RINT: f [d =% d, d] can be expressed. In this case, it means to indicate the value of d.

【0018】図1は、上述のように構築された知識デー
タに基づいて推論制御を行うメインプログラムを簡易フ
ローチャートにより示したものである。
FIG. 1 is a simplified flowchart showing a main program for performing inference control based on the knowledge data constructed as described above.

【0019】この制御メインプログラムでは動作が開始
すると、先ずルールの選択(ステップS1)を行う。次
に、選択したルールが有るか否かを判定(ステップS
2)し、その結果、ルールが有ればそのルールを実行
(ステップS3)するが、ルールが無ければイベント待
ち(ステップS5)とした後、ルールの選択(ステップ
S1)の前にリターンする。又、ルールの実行(ステッ
プS3)した後、終了か否かを判定(ステップS4)
し、その結果、終了であれば動作を終了するが、終了で
なければルールの選択(ステップS1)の前にリターン
する。
In this control main program, when the operation is started, a rule is selected (step S1). Next, it is determined whether there is a selected rule (step S
2) As a result, if there is a rule, the rule is executed (step S3), but if there is no rule, the process waits for an event (step S5) and then returns before selecting a rule (step S1). In addition, after executing the rule (step S3), it is determined whether or not to end (step S4).
Then, as a result, if it is finished, the operation is finished, but if it is not finished, it returns before the selection of the rule (step S1).

【0020】図2は、図1に示す制御メインプログラム
に含まれるルール実行部分を細分化したサブプログラム
をフローチャートにより示したものである。このルール
実行(ステップS3)におけるサブプログラムでは、先
ず活性化に必要なイベントの組み合わせのうちから選定
した要素に対する所定の論理条件に基づく状態評価を含
むイベント手続きの処理(ステップS31)を行い、引
き続いて活性化制御を含むイベントの発生の処理(ステ
ップS32)を行った後、イベント論理値の表示を含む
その他の手続き(ステップS33)を行う。又、この後
はルールの選択(ステップS1)の前にリターンする。
FIG. 2 is a flow chart showing a subprogram in which the rule execution part included in the control main program shown in FIG. 1 is subdivided. In the sub-program in this rule execution (step S3), first, an event procedure process (step S31) including state evaluation based on a predetermined logical condition for an element selected from a combination of events required for activation is performed, and then, After performing the event generation process including the activation control (step S32), other procedures including the display of the event logical value (step S33) are performed. After that, the process returns before selecting the rule (step S1).

【0021】図3は、図2に示すイベント発生処理(ス
テップS32)に係るルール活性化サブプログラムをフ
ローチャートにより示したものである。
FIG. 3 is a flowchart showing the rule activation subprogram relating to the event generation processing (step S32) shown in FIG.

【0022】このイベント発生処理(ステップS32)
におけるサブプログラムでは、先ず状態評価されたルー
ルが有るか否かを判定(ステップS321)し、その結
果、ルールが無ければ制御メインプログラムにおけるル
ールの選択(ステップS1)の前にリターンするが、ル
ールが有ればイベントをセット(ステップS322)し
た後、必要なイベントを指定評価(ステップS323)
する。この後、評価値が真か偽かをチエック(ステップ
S324)し、偽であればルールが有るか否かの判定
(ステップS321)の前にリターンするが、真であれ
ば引き続いて活性化条件を評価(ステップS325)し
た後、その評価値が真か偽かをチエック(ステップS3
26)する。この結果、偽であればルールが有るか否か
の判定(ステップS321)の前にリターンするが、真
であれば引き続いてルールを活性化(ステップS32
7)した後、ルールが有るか否かの判定(ステップS3
21)の前にリターンする。ルールの活性化(ステップ
S327)では、活性化条件の評価結果に応じて該当す
るルールを選択実行可能な集合に含める。
This event generation process (step S32)
In the sub-program, first, it is determined whether or not there is a rule whose state is evaluated (step S321). As a result, if there is no rule, the process returns before the selection of the rule in the control main program (step S1). If there is, the event is set (step S322), and then the required event is designated and evaluated (step S323).
To do. After that, it is checked whether the evaluation value is true or false (step S324), and if false, the process returns before the determination of whether there is a rule (step S321), but if true, the activation condition continues. Is evaluated (step S325), and then whether the evaluation value is true or false is checked (step S3).
26) As a result, if the result is false, the process returns before determining whether or not there is a rule (step S321), but if the result is true, the rule is subsequently activated (step S32).
After 7), it is determined whether there is a rule (step S3
Return before 21). In the rule activation (step S327), the corresponding rule is included in the selectable set according to the evaluation result of the activation condition.

【0023】即ち、この推論制御方式の場合、実行部
は、イベント論理値の発生に伴ってそのイベント論理値
に関連するルールにおける必要なイベント指定を評価す
ると共に、イベント指定の評価結果に応じて該当するル
ールの活性化条件を評価することができる。又、実行部
は活性化条件の評価結果に応じて該当するルールを選択
実行可能な集合に含めると共に、選択実行可能な集合の
ルールに対してそのルールの評価値をイベント論理値と
して自動的に発生することができる。尚、このような推
論制御方式では、実行部でルールの活性化条件の評価以
外のイベントを推論実行中に発生させることも容易であ
る。
That is, in the case of this inference control method, the execution unit evaluates the necessary event designation in the rule related to the event logical value with the occurrence of the event logical value, and according to the evaluation result of the event designation. The activation condition of the applicable rule can be evaluated. In addition, the execution unit includes the corresponding rule in the selectable set according to the evaluation result of the activation condition, and automatically evaluates the rule evaluation value as the event logical value for the rule of the selectable set. Can occur. In such an inference control method, it is easy for the execution unit to cause an event other than the evaluation of the rule activation condition during the inference execution.

【0024】このような推論制御方式により知識データ
に基づいて推論を連鎖すれば、発生したイベントを参照
するルールについて繰り返し処理が行われるので、特定
のルールにとって必要なイベントが揃わない限り活性化
条件を試験せず、又活性化条件を満たさないルールを選
択対象とせずに迅速に所望のルールに対する制御が行わ
れることになる。
By chaining inferences based on knowledge data by such an inference control method, rules that refer to an event that has occurred are repeatedly processed. Therefore, unless the events necessary for a particular rule are available, the activation condition is not satisfied. Will not be tested, and a rule that does not satisfy the activation condition will not be selected, and control for the desired rule will be performed quickly.

【0025】[0025]

【発明の効果】以上に述べた通り、この発明のエキスパ
ートシステムの推論制御方式によれば、特定のルールに
とって必要なイベントが揃わない限り活性化条件を試験
せず、しかも活性化条件を満たさないルールを選択対象
とせずに所望のルールを活性化して細かく制御するの
で、簡素な処理から複雑で高度な処理に至るまで対応可
能になる。特に、不要なルールを篩落とした上で関連す
るルールのみを実行するので、その処理に要する時間は
極めて短時間で済むようになる。又、イベントには任意
なデータを使用できると共に、ルールの評価に従って自
動的に発生されるイベントとそれ以外の利用者が自由に
発生させられるイベントとの双方を扱うことができるの
で、ルールの評価に基づく自動的な推論連鎖や、データ
の書き込み等による明示的な推論の起動連鎖の何れの記
述形式にも対応できるようになる。
As described above, according to the inference control method of the expert system of the present invention, the activation condition is not tested unless the events required for a specific rule are prepared, and the activation condition is not satisfied. Since a desired rule is activated and finely controlled without activating the rule as a selection target, it is possible to handle from simple processing to complicated advanced processing. In particular, since unnecessary rules are filtered out and only relevant rules are executed, the time required for the processing can be extremely short. In addition, any data can be used for the event, and both the event that is automatically generated according to the rule evaluation and the event that other users can freely generate can be handled. It is possible to support any description format of an automatic inference chain based on the above, or an explicit inference invocation chain by writing data or the like.

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

【図1】この発明のエキスパートシステムの推論制御方
式に係る制御メインプログラムを示した簡易フローチャ
ートである。
FIG. 1 is a simplified flowchart showing a control main program related to an inference control method of an expert system of the present invention.

【図2】図1に示す制御メインプログラムに含まれるル
ール実行部分のサブプログラムを示したフローチャート
である。
FIG. 2 is a flow chart showing a subprogram of a rule execution part included in the control main program shown in FIG.

【図3】図2に示すイベント発生に係るルール活性化サ
ブプログラムを示したフローチャートである。
FIG. 3 is a flowchart showing a rule activation subprogram relating to the event occurrence shown in FIG.

【図4】従来の推論制御部における推論連鎖制御方式の
一例を示した説明図である。
FIG. 4 is an explanatory diagram showing an example of an inference chain control method in a conventional inference control unit.

【図5】従来の推論制御部における推論連鎖制御方式の
他の例を示した説明図である。
FIG. 5 is an explanatory diagram showing another example of the inference chain control method in the conventional inference control unit.

【符号の説明】[Explanation of symbols]

1a,2a,1β,2β…条件部 1b,2b,1γ,2γ…実行部 1α,2α…イベント論理式 a,b,c…データ α,β,γ…イベント 1a, 2a, 1β, 2β ... Conditional part 1b, 2b, 1γ, 2γ ... Execution part 1α, 2α ... Event logical expression a, b, c ... Data α, β, γ ... Event

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 活性化に必要な複数のイベントの組み合
わせを定め、該組み合わせのうちから任意な要素を選定
し、所定の論理条件に基づいて該選定した要素を状態評
価した後、該状態評価の結果に応じてイベント論理値を
発生すると共に、該イベント論理値を表示する手続きを
行う実行部をそれぞれ含む複数の互いに異なるルールを
有する知識データに基づいて推論を連鎖することを特徴
とするエキスパートシステムの推論制御方式。
1. A combination of a plurality of events required for activation is defined, an arbitrary element is selected from the combination, and the selected element is state-evaluated based on a predetermined logical condition. An expert characterized by generating an event logical value in accordance with the result of the above and chaining inferences based on knowledge data having a plurality of mutually different rules each including an execution unit for performing a procedure for displaying the event logical value. Inference control method of system.
【請求項2】 請求項1記載のエキスパートシステムの
推論制御方式において、前記複数のイベントには任意な
データが利用されることを特徴とするエキスパートシス
テムの推論制御方式。
2. The inference control system for an expert system according to claim 1, wherein arbitrary data is used for the plurality of events.
【請求項3】 請求項1又は2記載のエキスパートシス
テムの推論制御方式において、前記実行部は、前記イベ
ント論理値の発生に伴って該イベント論理値に関連する
ルールにおける必要なイベント指定を評価することを特
徴とするエキスパートシステムの推論制御方式。
3. The inference control method for an expert system according to claim 1, wherein the execution unit evaluates a necessary event designation in a rule associated with the event logical value as the event logical value occurs. An inference control method for expert systems characterized by the following.
【請求項4】 請求項3記載のエキスパートシステムの
推論制御方式において、前記実行部は前記イベント指定
の評価結果に応じて当該ルールの活性化条件を評価する
ことを特徴とするエキスパートシステムの推論制御方
式。
4. The inference control method of the expert system according to claim 3, wherein the execution unit evaluates the activation condition of the rule according to the evaluation result of the event designation. method.
【請求項5】 請求項4記載のエキスパートシステムの
推論制御方式において、前記実行部は前記ルールの活性
化条件の評価以外のイベントを推論実行中に発生可能な
ことを特徴とするエキスパートシステムの推論制御方
式。
5. The inference control method for an expert system according to claim 4, wherein the execution unit can generate an event other than the evaluation of the activation condition of the rule during the inference execution. control method.
【請求項6】 請求項4又は5記載のエキスパートシス
テムの推論制御方式において、前記実行部は前記活性化
条件の評価結果に応じて当該ルールを選択実行可能な集
合に含むことを特徴とするエキスパートシステムの推論
制御方式。
6. The expert system inference control method according to claim 4 or 5, wherein the execution unit includes the rule in a set that can be selectively executed according to an evaluation result of the activation condition. Inference control method of system.
【請求項7】 請求項6記載のエキスパートシステムの
推論制御方式において、前記実行部は、前記選択実行可
能な集合のルールに対して該ルールの評価値を前記イベ
ント論理値として自動的に発生することを特徴とするエ
キスパートシステムの推論制御方式。
7. The inference control method for an expert system according to claim 6, wherein the execution section automatically generates an evaluation value of the rule for the rule of the selectively executable set as the event logical value. An inference control method for expert systems characterized by the following.
JP5277221A 1993-11-08 1993-11-08 Expert system inference control method Pending JPH07129402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5277221A JPH07129402A (en) 1993-11-08 1993-11-08 Expert system inference control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5277221A JPH07129402A (en) 1993-11-08 1993-11-08 Expert system inference control method

Publications (1)

Publication Number Publication Date
JPH07129402A true JPH07129402A (en) 1995-05-19

Family

ID=17580509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5277221A Pending JPH07129402A (en) 1993-11-08 1993-11-08 Expert system inference control method

Country Status (1)

Country Link
JP (1) JPH07129402A (en)

Similar Documents

Publication Publication Date Title
JP2511642B2 (en) Data processing system and method for starting a sequence of data processing system user inputs in the data processing system
US4752889A (en) Dynamic, interactive display system for a knowledge base
DE69130766T2 (en) INTELLIGENT AUXILIARY SYSTEM
US6301602B1 (en) Priority information display system
US5319740A (en) Expert system building method and system
JP3554854B2 (en) Business job execution related diagram display method
JP3223933B2 (en) Knowledge base reasoning method and apparatus
JP2001043296A (en) System and method for utilizing thresholds during dynamic display of data relationships between static charts
US5463718A (en) Learning method and apparatus
JPH07129402A (en) Expert system inference control method
JPH05151025A (en) Debugging method and debugging device
JPH1020984A (en) Simplified function selection menu system
JPH09258983A (en) Contention dissolving device and contention dissolving rule generation device for production system
EP0449402A2 (en) Method for rolling back an expert system
JP2650101B2 (en) User adaptive system and adaptive method
JPH07200233A (en) Graphic parts management device
EP0439342A2 (en) Method of operating an expert system and computer systems therefor
EP0439341A2 (en) Display for expert system
JPH06176003A (en) Simulation device based upon petri net
JPH0391030A (en) Method and device for debugging for fuzzy inference
JPH01177132A (en) Interactive expert system
JPS62245334A (en) Constructing method for inference mechanism
JPH0497448A (en) Interactive type simplex testing system
IE980854A1 (en) A modelling system for project control
JPS63109529A (en) Questionnaire replying device