JPH06110694A - Membership function management device and execution instruction preparation device - Google Patents
Membership function management device and execution instruction preparation deviceInfo
- Publication number
- JPH06110694A JPH06110694A JP26011792A JP26011792A JPH06110694A JP H06110694 A JPH06110694 A JP H06110694A JP 26011792 A JP26011792 A JP 26011792A JP 26011792 A JP26011792 A JP 26011792A JP H06110694 A JPH06110694 A JP H06110694A
- Authority
- JP
- Japan
- Prior art keywords
- membership function
- name
- membership
- shape information
- stored
- 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
- Stored Programmes (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、メンバシップ関数管
理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a membership function management device.
【0002】[0002]
【従来の技術およびその問題点】今日、ファジィ推論を
行なうファジィ演算処理装置が提唱されている。これ
は、入力されたファジィ情報を、メンバシップ関数およ
びルールに基づいて、適合度を演算し、ある推論を行な
うものである。ファジィ演算処理装置においては、演算
を数式で表わすのが困難な場合に、適切なメンバシップ
関数およびルールを設定することにより、適切な推論結
果を得ることができる。2. Description of the Related Art Today, fuzzy arithmetic processing devices for performing fuzzy inference have been proposed. This is to perform a certain inference by calculating the fitness of the input fuzzy information based on the membership function and the rule. In a fuzzy arithmetic processing device, when it is difficult to express an arithmetic operation by a mathematical expression, an appropriate inference result can be obtained by setting an appropriate membership function and rule.
【0003】ところで、メンバシップ関数によっては他
のメンバシップ関数と関連のあるメンバシップ関数もあ
る。このような場合にも、プログラマが個々のソースプ
ログラムにおいて別々にメンバシップ関数を定義しなけ
ればならなかった。このようなメンバシップ関数の管理
は煩雑である。特に、今日では、より複雑なファジィ演
算を行なう為、プログラムが複雑になり、これに伴って
用いるメンバシップ関数の数が飛躍的に増えつつあるの
でなおさらである。By the way, depending on the membership function, there is also a membership function related to other membership functions. Even in such a case, the programmer had to define the membership function separately in each source program. Managing such a membership function is complicated. Especially, since the program is complicated nowadays because more complicated fuzzy operations are performed, and the number of membership functions to be used is increasing dramatically, this is all the more remarkable.
【0004】また、メンバシップ関数を別々に定義する
ため多量の情報がソースプログラム中に記載される為、
ソースプログラムが大きくなりメモリ容量が大きくなる
という問題もあった。Further, since a membership function is defined separately, a large amount of information is described in the source program,
There is also a problem that the source program becomes large and the memory capacity becomes large.
【0005】この発明は上記問題を解決し、メンバシッ
プ関数の管理を容易にするメンバシップ関数管理装置を
提供することを目的とする。It is an object of the present invention to solve the above problems and to provide a membership function management device that facilitates management of membership functions.
【0006】[0006]
【課題を解決するための手段】請求項1のメンバシップ
関数管理装置においては、メンバシップ関数記憶手段
は、あるメンバシップ関数のもつ特性をその下位のメン
バシップ関数が含んでいるような階層構造で構成されて
いるとともに、下位のメンバシップ関数の特性のうち上
位のメンバシップ関数と共通の特性については記憶する
ことなく、上位のメンバシップ関数を修正するメンバシ
ップ関数修正情報を記憶することにより、下位のメンバ
シップ関数を記憶し、メンバシップ関数取得手段は、前
記メンバシップ関数修正情報および所望のメンバシップ
関数の上位に位置するメンバシップ関数の特性に基づい
て、所望のメンバシップ関数を取得すること、を特徴と
する。According to another aspect of the membership function management apparatus of the present invention, the membership function storing means has a hierarchical structure in which the membership function of a certain membership function is included in the lower membership function. By storing the membership function modification information that modifies the upper membership function without storing the common characteristics of the lower membership function with the upper membership function. , The lower membership function is stored, and the membership function acquisition means acquires the desired membership function based on the membership function modification information and the characteristics of the membership function located above the desired membership function. What to do is characterized.
【0007】請求項2のメンバシップ関数管理装置にお
いては、メンバシップ関数記憶手段に新たなメンバシッ
プ関数を登録する際に、登録しようとするメンバシップ
関数に、メンバシップ関数記憶手段にすでに記憶されて
いるメンバシップ関数と同じ特性を含んでいる場合に
は、登録しようとするメンバシップ関数を、前記記憶済
メンバシップ関数の下位に位置付けるとともに、上位の
メンバシップ関数を修正するメンバシップ関数修正情報
として、登録しようとするメンバシップ関数が備えてい
る特性のうち、上位のメンバシップ関数に含まれていな
い特性を記憶すること、を特徴とする。In the membership function management device according to the second aspect, when a new membership function is registered in the membership function storage means, the membership function to be registered is already stored in the membership function storage means. If the membership function has the same characteristics as the existing membership function, the membership function to be registered is positioned below the remembered membership function and the membership function modification information for modifying the membership function above it is modified. Among the characteristics of the membership function to be registered, the characteristics not included in the higher membership function are stored.
【0008】請求項3のメンバシップ関数管理装置にお
いては、メンバシップ関数記憶手段に記憶されるメンバ
シップ関数は、メンバシップ関数形状情報およびその名
称であるメンバシップ関数名から構成されており、前記
メンバシップ関数名は、下位のメンバシップ関数名が上
位のメンバシップ関数名を含む階層構造で記憶されるこ
と、を特徴とする。According to another aspect of the membership function management apparatus of the present invention, the membership function stored in the membership function storage means comprises membership function shape information and a membership function name which is the name of the membership function shape information. The membership function name is characterized in that the lower level membership function name is stored in a hierarchical structure including the higher level membership function name.
【0009】請求項4の実行命令作成装置においては、
メンバシップ関数記憶手段は、下位のメンバシップ関数
名が上位のメンバシップ関数名を含む階層構造で記憶さ
れているとともに、下位のメンバシップ関数名に対応す
るメンバシップ関数形状情報の特性のうち上位のメンバ
シップ関数名に対応するメンバシップ関数形状情報と共
通の特性については記憶することなく、上位のメンバシ
ップ関数名に対応するメンバシップ関数形状情報を修正
するメンバシップ関数修正情報を記憶することにより、
下位のメンバシップ関数名に対応するメンバシップ関数
形状情報を記憶し、メンバシップ関数取得手段は、前記
メンバシップ関数修正情報および所望のメンバシップ関
数の上位に位置するメンバシップ関数の特性に基づい
て、所望のメンバシップ関数名に対応するメンバシップ
関数形状情報を取得すること、を特徴とする。According to the fourth aspect of the present invention, there is provided an execution instruction creating device,
The membership function storage means stores a lower-rank membership function name in a hierarchical structure including a higher-rank membership function name, and ranks higher than the characteristics of the membership function shape information corresponding to the lower-rank membership function name. The membership function shape information that corrects the membership function shape information corresponding to the higher-level membership function name is stored without storing the common characteristics with the membership function shape information corresponding to the membership function name of Due to
Membership function shape information corresponding to the lower membership function name is stored, and the membership function acquisition means is based on the membership function modification information and the characteristics of the membership function located above the desired membership function. , Acquiring membership function shape information corresponding to a desired membership function name.
【0010】[0010]
【作用】請求項1のメンバシップ関数管理装置において
は、メンバシップ関数記憶手段は、あるメンバシップ関
数のもつ特性をその下位のメンバシップ関数が含んでい
るような階層構造で構成されている。また、下位のメン
バシップ関数の特性のうち上位のメンバシップ関数と共
通の特性については記憶することなく、上位のメンバシ
ップ関数を修正するメンバシップ関数修正情報を記憶す
ることにより、下位のメンバシップ関数を記憶する。In the membership function management device according to the first aspect, the membership function storage means is constructed in a hierarchical structure such that the characteristics of a certain membership function are included in the lower membership function. Further, among the characteristics of the lower membership function, the characteristics common to the upper membership function are not stored, but the membership function modification information for modifying the upper membership function is stored, so that the lower membership Remember the function.
【0011】このようにして、上位のメンバシップ関数
と下位のメンバシップ関数を関連づけることができる。
また下位のメンバシップ関数は、上位のメンバシップ関
数の特性を承継することとなり、上位下位の関係にある
メンバシップ関数についての管理が容易になる。In this way, the upper membership function and the lower membership function can be associated with each other.
Further, the lower-rank membership function inherits the characteristics of the higher-rank membership function, which facilitates the management of the higher-rank and lower-rank membership functions.
【0012】メンバシップ関数取得手段は、前記メンバ
シップ関数修正情報および所望のメンバシップ関数の上
位に位置するメンバシップ関数の特性に基づいて、所望
のメンバシップ関数を取得する。したがって、所望のメ
ンバシップ関数について必要な情報を取得することがで
きる。The membership function acquisition means acquires a desired membership function based on the membership function modification information and the characteristics of the membership function located above the desired membership function. Therefore, it is possible to acquire necessary information about the desired membership function.
【0013】請求項2のメンバシップ関数管理装置にお
いては、メンバシップ関数記憶手段に新たなメンバシッ
プ関数を登録する際に、登録しようとするメンバシップ
関数に、メンバシップ関数記憶手段にすでに記憶されて
いるメンバシップ関数と同じ特性を含んでいる場合に
は、登録しようとするメンバシップ関数を、前記記憶済
メンバシップ関数の下位に位置付ける。さらに、上位の
メンバシップ関数を修正するメンバシップ関数修正情報
として、登録しようとするメンバシップ関数が備えてい
る特性のうち、上位のメンバシップ関数に含まれていな
い特性を記憶する。In the membership function management device of the present invention, when registering a new membership function in the membership function storage means, the membership function to be registered is already stored in the membership function storage means. If the membership function has the same characteristics as the stored membership function, the membership function to be registered is positioned below the stored membership function. Further, among the characteristics included in the membership function to be registered, the characteristics not included in the higher membership function are stored as the membership function modification information for modifying the higher membership function.
【0014】したがって、メンバシップ関数を登録する
際、階層構造で登録できるとともに、上位のメンバシッ
プ関数に含まれていない特性を登録することができる。Therefore, when registering the membership function, it is possible to register it in a hierarchical structure and to register the characteristics not included in the higher-level membership function.
【0015】請求項3のメンバシップ関数管理装置にお
いては、メンバシップ関数記憶手段に記憶されるメンバ
シップ関数は、メンバシップ関数形状情報およびその名
称であるメンバシップ関数名から構成されており、前記
メンバシップ関数名は、下位のメンバシップ関数名が上
位のメンバシップ関数名を含む階層構造で記憶される。
したがって、メンバシップ関数をメンバシップ関数名で
管理できるとともに、メンバシップ関数名を階層構造で
管理することができる。According to another aspect of the membership function management apparatus of the present invention, the membership function stored in the membership function storage means is composed of membership function shape information and a membership function name which is its name. Membership function names are stored in a hierarchical structure in which lower-rank membership function names include higher-rank membership function names.
Therefore, the membership function can be managed by the membership function name and the membership function name can be managed by the hierarchical structure.
【0016】請求項4の実行命令作成装置においては、
メンバシップ関数記憶手段は、下位のメンバシップ関数
名が上位のメンバシップ関数名を含む階層構造で記憶さ
れているとともに、下位のメンバシップ関数名に対応す
るメンバシップ関数形状情報の特性のうち上位のメンバ
シップ関数名に対応するメンバシップ関数形状情報と共
通の特性については記憶することなく、上位のメンバシ
ップ関数名に対応するメンバシップ関数形状情報を修正
するメンバシップ関数修正情報を記憶することにより、
下位のメンバシップ関数名に対応するメンバシップ関数
形状情報を記憶する。したがって、上位下位の関係にあ
るメンバシップ関数をメンバシップ関数名で管理するこ
とができる。In the execution instruction creating apparatus of claim 4,
The membership function storage means stores a lower-rank membership function name in a hierarchical structure including a higher-rank membership function name, and ranks higher than the characteristics of the membership function shape information corresponding to the lower-rank membership function name. The membership function shape information that corrects the membership function shape information corresponding to the higher-level membership function name is stored without storing the common characteristics with the membership function shape information corresponding to the membership function name of Due to
The membership function shape information corresponding to the lower-order membership function name is stored. Therefore, it is possible to manage the membership functions in the upper and lower relationships by the membership function name.
【0017】またメンバシップ関数取得手段は、前記メ
ンバシップ関数修正情報および所望のメンバシップ関数
の上位に位置するメンバシップ関数の特性に基づいて、
所望のメンバシップ関数名に対応するメンバシップ関数
形状情報を取得する。したがって、所望のメンバシップ
関数について必要な情報を取得することができる。Further, the membership function acquisition means, based on the membership function modification information and the characteristics of the membership function positioned above the desired membership function,
The membership function shape information corresponding to the desired membership function name is acquired. Therefore, it is possible to acquire necessary information about the desired membership function.
【0018】[0018]
[実行命令作成装置1]本発明の一実施例を図面に基づ
いて説明する。図2に実行命令作成装置10の機能ブロ
ック図を示す。実行命令作成装置10は、メンバシップ
関数記憶手段3、メンバシップ関数取得手段5、命令入
力手段7および実行命令作成手段9を備えている。[Execution Command Creating Device 1] An embodiment of the present invention will be described with reference to the drawings. FIG. 2 shows a functional block diagram of the execution instruction creation device 10. The execution instruction creating device 10 includes a membership function storage unit 3, a membership function acquisition unit 5, an instruction input unit 7, and an execution instruction creation unit 9.
【0019】メンバシップ関数記憶手段3は、メンバシ
ップ関数形状情報およびその名称であるメンバシップ関
数名を記憶する。本実施例においては、メンバシップ関
数形状情報およびその名称であるメンバシップ関数名で
メンバシップ関数が構成される。なお、メンバシップ関
数記憶手段3は、下位のメンバシップ関数名が上位のメ
ンバシップ関数名を含む階層構造で記憶されている。The membership function storage means 3 stores the membership function shape information and the membership function name which is its name. In the present embodiment, the membership function is composed of the membership function shape information and the membership function name which is its name. The membership function storage unit 3 is stored in a hierarchical structure in which lower membership function names include higher membership function names.
【0020】また、メンバシップ関数記憶手段3は、下
位のメンバシップ関数名に対応するメンバシップ関数形
状情報の特性のうち上位のメンバシップ関数名に対応す
るメンバシップ関数形状情報と共通の特性については記
憶することなく、上位のメンバシップ関数名に対応する
メンバシップ関数形状情報を修正するメンバシップ関数
修正情報を記憶する。これにより、下位のメンバシップ
関数名に対応するメンバシップ関数形状情報を記憶す
る。なおメンバシップ関数の特性とは、メンバシップ関
数の形状情報を表わすのに必要な情報をいう。Further, the membership function storage means 3 has a common characteristic with the membership function shape information corresponding to the upper membership function name among the characteristics of the membership function shape information corresponding to the lower membership function name. Does not store, but stores membership function modification information for modifying the membership function shape information corresponding to the higher-level membership function name. Thereby, the membership function shape information corresponding to the lower membership function name is stored. The characteristic of the membership function is the information required to represent the shape information of the membership function.
【0021】命令入力手段7には、メンバシップ関数名
を含む命令が入力される。メンバシップ関数取得手段5
は、命令入力手段7に入力された命令に含まれるメンバ
シップ関数名に基づき、メンバシップ関数記憶手段3か
ら対応するメンバシップ関数形状情報を取得する。実行
命令作成手段9は、命令入力手段7に入力された命令お
よびメンバシップ関数取得手段5から与えられたメンバ
シップ関数形状情報に基づいて、実行命令を作成する。A command including a membership function name is input to the command input means 7. Membership function acquisition means 5
Acquires the corresponding membership function shape information from the membership function storage unit 3 based on the membership function name included in the command input to the command input unit 7. The execution instruction creating means 9 creates an execution instruction based on the instruction input to the instruction input means 7 and the membership function shape information given from the membership function acquisition means 5.
【0022】このように、実行命令作成装置10におい
ては、命令入力手段7にメンバシップ関数名を含む命
令、すなわちメンバシップ関数形状情報を含まない命令
を入力しても、対応するメンバシップ関数形状情報を取
得し、実行命令を作成することができる。As described above, in the execution instruction creating apparatus 10, even if an instruction including the membership function name, that is, an instruction not including the membership function shape information is input to the instruction input means 7, the corresponding membership function shape is input. Information can be obtained and execution instructions can be created.
【0023】[実行命令作成装置21]図3に、実行命
令作成装置10をより具体的に構成した実行命令作成装
置21を示す。実行命令作成装置21は、メンバシップ
関数登録部22、メンバシップ関数記憶手段であるメン
バシップ関数ライブラリ23、命令入力手段であるソー
スプログラム入力部24、メンバシップ関数取得手段で
あるプリプロセッサ25、および実行命令作成手段であ
るコンパイラ26を備えている。[Execution Command Creating Device 21] FIG. 3 shows an execution command creating device 21 in which the execution command creating device 10 is more specifically configured. The execution instruction creating device 21 includes a membership function registration unit 22, a membership function library 23 which is a membership function storage unit, a source program input unit 24 which is an instruction input unit, a preprocessor 25 which is a membership function acquisition unit, and an execution unit. A compiler 26, which is an instruction creating means, is provided.
【0024】実行命令作成装置21は、ソースプログラ
ムから実行プログラムを作成する装置であり、実行命令
作成装置1にさらにメンバシップ関数を登録するための
メンバシップ関数登録部を有している。The execution command creating device 21 is a device for creating an execution program from a source program, and further has a membership function registration unit for registering a membership function in the execution command creating device 1.
【0025】前記ソースプログラムには、メンバシップ
関数名が含まれており、メンバシップ関数形状情報は含
まれていない。このソースプログラムをコンパイルする
際、必要なメンバシップ関数形状情報を予め登録したデ
ータから取得して、実行プログラムを作成する。The source program includes a membership function name, but does not include membership function shape information. When compiling this source program, necessary membership function shape information is acquired from previously registered data to create an execution program.
【0026】実行命令作成装置21の各機能の概略を説
明する。まず、メンバシップ関数を登録する場合につい
て説明する。メンバシップ関数登録部22に登録するメ
ンバシップ関数が入力されると、メンバシップ関数ライ
ブラリ23は、メンバシップ関数形状情報およびその名
称であるメンバシップ関数名を記憶する。その際、メン
バシップ関数ライブラリ23は、下位のメンバシップ関
数名が上位のメンバシップ関数名を含む階層構造で記憶
する。The outline of each function of the execution instruction creating device 21 will be described. First, the case of registering a membership function will be described. When the membership function to be registered in the membership function registration unit 22 is input, the membership function library 23 stores the membership function shape information and the membership function name which is its name. At this time, the membership function library 23 stores the membership function name of the lower hierarchy in a hierarchical structure including the membership function name of the higher membership function.
【0027】また、メンバシップ関数ライブラリ23
は、下位のメンバシップ関数名に対応するメンバシップ
関数形状情報の特性のうち上位のメンバシップ関数名に
対応するメンバシップ関数形状情報と共通の特性につい
ては記憶することなく、上位のメンバシップ関数名に対
応するメンバシップ関数形状情報を修正するメンバシッ
プ関数修正情報を記憶する。このようにして、メンバシ
ップ関数情報が登録される。Also, the membership function library 23
Does not store the characteristics common to the membership function shape information corresponding to the upper membership function name among the characteristics of the membership function shape information corresponding to the lower membership function name, and stores the upper membership function. The membership function modification information for modifying the membership function shape information corresponding to the name is stored. In this way, the membership function information is registered.
【0028】つぎに、メンバシップ関数情報を検索し
て、実行プログラムを作成する場合について説明する。
まず、ソースプログラムがソースプログラム入力部24
に入力される。このソースプログラムには、メンバシッ
プ関数名が含まれている。プリプロセッサ25は入力さ
れたソースプログラムに、未定義のメンバシップ関数形
状情報(以下未定義情報という)があるか否か判断し、
未定義情報が存在すれば、メンバシップ関数名に基づい
て、メンバシップ関数ライブラリ23を検索し、当該メ
ンバシップ関数名に対応するメンバシップ関数形状情報
を取得する。得られたメンバシップ関数形状情報および
前記ソースプログラムはコンパイラ26に与えられ、コ
ンパイルされる。これにより、実行プログラムが出力さ
れる。Next, the case of searching the membership function information and creating the execution program will be described.
First, the source program is the source program input unit 24.
Entered in. This source program contains the membership function name. The preprocessor 25 determines whether or not the input source program has undefined membership function shape information (hereinafter referred to as undefined information),
If there is undefined information, the membership function library 23 is searched based on the membership function name, and the membership function shape information corresponding to the membership function name is acquired. The obtained membership function shape information and the source program are given to the compiler 26 and compiled. As a result, the execution program is output.
【0029】[メンバシップ関数の記憶方法について]
つぎに、図4〜7を用いて、メンバシップ関数ライブラ
リ23の構造について説明する。[Regarding method of storing membership function]
Next, the structure of the membership function library 23 will be described with reference to FIGS.
【0030】図4においては、最上位のメンバシップ関
数のメンバシップ関数名は「takai」である。その
下位のメンバシップ関数として、「se-taka
i」、「yama-takai」というメンバシップ関
数名のメンバシップ関数が存在する。「se-taka
i」というメンバシップ関数名のメンバシップ関数に
は、さらに「nihonjin-se-takai」,
「amerikajin-se-takai」というメン
バシップ関数名のメンバシップ関数が存在する。In FIG. 4, the membership function name of the highest-level membership function is "takai". As the membership function of the lower level, "se - taka
There are membership functions whose membership function names are "i" and "yama - takai". "Se - taka
For the membership function with the membership function name of "i", "nihonjin - se - takai",
There is a membership function whose membership function name is "amerikajin - se - takai".
【0031】また、「yama-takai」というメ
ンバシップ関数名のメンバシップ関数には、さらに「n
ihon-yama-takai」というメンバシップ関
数名のメンバシップ関数が存在する。Further, the membership function having the membership function name "yama - takai" has "n"
There is a membership function with the membership function name "ihon - yama - takai".
【0032】このように、本実施例においては、下位の
メンバシップ関数名が上位のメンバシップ関数名を含む
階層構造で記憶されている。As described above, in this embodiment, the lower membership function names are stored in a hierarchical structure including the upper membership function names.
【0033】つぎに、メンバシップ関数形状情報の記憶
方法について説明する。「takai」というメンバシ
ップ関数名のメンバシップ関数形状情報は、一般に、図
5Bに示すような形状をしている。このような形状のメ
ンバシップ関数は、4点の座標(α、β、γ、δ)で定
義することができる。同図Bのメンバシップ関数形状情
報の定義データを、同図Aに示す。この定義データの
「x,y,z」を特定することによれ、「m1,m2,
m3」が特定される。これにより、メンバシップ関数の
形状が特定される。Next, a method of storing the membership function shape information will be described. The membership function shape information of the membership function name "takai" generally has a shape as shown in FIG. 5B. The membership function having such a shape can be defined by the coordinates of four points (α, β, γ, δ). The definition data of the membership function shape information of FIG. 9B is shown in FIG. By specifying “x, y, z” of this definition data, “m1, m2,
m3 ”is specified. Thereby, the shape of the membership function is specified.
【0034】なお、 takai operator + (takai x,int y){ x.m1=x.m1+y; x.m2=x.m2+y; } および、takai operator − (takai x,int y){ x.m1=x.m1−y; x.m2=x.m2−y; } の部分は、付加データ部分であり、メンバシップ関数形
状情報の形状を変化させるためのものである。具体的な
説明は後述する。It should be noted that takai operator + (takai x, int y) {x.m1 = x.m1 + y; x.m2 = x.m2 + y;} and takai operator− (takai x, int y) {x.m1 = The part of x.m1-y; x.m2 = x.m2-y;} is an additional data part, and is for changing the shape of the membership function shape information. Specific description will be given later.
【0035】つぎに、「se-takai」というメン
バシップ関数名のメンバシップ関数形状情報について、
図6A,Bを用いて説明する。同図Aに示すように、
「inherit:takai」とある。「inher
it:takai」とは、「se-takai」という
メンバシップ関数名のメンバシップ関数は、「taka
i」というメンバシップ関数名のメンバシップ関数の特
性を承継するという意味である。すなわち、「se-t
akai」というメンバシップ関数名のメンバシップ関
数においては、メンバシップ関数形状情報のうち「ta
kai」というメンバシップ関数名のメンバシップ関数
の定義データ({(0,0.0)・・・・;x.m2=
x.m2−y;}}部分(図5A参照)を用いるという
ことである。Next, regarding the membership function shape information of the membership function name "se - takai",
This will be described with reference to FIGS. 6A and 6B. As shown in FIG.
There is "inherit: takai". "Inher
"it: takai" means that the membership function with the membership function name "se - takai" is "taka
This means that the characteristics of the membership function with the membership function name "i" are inherited. That is, "se - t
In the membership function having the membership function name “akai”, “ta” is included in the membership function shape information.
kai ”membership function definition data ({(0,0.0) ...; x.m2 =
x.m2-y;}} portion (see FIG. 5A).
【0036】さらに、「se-takai」というメン
バシップ関数名のメンバシップ関数においては、「m3
=220」と定義されている。すなわち、「taka
i」というメンバシップ関数名のメンバシップ関数の定
義データのうち、「m3」を特定したこととなる。本明
細書においては、このような特定データを修正情報とい
う。Furthermore, in the membership function having the membership function name of "se -- takai", "m3
= 220 ”. That is, "taka
This means that "m3" is specified from the definition data of the membership function having the membership function name "i". In the present specification, such specific data is referred to as correction information.
【0037】なお、同図Aにおいて、 little{ m1=m1−5; m2=m2−10 } 部分は、付加データ部分である。In FIG. A, the little {m1 = m1-5; m2 = m2-10} part is an additional data part.
【0038】このように「se-takai」というメ
ンバシップ関数名のメンバシップ関数は、「taka
i」というメンバシップ関数名のメンバシップ関数の定
義データおよび前記修正情報(「m3=220」)を用
いて、同図Bに示すようなメンバシップ関数となる。As described above, the membership function having the membership function name "se - takai" is "taka-takai".
The membership function definition data having the membership function name "i" and the modification information ("m3 = 220") are used to form a membership function as shown in FIG.
【0039】図7Aを参照して、「nihonjin-
se-takai」というメンバシップ関数名のメンバ
シップ関数においては、同様にして、「se-taka
i」というメンバシップ関数名のメンバシップ関数の特
性を承継する。さらに、「m1=150 ;m2=17
0 ;」とある。したがって、「nihonjin-s
e-takai」というメンバシップ関数名のメンバシ
ップ関数は、同図Bに示すようなメンバシップ関数とな
る。[0039] Referring to FIG. 7A, "nihonjin -
se - in the membership function of the membership function name takai ", in the same manner," se - taka
Inherit the characteristics of the membership function with the membership function name "i". Furthermore, “m1 = 150; m2 = 17
0; ”. Therefore, "nihonjin - s
The membership function having the membership function name "e - takai" is a membership function as shown in FIG.
【0040】なお、同図Cに定義される「amerik
ajin-se-takai」というメンバシップ関数名
のメンバシップ関数は、同様にして、同図Dに示すメン
バシップ関数となる。The "amerik" defined in FIG.
The membership function having the membership function name "ajin - se - takai" becomes the membership function shown in FIG.
【0041】[ハードウェア構成の一例]図9に、実行
命令作成装置51を示す。実行命令作成装置51は、図
2の各機能をCPUを用いて実現したハードウェア構成
の一例である。実行命令作成装置51は、CPU73、
CRT83、ROM75、RAM77、ハードディスク
79、キーボード78およびバスライン60を備えてい
る。[Example of Hardware Configuration] FIG. 9 shows an execution instruction creating device 51. The execution instruction creating device 51 is an example of a hardware configuration in which each function of FIG. 2 is realized by using a CPU. The execution instruction creating device 51 includes a CPU 73,
A CRT 83, a ROM 75, a RAM 77, a hard disk 79, a keyboard 78 and a bus line 60 are provided.
【0042】ROM75には、CPU73の制御プログ
ラム等が記憶されており、CPU73は、この制御プロ
グラムに従いバスライン60を介して、各部を制御す
る。キーボード78は、登録するメンバシップ関数や検
索するメンバシップ関数を入力する入力手段であり、こ
れらの情報はRAM77に記憶される。The ROM 75 stores a control program for the CPU 73, etc., and the CPU 73 controls each unit via the bus line 60 in accordance with this control program. The keyboard 78 is an input means for inputting a membership function to be registered and a membership function to be searched, and these pieces of information are stored in the RAM 77.
【0043】ハードディスク79には、メンバシップ関
数が記憶される。CPU73が行なった演算結果は、R
AM77に記憶され、出力命令に基づき、CRT83に
出力される。Membership functions are stored in the hard disk 79. The calculation result performed by the CPU 73 is R
It is stored in the AM 77 and is output to the CRT 83 based on the output command.
【0044】[メンバシップ関数の登録・検索につい
て]つぎに、図10〜図11のフローチャートを用い
て、CPU73に記憶されているプログラムについて説
明する。まず、メンバシップ関数を登録する場合につい
て説明する。[Registration / Search of Membership Function] Next, the programs stored in the CPU 73 will be described with reference to the flowcharts of FIGS. First, the case of registering a membership function will be described.
【0045】[登録について]例えば、図8に示すよう
な「sekai-yama-takai」というメンバシ
ップ関数名のメンバシップ関数を登録する場合について
説明する。キーボード78にこのメンバシップ関数が入
力されると(図10ステップST1)、CPU73は、
入力されたメンバシップ関数をRAM77に記憶する。
つぎに、入力されたメンバシップ関数に構文上の誤りが
ないかをチェックする(ステップST2)。誤りがある
場合は、その旨をCRT83に表示し、ステップST1
に戻る。誤りがない場合は、CPU73は、入力された
メンバシップ関数に対して、上位のメンバシップ関数の
アドレスへのポインタを付す。この場合は、図8に示す
ように、「inherit:yama-takai」と
あるので、このメンバシップ関数は、「yama-ta
kai」というメンバシップ関数名のメンバシップ関数
の特性を承継する。したがって、「yama-taka
i」というメンバシップ関数名のメンバシップ関数のア
ドレスへのポインタが付される。[Registration] For example, a case of registering a membership function having a membership function name “sekai - yama - takai” as shown in FIG. 8 will be described. When this membership function is input to the keyboard 78 (step ST1 in FIG. 10), the CPU 73
The inputted membership function is stored in the RAM 77.
Next, it is checked whether the input membership function has a syntactical error (step ST2). If there is an error, the fact is displayed on the CRT 83, and step ST1
Return to. If there is no error, the CPU 73 attaches a pointer to the address of the higher membership function to the input membership function. In this case, as shown in FIG. 8, since there is "inherit: yama - takai", this membership function is "yama - ta-ai".
The characteristics of the membership function with the membership function name "kai" are inherited. Therefore, "yama - taka
A pointer to the address of the membership function with the membership function name "i" is added.
【0046】つぎに、CPU73は、前記ポインタおよ
び修正情報をハードディスク79に記憶する(ステップ
ST4)。この場合は、修正情報として、「m1=20
00;m2=8000 ;m3=9000」が記憶され
る。このようにして、メンバシップ関数が登録される。Next, the CPU 73 stores the pointer and the correction information in the hard disk 79 (step ST4). In this case, as the correction information, “m1 = 20
00; m2 = 8000; m3 = 9000 "is stored. In this way, the membership function is registered.
【0047】[検索について]つぎに、メンバシップ関
数形状情報を検索して、実行プログラムを作成する場合
について図11を参照しつつ説明する。ここでは、図4
に示すようなメンバシップ関数が記憶されているものと
して説明する。キーボード78に、ソースプログラムが
入力されると(図10ステップST11)、CPU73
は、このソースプログラムをRAM77に記憶する。つ
ぎに、入力されたソースプログラムに未定義のメンバシ
ップ関数形状情報(以下未定義情報という)があるか否
か判断する(ステップST12)。[Retrieval] Next, a case of retrieving membership function shape information and creating an execution program will be described with reference to FIG. Here, FIG.
It is assumed that the membership function as shown in FIG. When the source program is input to the keyboard 78 (step ST11 in FIG. 10), the CPU 73
Stores this source program in the RAM 77. Next, it is determined whether or not the input source program has undefined membership function shape information (hereinafter referred to as undefined information) (step ST12).
【0048】例えば、未定義情報として、「nihon
jin-se-takai」というメンバシップ関数名が
あったとする。この場合、CPU73は、ハードディス
ク79を検索し、このメンバシップ関数名のメンバシッ
プ関数を探す(ステップST13)。さらに、当該メン
バシップ関数のメンバシップ関数形状情報を取得する
(ステップST14)。この場合、「nihonjin
-se-takai」というメンバシップ関数名のメンバ
シップ関数形状情報の定義データ(図7A参照)を、R
AM77に記憶する。For example, as the undefined information, "nihon
It is assumed that there is a membership function name "jin - se - takai". In this case, the CPU 73 searches the hard disk 79 for a membership function with this membership function name (step ST13). Further, the membership function shape information of the membership function is acquired (step ST14). In this case, "nihonjin
- se - definition data membership function shape information of the membership function name takai "(see FIG. 7A), R
Store in AM77.
【0049】つぎに、CPU73は、RAM77に記憶
したメンバシップ関数形状情報を合成する(ステップS
T15)。なお、この場合、RAM77に記憶している
のは、「nihonjin-se-takai」というメ
ンバシップ関数名のメンバシップ関数だけであるので、
合成前後で変化はない。合成後のメンバシップ関数を図
12Aに示す。Next, the CPU 73 synthesizes the membership function shape information stored in the RAM 77 (step S).
T15). In this case, since only the membership function having the membership function name “nihonjin - se - takai” is stored in the RAM 77,
There is no change before and after synthesis. The membership function after composition is shown in FIG. 12A.
【0050】図11に戻って、CPU73は、当該定義
データに「inherit」部分があるか判断する(ス
テップST16)。この場合、「inherit:se
-takai」とあるので、ステップST13に戻り、
「se-takai」というメンバシップ関数名のメン
バシップ関数を検索し、さらに、当該メンバシップ関数
のメンバシップ関数形状情報を取得する(ステップST
14)。この場合、「se-takai」というメンバ
シップ関数名のメンバシップ関数形状情報の定義データ
(図6A参照)を、RAM77に記憶する。Returning to FIG. 11, the CPU 73 determines whether the definition data has an "inherit" portion (step ST16). In this case, "inherit: se
- so takai "that there is, returns to step ST13,
A membership function having a membership function name of "se - takai" is searched, and further, membership function shape information of the membership function is acquired (step ST
14). In this case, the definition data (see FIG. 6A) of the membership function shape information of the membership function name “se - takai” is stored in the RAM 77.
【0051】つぎに、CPU73は、RAM77に記憶
したメンバシップ関数形状情報を合成する(ステップS
T15)。具体的には、「nihonjin-se-ta
kai」というメンバシップ関数名のメンバシップ関数
および、「se-takai」というメンバシップ関数
名のメンバシップ関数を合成する。合成後のメンバシッ
プ関数名のメンバシップ関数を図12Bに示す。このよ
うにして、m1,m2,m3の値が決定される。Next, the CPU 73 synthesizes the membership function shape information stored in the RAM 77 (step S).
T15). Specifically, "nihonjin - se - ta
A membership function having a membership function name of "kai" and a membership function having a membership function name of "se - takai" are synthesized. The membership function of the membership function name after composition is shown in FIG. 12B. In this way, the values of m1, m2 and m3 are determined.
【0052】図11に戻って、CPU73は、当該定義
データに「inherit」部分があるか判断する(ス
テップST16)。この場合、「inherit:ta
kai」とあるので、ステップST13に戻り、「ta
kai」というメンバシップ関数名のメンバシップ関数
を検索し、さらに、当該メンバシップ関数のメンバシッ
プ関数形状情報を取得する(ステップST14)。Returning to FIG. 11, the CPU 73 determines whether or not the definition data has an "inherit" portion (step ST16). In this case, "inherit: ta
Since there is "kai", the process returns to step ST13 and "ta"
The membership function with the membership function name "kai" is searched, and the membership function shape information of the membership function is acquired (step ST14).
【0053】この場合、「takai」というメンバシ
ップ関数名のメンバシップ関数形状情報の定義データ
(図5C参照)を、RAM77に記憶する。In this case, the definition data (see FIG. 5C) of the membership function shape information of the membership function name "takai" is stored in the RAM 77.
【0054】つぎに、CPU73は、RAM77に記憶
したメンバシップ関数形状情報を合成する(ステップS
T15)。具体的には、「nihonjin-se-ta
kai」というメンバシップ関数名のメンバシップ関数
および、「takai」というメンバシップ関数名のメ
ンバシップ関数を合成する。合成後のメンバシップ関数
名のメンバシップ関数を図13に示す。Next, the CPU 73 synthesizes the membership function shape information stored in the RAM 77 (step S).
T15). Specifically, "nihonjin - se - ta
The membership function with the membership function name "kai" and the membership function with the membership function name "takai" are combined. FIG. 13 shows the membership function of the membership function name after composition.
【0055】図11に戻って、CPU73は、当該定義
データに「inherit」部分があるか判断する(ス
テップST16)。この場合、「inherit」部分
がないので、ステップST17に進む。Returning to FIG. 11, the CPU 73 determines whether or not the definition data has an "inherit" portion (step ST16). In this case, since there is no "inherit" portion, the process proceeds to step ST17.
【0056】このように、取得したメンバシップ関数形
状情報の定義データに、「inherit」部分がある
場合は、つぎつぎに上位のメンバシップ関数のメンバシ
ップ関数形状情報の定義データを検索することにより、
未定義のメンバシップ関数形状情報の定義データを取得
することができる。In this way, when the acquired definition data of the membership function shape information has an "inherit" portion, the definition data of the membership function shape information of the higher-order membership function is searched next to
It is possible to acquire definition data of undefined membership function shape information.
【0057】つぎに、CPU73は、得られたメンバシ
ップ関数形状情報の定義データを用いて、入力されたソ
ースプログラムをコンパイルする(ステップST1
7)。CPU73は、コンパイルした実行プログラムを
ハードディスク79に記憶する。このようにして、未定
義情報を含んだソースプログラムから、実行プログラム
を作成することができる。Next, the CPU 73 compiles the input source program using the obtained definition data of the membership function shape information (step ST1).
7). The CPU 73 stores the compiled execution program in the hard disk 79. In this way, an execution program can be created from a source program containing undefined information.
【0058】なお、ステップST12において、未定義
情報がない場合は、そのソースプログラムをそのままコ
ンパイルすればよい。When there is no undefined information in step ST12, the source program may be compiled as it is.
【0059】[付加データについて]つぎに、図14を
用いて、付加データについて説明する。付加データと
は、メンバシップ関数形状情報の形状を変化させるため
のものである。例えば、「yama-takai」とい
うメンバシップ関数名のメンバシップ関数が、図14A
に示すような定義データであるとする。ここで、「to
temo-yama-takai」というメンバシップ関
数名のメンバシップ関数を同図Bに示すように定義す
る。これにより、同図Cに示すような定義データが得ら
れる。[Additional Data] Next, the additional data will be described with reference to FIG. The additional data is for changing the shape of the membership function shape information. For example, a membership function with a membership function name of "yama - takai" is shown in FIG. 14A.
It is assumed that the definition data is as shown in. Where "to
A membership function having a membership function name "temo - yama - takai" is defined as shown in FIG. As a result, the definition data as shown in FIG.
【0060】具体的に説明すると、同図Bに示すよう
に、「totemo-yama-takai」というメン
バシップ関数名のメンバシップ関数は、「yama-t
akai」というメンバシップ関数名のメンバシップ関
数に「+1000」というデータが付加されている。こ
こで、図5Aに示すように、「takai」というメン
バシップ関数名のメンバシップ関数においては、「+」
という演算処理は、「m1,m2」に「+」の後にある
数を加算すると定義されている。したがって、「m1,
m2」に「1000」を加え、「m1=2000,m2
=2500」となる。「-」という演算処理についても
同様である。More specifically, as shown in FIG. 9B, the membership function having the membership function name "totemo - yama - takai" is "yama - t".
The data “+1000” is added to the membership function with the membership function name “akai”. Here, as shown in FIG. 5A, in the membership function having the membership function name "takai", "+"
The arithmetic process is defined to add a number after “+” to “m1, m2”. Therefore, "m1,
“1000” is added to “m2”, and “m1 = 2000, m2
= 2500 ". The same applies to the arithmetic processing " - ".
【0061】このように本実施例においては、付加デー
タを利用して基本のメンバシップ関数から、別のメンバ
シップ関数を定義できるようにしているので、メンバシ
ップ関数の定義が容易になる。As described above, in this embodiment, since the additional membership data can be used to define another membership function from the basic membership function, the membership function can be easily defined.
【0062】なお、以下のような付加データ little{ m1=m1−5; m2=m2−10 } についても同様にして、基本のメンバシップ関数から、
別のメンバシップ関数を定義することができる。Note that the following additional data little {m1 = m1-5; m2 = m2-10} is similarly converted from the basic membership function to
Another membership function can be defined.
【0063】[他の応用例]なお、本実施例において
は、台形のメンバシップ関数形状情報を用いて説明した
が、メンバシップ関数形状情報が、三角形状の場合は代
表値および底辺の幅で表わすことができる。この代表値
は、三角形状のメンバシップ関数であれば、その頂点の
座標を代表値とすればよい。[Other Application Examples] In this embodiment, the trapezoidal membership function shape information has been described. However, when the membership function shape information is triangular, the representative value and the width of the base are used. Can be represented. If the representative value is a triangular membership function, the coordinates of its vertices may be used as the representative value.
【0064】また、メンバシップ関数形状情報が、台形
または三角形状以外の場合でも次のようにして記憶すれ
ばよい。例えば、釣鐘型の場合はガウス分布で表わすこ
とができ、またスプラインまたはN次曲線のような任意
の曲線である場合は、各座標点およびその補間関数で表
わすことができる。Even if the membership function shape information is other than a trapezoidal shape or a triangular shape, it may be stored as follows. For example, a bell-shaped case can be represented by a Gaussian distribution, and an arbitrary curve such as a spline or an Nth-order curve can be represented by each coordinate point and its interpolation function.
【0065】なお、本実施例においては、データの入力
および修正について、キーボード78またはマウス81
を採用したが、数値を入力できるものであればどのよう
なものであってもよく、ライトペン、デジタイザ等を採
用してもよい。In the present embodiment, the keyboard 78 or the mouse 81 is used for data input and correction.
However, any device that can input a numerical value may be used, and a light pen, a digitizer, or the like may be used.
【0066】また、上記実施例においては、本発明を実
行命令作成装置として構成したが、図1に示すように、
メンバシップ関数管理装置として構成してもよい。Further, in the above embodiment, the present invention is configured as an execution instruction creating apparatus, but as shown in FIG.
It may be configured as a membership function management device.
【0067】なお、本実施例においては、下位のメンバ
シップ関数名が上位のメンバシップ関数名を含む階層構
造で記憶されている。しかし、これに限られることな
く、下位のメンバシップ関数が上位のメンバシップ関数
の特性を含むように記憶させてもよい。In this embodiment, the lower membership function names are stored in a hierarchical structure including the upper membership function names. However, without being limited to this, the lower membership function may be stored so as to include the characteristics of the upper membership function.
【0068】[0068]
【発明の効果】請求項1のメンバシップ関数管理装置に
おいては、メンバシップ関数記憶手段は、あるメンバシ
ップ関数のもつ特性をその下位のメンバシップ関数が含
んでいるような階層構造で構成されている。また、下位
のメンバシップ関数の特性のうち上位のメンバシップ関
数と共通の特性については記憶することなく、上位のメ
ンバシップ関数を修正するメンバシップ関数修正情報を
記憶することにより、下位のメンバシップ関数を記憶す
る。According to the membership function management device of the present invention, the membership function storage means has a hierarchical structure in which the characteristics of a certain membership function are included in the lower membership functions. There is. Further, among the characteristics of the lower membership function, the characteristics common to the upper membership function are not stored, but the membership function modification information for modifying the upper membership function is stored, so that the lower membership Remember the function.
【0069】このようにして、上位のメンバシップ関数
と下位のメンバシップ関数を関連づけることができる。
また下位のメンバシップ関数は、上位のメンバシップ関
数の特性を承継することとなり、上位下位の関係にある
メンバシップ関数についての管理が容易になる。In this way, the upper membership function and the lower membership function can be associated with each other.
Further, the lower-rank membership function inherits the characteristics of the higher-rank membership function, which facilitates the management of the higher-rank and lower-rank membership functions.
【0070】また、メンバシップ関数取得手段は、前記
メンバシップ関数修正情報および所望のメンバシップ関
数の上位に位置するメンバシップ関数の特性に基づい
て、所望のメンバシップ関数を取得する。したがって、
所望のメンバシップ関数について必要な情報を取得する
ことができる。すなわち、メンバシップ関数の管理を容
易にするメンバシップ関数管理装置を提供することがで
きる。Further, the membership function acquisition means acquires the desired membership function based on the membership function modification information and the characteristics of the membership function located above the desired membership function. Therefore,
The necessary information about the desired membership function can be obtained. That is, it is possible to provide a membership function management device that facilitates management of membership functions.
【0071】請求項2のメンバシップ関数管理装置にお
いては、メンバシップ関数記憶手段に新たなメンバシッ
プ関数を登録する際に、登録しようとするメンバシップ
関数に、メンバシップ関数記憶手段にすでに記憶されて
いるメンバシップ関数と同じ特性を含んでいる場合に
は、登録しようとするメンバシップ関数を、前記記憶済
メンバシップ関数の下位に位置付ける。さらに、上位の
メンバシップ関数を修正するメンバシップ関数修正情報
として、登録しようとするメンバシップ関数が備えてい
る特性のうち、上位のメンバシップ関数に含まれていな
い特性を記憶する。In the membership function management device of the second aspect, when a new membership function is registered in the membership function storage means, the membership function to be registered is already stored in the membership function storage means. If the membership function has the same characteristics as the stored membership function, the membership function to be registered is positioned below the stored membership function. Further, among the characteristics included in the membership function to be registered, the characteristics not included in the higher membership function are stored as the membership function modification information for modifying the higher membership function.
【0072】したがって、メンバシップ関数を登録する
際、階層構造で登録できるとともに、上位のメンバシッ
プ関数に含まれていない特性を登録することができる。
すなわち、メンバシップ関数の管理を容易にするメンバ
シップ関数管理装置を提供することができる。Therefore, when registering the membership function, it is possible to register it in a hierarchical structure and to register the characteristics that are not included in the higher-level membership function.
That is, it is possible to provide a membership function management device that facilitates management of membership functions.
【0073】請求項3のメンバシップ関数管理装置にお
いては、メンバシップ関数記憶手段に記憶されるメンバ
シップ関数は、メンバシップ関数形状情報およびその名
称であるメンバシップ関数名から構成されており、前記
メンバシップ関数名は、下位のメンバシップ関数名が上
位のメンバシップ関数名を含む階層構造で記憶される。
したがって、メンバシップ関数をメンバシップ関数名で
管理できるとともに、メンバシップ関数名を階層構造で
管理することができる。すなわち、メンバシップ関数の
管理を容易にするメンバシップ関数管理装置を提供する
ことができる。According to another aspect of the membership function management apparatus of the present invention, the membership function stored in the membership function storage means comprises membership function shape information and a membership function name which is the name of the membership function shape information. Membership function names are stored in a hierarchical structure in which lower-rank membership function names include higher-rank membership function names.
Therefore, the membership function can be managed by the membership function name and the membership function name can be managed by the hierarchical structure. That is, it is possible to provide a membership function management device that facilitates management of membership functions.
【0074】請求項4の実行命令作成装置においては、
メンバシップ関数記憶手段は、下位のメンバシップ関数
名が上位のメンバシップ関数名を含む階層構造で記憶さ
れているとともに、下位のメンバシップ関数名に対応す
るメンバシップ関数形状情報の特性のうち上位のメンバ
シップ関数名に対応するメンバシップ関数形状情報と共
通の特性については記憶することなく、上位のメンバシ
ップ関数名に対応するメンバシップ関数形状情報を修正
するメンバシップ関数修正情報を記憶することにより、
下位のメンバシップ関数名に対応するメンバシップ関数
形状情報を記憶する。したがって、上位下位の関係にあ
るメンバシップ関数をメンバシップ関数名で管理するこ
とができる。In the execution instruction creating device of claim 4,
The membership function storage means stores a lower-rank membership function name in a hierarchical structure including a higher-rank membership function name, and ranks higher than the characteristics of the membership function shape information corresponding to the lower-rank membership function name. The membership function shape information that corrects the membership function shape information corresponding to the higher-level membership function name is stored without storing the common characteristics with the membership function shape information corresponding to the membership function name of Due to
The membership function shape information corresponding to the lower-order membership function name is stored. Therefore, it is possible to manage the membership functions in the upper and lower relationships by the membership function name.
【0075】またメンバシップ関数取得手段は、前記メ
ンバシップ関数修正情報および所望のメンバシップ関数
の上位に位置するメンバシップ関数の特性に基づいて、
所望のメンバシップ関数名に対応するメンバシップ関数
形状情報を取得する。したがって、所望のメンバシップ
関数について必要な情報を取得することができる。すな
わち、メンバシップ関数の管理を容易にする実行命令作
成装置を提供することができる。Further, the membership function acquisition means, based on the membership function modification information and the characteristic of the membership function located above the desired membership function,
The membership function shape information corresponding to the desired membership function name is acquired. Therefore, it is possible to acquire necessary information about the desired membership function. That is, it is possible to provide an execution instruction creating device that facilitates management of membership functions.
【図1】メンバシップ関数管理装置1の機能ブロック図
である。FIG. 1 is a functional block diagram of a membership function management device 1.
【図2】実行命令作成装置10の機能ブロック図であ
る。FIG. 2 is a functional block diagram of an execution instruction creation device 10.
【図3】実行命令作成装置21を示す図である。FIG. 3 is a diagram showing an execution instruction creation device 21.
【図4】メンバシップ関数ライブラリ23の構造を示す
図である。FIG. 4 is a diagram showing a structure of a membership function library 23.
【図5】メンバシップ関数の定義データを示す図であ
る。FIG. 5 is a diagram showing definition data of a membership function.
【図6】メンバシップ関数の定義データを示す図であ
る。FIG. 6 is a diagram showing definition data of a membership function.
【図7】メンバシップ関数の定義データを示す図であ
る。FIG. 7 is a diagram showing definition data of a membership function.
【図8】メンバシップ関数の定義データを示す図であ
る。FIG. 8 is a diagram showing definition data of a membership function.
【図9】命令形態変更装置10をCPUで実現したハー
ドウェアー構成を示す図である。FIG. 9 is a diagram showing a hardware configuration in which the instruction form changing device 10 is realized by a CPU.
【図10】メンバシップ関数を登録する場合のフローチ
ャートである。FIG. 10 is a flowchart for registering a membership function.
【図11】メンバシップ関数形状情報を検索して、実行
プログラムを作成する場合のフローチャートである。FIG. 11 is a flowchart in the case of retrieving membership function shape information and creating an execution program.
【図12】合成後のメンバシップ関数名のメンバシップ
関数を示す図である。FIG. 12 is a diagram showing a membership function of a membership function name after composition.
【図13】合成後のメンバシップ関数名のメンバシップ
関数を示す図である。FIG. 13 is a diagram showing a membership function of a membership function name after composition.
【図14】付加データを説明するための図である。FIG. 14 is a diagram for explaining additional data.
3・・・メンバシップ関数記憶手段 5・・・メンバシップ関数取得手段 7・・・命令入力手段 9・・・実行命令作成手段 3 ... Membership function storage means 5 ... Membership function acquisition means 7 ... Command input means 9 ... Execution command creation means
Claims (4)
関数記憶手段、 検索すべきメンバシップ関数が入力されると、メンバシ
ップ関数記憶手段から検索対象のメンバシップ関数を取
得するメンバシップ関数取得手段、 を備えたメンバシップ関数管理装置であって、 メンバシップ関数記憶手段は、 あるメンバシップ関数のもつ特性をその下位のメンバシ
ップ関数が含んでいるような階層構造で構成されている
とともに、 下位のメンバシップ関数の特性のうち上位のメンバシッ
プ関数と共通の特性については記憶することなく、上位
のメンバシップ関数を修正するメンバシップ関数修正情
報を記憶することにより、下位のメンバシップ関数を記
憶し、 メンバシップ関数取得手段は、前記メンバシップ関数修
正情報および所望のメンバシップ関数の上位に位置する
メンバシップ関数の特性に基づいて、所望のメンバシッ
プ関数を取得すること、 を特徴とするメンバシップ関数管理装置。1. Membership function storage means for storing a membership function, membership function acquisition means for acquiring a membership function to be searched from the membership function storage means when a membership function to be searched is input, In the membership function management device, the membership function storage means is configured in a hierarchical structure in which the membership function of a certain membership function is included in the membership function of the lower level. Among the characteristics of the membership function, the characteristics common to the upper membership function are not stored, but the lower membership function is stored by storing the membership function correction information that corrects the upper membership function. The membership function acquisition means is configured to obtain the membership function modification information and desired membership information. Based on the characteristics of the membership function is located in the number of higher-level, membership function management apparatus characterized by, to obtain the desired membership function.
いて、 メンバシップ関数記憶手段に新たなメンバシップ関数を
登録する際に、登録しようとするメンバシップ関数に、
メンバシップ関数記憶手段にすでに記憶されているメン
バシップ関数と同じ特性を含んでいる場合には、 登録しようとするメンバシップ関数を、前記記憶済メン
バシップ関数の下位に位置付けるとともに、 上位のメンバシップ関数を修正するメンバシップ関数修
正情報として、登録しようとするメンバシップ関数が備
えている特性のうち、上位のメンバシップ関数に含まれ
ていない特性を記憶すること、 を特徴とするメンバシップ関数管理装置。2. The membership function management device according to claim 1, wherein when a new membership function is registered in the membership function storage means, the membership function to be registered is:
If it has the same characteristics as the membership function already stored in the membership function storage means, the membership function to be registered is positioned below the stored membership function, and the membership function above it is stored. Membership function management, characterized by storing, as membership function modification information, the characteristics of the membership function to be registered that are not included in the higher-level membership function. apparatus.
いて、 メンバシップ関数記憶手段に記憶されるメンバシップ関
数は、メンバシップ関数形状情報およびその名称である
メンバシップ関数名から構成されており、 前記メンバシップ関数名は、下位のメンバシップ関数名
が上位のメンバシップ関数名を含む階層構造で記憶され
ること、 を特徴とするメンバシップ関数管理装置。3. The membership function management device according to claim 1, wherein the membership function stored in the membership function storage means comprises membership function shape information and a membership function name which is its name. The membership function name is stored in a hierarchical structure in which lower membership function names include upper membership function names.
であるメンバシップ関数名を記憶するメンバシップ関数
記憶手段、 メンバシップ関数名を含む命令が入力される命令入力手
段、 命令入力手段に入力された命令に含まれるメンバシップ
関数名に基づき、メンバシップ関数記憶手段から対応す
るメンバシップ関数形状情報を取得するメンバシップ関
数取得手段、 命令入力手段に入力された命令およびメンバシップ関数
取得手段から与えられたメンバシップ関数形状情報に基
づいて、実行命令を作成する実行命令作成手段、 を備えた実行命令作成装置であって、 メンバシップ関数記憶手段は、 下位のメンバシップ関数名が上位のメンバシップ関数名
を含む階層構造で記憶されているとともに、 下位のメンバシップ関数名に対応するメンバシップ関数
形状情報の特性のうち上位のメンバシップ関数名に対応
するメンバシップ関数形状情報と共通の特性については
記憶することなく、上位のメンバシップ関数名に対応す
るメンバシップ関数形状情報を修正するメンバシップ関
数修正情報を記憶することにより、下位のメンバシップ
関数名に対応するメンバシップ関数形状情報を記憶し、 メンバシップ関数取得手段は、前記メンバシップ関数修
正情報および所望のメンバシップ関数の上位に位置する
メンバシップ関数の特性に基づいて、所望のメンバシッ
プ関数名に対応するメンバシップ関数形状情報を取得す
ること、 を特徴とする実行命令作成装置。4. Membership function shape information and membership function storage means for storing membership function name which is the name thereof, instruction input means for inputting an instruction including the membership function name, and instruction input means. A membership function acquisition means for acquiring corresponding membership function shape information from the membership function storage means based on the membership function name included in the instruction, and an instruction input to the instruction input means and a membership function acquisition means. And a membership function storing means for creating an execution instruction based on the membership function shape information, wherein the membership function storage means has a lower membership function name and a higher membership function name. A member that is stored in a hierarchical structure that includes the name and that corresponds to the lower-level membership function name. The membership function shape information corresponding to the upper membership function name is corrected without storing the characteristics common to the membership function shape information corresponding to the higher membership function name among the characteristics of the ship function shape information. By storing the membership function modification information, the membership function shape information corresponding to the lower membership function name is stored, and the membership function acquisition means stores the membership function modification information and the desired membership function upper layer. Acquiring the membership function shape information corresponding to the desired membership function name based on the characteristics of the membership function located at.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26011792A JPH06110694A (en) | 1992-09-29 | 1992-09-29 | Membership function management device and execution instruction preparation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26011792A JPH06110694A (en) | 1992-09-29 | 1992-09-29 | Membership function management device and execution instruction preparation device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06110694A true JPH06110694A (en) | 1994-04-22 |
Family
ID=17343526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26011792A Pending JPH06110694A (en) | 1992-09-29 | 1992-09-29 | Membership function management device and execution instruction preparation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06110694A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06175704A (en) * | 1992-12-02 | 1994-06-24 | Mitsubishi Electric Corp | Knowledge base storing/synthesizing method and fuzzy control system using the method |
-
1992
- 1992-09-29 JP JP26011792A patent/JPH06110694A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06175704A (en) * | 1992-12-02 | 1994-06-24 | Mitsubishi Electric Corp | Knowledge base storing/synthesizing method and fuzzy control system using the method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6571247B1 (en) | Object oriented technology analysis and design supporting method | |
US6006236A (en) | Virtual navigator that produces virtual links at run time for identifying links in an electronic file | |
US5897636A (en) | Distributed object computer system with hierarchical name space versioning | |
US6654761B2 (en) | Controlling which part of data defining a node-link structure is in memory | |
US20100005074A1 (en) | System and method for accessing data | |
JP2009009590A (en) | System and method for website content development | |
US8001159B2 (en) | Using viewtypes for accessing instance data structured by a base model | |
JP2008506162A (en) | Object process graph system | |
JPH0969120A (en) | Method for display of data dependence relationship in software modeling system | |
JPH03231352A (en) | Packaging device for object class defining information | |
US7409410B2 (en) | System and method of presenting multilingual metadata | |
US6931412B2 (en) | Extensible actions and container types in an extensible scene graph system | |
US7024622B1 (en) | Keeping track of locations in electronic documents | |
JPH06110694A (en) | Membership function management device and execution instruction preparation device | |
US7987443B2 (en) | Declarative association of dialog fields | |
EP1949267A1 (en) | System and method for accessing data | |
JP3258969B2 (en) | Master code generation management method and device | |
Lindemann et al. | Animal: graphical data definition and manipulation in real time | |
JPH05134874A (en) | Class hierarchy programming device | |
WO2000004445A1 (en) | Object oriented generic schema to support database operations in a multi-tier architecture | |
JPH07160560A (en) | Data storage version management system and version management method | |
JPH052493A (en) | Compiling system | |
Adamski et al. | Incremental evaluators for ordered macro attribute grammars | |
JPH05250429A (en) | Circuit designing device | |
JPH0229867A (en) | Design execution control system |