JPH0322029A - Contradicting fuzzy rule deciding device - Google Patents
Contradicting fuzzy rule deciding deviceInfo
- Publication number
- JPH0322029A JPH0322029A JP1155782A JP15578289A JPH0322029A JP H0322029 A JPH0322029 A JP H0322029A JP 1155782 A JP1155782 A JP 1155782A JP 15578289 A JP15578289 A JP 15578289A JP H0322029 A JPH0322029 A JP H0322029A
- Authority
- JP
- Japan
- Prior art keywords
- fuzzy
- fuzzy rule
- rule
- consequent
- file
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
Description
【発明の詳細な説明】
く産業上の利朋分野〉
本発明は、ファジーコンピュータやファジーコントロー
ラにおいて、ファイルに保持されたファジールールデー
タから矛盾するファジールールを判定する矛盾ファジー
ルール判定装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Advantages The present invention relates to a contradictory fuzzy rule determining device for determining contradictory fuzzy rules from fuzzy rule data held in a file in a fuzzy computer or a fuzzy controller.
く従来の技術〉
一般に、ファジーコンピュータやファジーコントローラ
においては、前件部「if〜」と後件部r then・
・・」より成るファジールールデータを順次作成してフ
ァイルに保持し、前件部「「1f〜」のファジー変数が
入力すると、後件部r then・・・」のフアジー変
数をファジー推論するように構成されている。Conventional technology> Generally, in fuzzy computers and fuzzy controllers, the antecedent part "if~" and the consequent part r then/
``...'' is sequentially created and stored in a file, and when a fuzzy variable with an antecedent part ``1f~'' is input, fuzzy inference is performed on a fuzzy variable with a consequent part r then...'' It is composed of
く発明が解決しようとする課題〉
しかしながら、上記従来のファジーコンピュータやファ
ジーコントローラでは、誤ったファジールールを作成し
た場合、デバッグが困難であるという問題点があり、ま
た、余分なファジールールによりファジー推論の効率が
悪化するという問題点がある。Problems to be Solved by the Invention> However, with the conventional fuzzy computers and fuzzy controllers described above, there is a problem that debugging is difficult if an incorrect fuzzy rule is created, and fuzzy inference is difficult to solve due to redundant fuzzy rules. There is a problem that the efficiency of the system deteriorates.
本発明は上記従来の問題点に鑑み、矛盾するファジール
ールのデバッグが容易であり、また、ファジー推論の効
率を向上することができる矛盾ファジールール判定装置
を提供することを目的とする。In view of the above conventional problems, it is an object of the present invention to provide a contradictory fuzzy rule determination device that facilitates debugging of contradictory fuzzy rules and improves the efficiency of fuzzy inference.
く課題を解決するための手段〉
本発明は上記目的を達成するために、前件部が同一のフ
ァジールールデータを抽出し、これらのファジールール
データの後件部を比較し、一致しない場合にそのファジ
ールールを矛盾すると判定するようにしたものである。Means for Solving the Problems> In order to achieve the above object, the present invention extracts fuzzy rule data with the same antecedent part, compares the consequent parts of these fuzzy rule data, and if they do not match, This fuzzy rule is determined to be inconsistent.
く作用〉
本発明は上記構成により、前件部が同一であるファジー
ルールは、後件部が同一であってはならないので、矛盾
するファジールールを判定することができ、また、前件
部データの抽出と後件部データの比較が簡単であるので
、デバッグが容易である。更に、矛盾したファジールー
ルを保持しないので、ファジー推論の効率を向上するこ
とができる。With the above configuration, the present invention allows fuzzy rules with the same antecedent part to have the same consequent part, so it is possible to determine contradictory fuzzy rules. Since it is easy to extract and compare the consequent part data, debugging is easy. Furthermore, since contradictory fuzzy rules are not held, the efficiency of fuzzy inference can be improved.
く実施例〉
以下、図面を参照して本発明の実施例を説明する。第1
図は、本発明に係る矛盾ファジールール判定装置の一実
施例を示す機能ブロック図、第2図は、第1図のファジ
ールールファイルの記憶内容を示す説明図、第3図は、
第1図のファジールールファイルの動作を説明するため
のフローチャートである。Embodiments> Hereinafter, embodiments of the present invention will be described with reference to the drawings. 1st
1 is a functional block diagram showing an embodiment of the contradictory fuzzy rule determination device according to the present invention, FIG. 2 is an explanatory diagram showing the stored contents of the fuzzy rule file of FIG. 1, and FIG.
2 is a flowchart for explaining the operation of the fuzzy rule file of FIG. 1. FIG.
第1図において、1は、複数のファジールールデータが
格納されたファジールールファイルであり、このファジ
ールールは、前件部「if〜」と後件部「then・・
・」より成る。In FIG. 1, 1 is a fuzzy rule file in which a plurality of fuzzy rule data are stored, and this fuzzy rule consists of an antecedent part "if~" and a consequent part "then...
・Consists of.
ファジールールファイル1には第2図に示すように、例
えばファジールールの前件部「1f〜」がif x=A
& y=8
であり、後件部「then・・・」が
thenX 二 C
である場合、前件部のファジー変数K,Vz後件部のフ
ァジー変数21ファジーラベルA,B,Cが格納される
。As shown in FIG. 2, in the fuzzy rule file 1, for example, the antecedent part of the fuzzy rule "1f~" is
& y=8, and the consequent part "then..." is thenX 2 C, then the fuzzy variables K, Vz of the antecedent part and the fuzzy variables 21 fuzzy labels A, B, C of the consequent part are stored. Ru.
第1図に戻り、2は、ファイル1に格納されたファジー
ルールの前件部のファジー変数XrYとファジーラベル
A,Bを抽出する前件部抽出手段、3は、前件部抽出千
段2により抽出されたファジールールの前件部と同一の
前件部をファイルから抽出し、それぞれの後件部を比較
することによりそのファジールールが矛盾するか否かを
判定する後件部判定手段である。Returning to FIG. 1, 2 is an antecedent extraction means for extracting the fuzzy variables XrY and fuzzy labels A and B of the antecedent of the fuzzy rule stored in file 1, and 3 is an antecedent extraction stage 2. A consequent part determining means that extracts from a file the same antecedent part as the antecedent part of the fuzzy rule extracted by be.
次に、第3図を参照して上記実施例の動作を説明する。Next, the operation of the above embodiment will be explained with reference to FIG.
前件部抽出千段2は、ファイル1に格納されたファジー
ルール群から任意のファジールールXを抽出しくステッ
プ31)、このファジールールXの前件部のファジー変
数x,yとファジーラベルA,Bを前件部Xとする(ス
テップ32)。Antecedent part extraction step 2 extracts an arbitrary fuzzy rule Let B be the antecedent part X (step 32).
次いで、後件部判定千段3は、前件部Xのファジー変数
x,yとファジーラベルA,Bと同一のファジールール
をファイル2からリストアップし(ステップ33)、フ
ァジールールXの後件部と、リストアップしたファジー
ルールの後件部を比較し(ステップ34)、ファジー変
数が同一であってファジーラベルが異なる場合にはどち
らかのフ7ジールールが矛盾していると判定する(ステ
ップ35)。Next, the consequent part judgment stage 3 lists the fuzzy rules that are the same as the fuzzy variables x, y and fuzzy labels A, B of the antecedent part X from the file 2 (step 33), and the consequent of the fuzzy rule X. and the consequent of the listed fuzzy rules (step 34), and if the fuzzy variables are the same but the fuzzy labels are different, it is determined that one of the fuzzy rules is inconsistent (step 34). 35).
すなわち、前件部が同一であるファジールールは、後件
部が同一であってはならないので、矛盾するファジール
ールを抽出することができ、また、前件部データの抽出
と後件部データの比較が簡単であるので、デバッグが容
易である。In other words, fuzzy rules with the same antecedent part cannot have the same consequent part, so contradictory fuzzy rules can be extracted, and the extraction of antecedent part data and the consequent part data can be Since comparison is simple, debugging is easy.
尚、上記判定は、ファイル1に格納された各ファジール
ール毎に行い(ステップ36−31)したがって、ファ
イル1に格納された全ファジールールのデバッグを行う
ことができる。Note that the above determination is performed for each fuzzy rule stored in file 1 (step 36-31), so that all fuzzy rules stored in file 1 can be debugged.
く発明の効果〉
以上説明したように、本発明は、前件部が同一のフ7ジ
ールールデータを抽出し、これらのファジールールデー
タの後件部を比較し、一致しない場合にそのファジール
ールを矛盾すると判定するようにしたので、前件部の抽
出と後件部の比較が簡単であり、したがってデバッグが
容易である。Effects of the Invention> As explained above, the present invention extracts fuzzy rule data with the same antecedent part, compares the consequent parts of these fuzzy rule data, and if they do not match, the fuzzy rule Since these are determined to be inconsistent, it is easy to extract the antecedent part and compare the consequent part, and therefore debugging is easy.
更に、矛盾したファジールールを保持しないので、ファ
ジー推論の効率を向上することができる。Furthermore, since contradictory fuzzy rules are not held, the efficiency of fuzzy inference can be improved.
第1図は、本発明に係る矛盾ファジールール判定装置の
一実施例を示す機能ブロック図、第2図は、第1図のフ
ァジールールファイルの記憶内容を示す説明図、第3図
は、第1図のファジールールファイルの動作を説明する
ためのフローチャートである。
1・・・ファイル、2・・・前件部抽出手段、3・・・
後件部判定手段。FIG. 1 is a functional block diagram showing an embodiment of the contradictory fuzzy rule determination device according to the present invention, FIG. 2 is an explanatory diagram showing the stored contents of the fuzzy rule file shown in FIG. 1, and FIG. FIG. 2 is a flowchart for explaining the operation of the fuzzy rule file shown in FIG. 1. FIG. 1... File, 2... Antecedent extraction means, 3...
Consequent part determination means.
Claims (1)
れたファイルと、 前記ファイルに格納されたファジールールデータから前
件部が同一のファジールールを抽出する手段と、 前記抽出手段により抽出されたファジールールデータの
後件部を比較し、一致しない場合にそのファジールール
を矛盾すると判定する手段とを有する矛盾ファジールー
ル判定装置。[Scope of Claims] A file storing fuzzy rule data consisting of an antecedent part and a consequent part; means for extracting fuzzy rules having the same antecedent part from the fuzzy rule data stored in the file; A contradictory fuzzy rule determining device comprising: means for comparing consequents of fuzzy rule data extracted by an extracting means, and determining that the fuzzy rule is contradictory if they do not match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1155782A JPH0322029A (en) | 1989-06-20 | 1989-06-20 | Contradicting fuzzy rule deciding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1155782A JPH0322029A (en) | 1989-06-20 | 1989-06-20 | Contradicting fuzzy rule deciding device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0322029A true JPH0322029A (en) | 1991-01-30 |
Family
ID=15613295
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1155782A Pending JPH0322029A (en) | 1989-06-20 | 1989-06-20 | Contradicting fuzzy rule deciding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0322029A (en) |
-
1989
- 1989-06-20 JP JP1155782A patent/JPH0322029A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Nazif et al. | Low level image segmentation: an expert system | |
| JP4155363B2 (en) | Data display device, data display method, and recording medium on which data display program is recorded | |
| CN101937372A (en) | Exception processing method and device | |
| US5243689A (en) | Case-based inference processing method | |
| JPH01147627A (en) | Question answering device | |
| Altaf-Ul-Amin et al. | DPClus: a density-periphery based graph clustering software mainly focused on detection of protein complexes in interaction networks | |
| JPH0322029A (en) | Contradicting fuzzy rule deciding device | |
| Zhou et al. | Object-based nonlinear undo model | |
| JPH08147278A (en) | Program registering device for external editing | |
| JPH1153383A (en) | Method for searching a plurality of databases and recording medium storing the search program and the like | |
| JPH03276369A (en) | automatic thesaurus reorganization device | |
| JP2723925B2 (en) | Computer-based online relocation method | |
| JP2591751B2 (en) | Similarity judgment method between objects | |
| CN117519763A (en) | Online update and evolution method of intelligent unmanned system software for autonomous sensing and decision-making execution | |
| JPH0447356A (en) | Computer system configuration changing device | |
| JP2002063185A (en) | System for extracting similar knowledge | |
| JP2672899B2 (en) | Screen program creation processing method | |
| JPS60235204A (en) | Sequence control method and device | |
| JPS61251966A (en) | Image processor | |
| JPH0145100B2 (en) | ||
| JP3396304B2 (en) | Software maintenance method and software maintenance device | |
| JPH01319826A (en) | Knowledge processor | |
| JPH01211016A (en) | Computer system | |
| JPS61253577A (en) | Japanese word processing filter | |
| JPS63216118A (en) | Keyboard equipment |