JPH0962511A - Search system for state space - Google Patents

Search system for state space

Info

Publication number
JPH0962511A
JPH0962511A JP7211570A JP21157095A JPH0962511A JP H0962511 A JPH0962511 A JP H0962511A JP 7211570 A JP7211570 A JP 7211570A JP 21157095 A JP21157095 A JP 21157095A JP H0962511 A JPH0962511 A JP H0962511A
Authority
JP
Japan
Prior art keywords
state
function value
current state
cost function
change cost
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
JP7211570A
Other languages
Japanese (ja)
Inventor
Yasuhiro Kojima
康弘 小島
Shizuka Nakamura
静香 中村
Mineo Watanabe
峰生 渡辺
Koichi Hirose
公一 広瀬
Takahiro Ishiguro
隆広 石黒
Nobuhiko Itaya
伸彦 板屋
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7211570A priority Critical patent/JPH0962511A/en
Publication of JPH0962511A publication Critical patent/JPH0962511A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the required storage capacity by providing the high-quality solution on the early stage of search by deciding the transient destination of current state by evaluating the adjacent state of state space corresponding to the sum of a state change cost function value and the evaluation function value of the adjacent state. SOLUTION: The state to be the start point of state space search is initially set to the current state (concerned state) and its evaluation function value is calculated (1). Afterwards, the states transitable from the current state are extracted and their evaluation function values are respectively calculated (4). When any state requiring the change of its evaluation function value exists among the extracted states, that evaluation function value is changed (5). Further, the adjacent extracted state is evaluated corresponding to the sum between the total sum of values of elements of state change cost function value vectors corresponding to the elements having difference between that state and the current state and the evaluation function value of the adjacent state and the state having the smallest evaluation function value is selected as the best adjacent state (the next concerned state) (6). Thus, the adjacent state is evaluated so that the transient destination of current state can be decided.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、1つ1つの組合せ
を表す状態の集まりである状態空間の探索方式に関する
もので、特に、様々な組合せの中から最も良い組合せを
発見しようとする最適化問題を解く手法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a search method for a state space, which is a set of states representing each combination, and particularly optimization for trying to find the best combination among various combinations. It relates to a method of solving a problem.

【0002】[0002]

【従来の技術】図8は例えば平成3年特許願第2688
52号公報、“状態空間の探索方式”に示されたフロー
チャートである。図8において、31は状態空間探索の
出発点となる状態を“着目状態”に初期設定するブロッ
ク、32は“着目状態”の評価関数値を算出するブロッ
ク、33は探索回数をカウントするためのカウンタの初
期設定を行うブロック、34は“着目状態”から遷移可
能な状態を抽出するとともに、それらの評価関数値を算
出するブロック、35はブロック34で抽出された状態
の中に評価関数値の変更が必要なものが存在すれば、評
価関数値の変更を行うブロック、36はブロック34で
抽出された状態の中で最小の評価関数値を持つ状態を見
つけ、この状態を“次の着目状態”として選択するブロ
ックである。
2. Description of the Related Art FIG. 8 shows, for example, 1991 patent application No. 2688.
52 is a flow chart shown in Japanese Patent No. 52, "Search Method of State Space". In FIG. 8, 31 is a block for initializing the state that is the starting point of the state space search to the “attention state”, 32 is a block for calculating the evaluation function value of the “attention state”, and 33 is for counting the number of searches. A block for initializing the counter, 34 is a block for extracting transitionable states from the “state of interest” and calculating their evaluation function values, and 35 is a block for evaluating the evaluation function values among the states extracted in block 34. If there is an item that needs to be changed, a block for changing the evaluation function value, 36 finds the state having the smallest evaluation function value among the states extracted in block 34, and sets this state as the "next state of interest." It is a block to be selected as ".

【0003】また、37は“次の着目状態”が、求めて
いる性質を持つ状態であるかを判定するブロック、38
は“次の着目状態”が、保持されている最良解より望ま
しいものであるかを判断し、望ましい場合には、これを
最良解として保存するブロック、39は“着目状態”が
極小解(“着目状態”より遷移可能な状態の中に、“着
目状態”より小さな評価関数値をとるものがない)であ
るか否かを判定するブロック、40は“着目状態”の評
価関数値を、“次の着目状態”の評価関数値より大きく
なるように増大するブロックである。
Further, 37 is a block for judging whether or not the "next state of interest" has a desired property, 38
Is a block that determines whether or not the "next state of interest" is more desirable than the stored best solution, and if it is desirable, saves this as the best solution. 39 indicates that the "state of interest" is a minimal solution (" A block that determines whether or not there is no evaluation function value smaller than the "state of interest" among the states that can be transitioned from the "state of interest", 40 is the evaluation function value of the "state of interest" It is a block that increases to become larger than the evaluation function value of the "next attention state".

【0004】さらに、41は保存されている過去に評価
関数値の増大を行った状態の中に、“着目状態”と同一
の状態が存在するかを判定するブロック、42は“着目
状態”と同一状態である過去に評価関数値の増大を行っ
た状態の評価関数値を、“着目状態”の評価関数値に変
更するブロック、43は“着目状態”を過去に評価関数
値の増大を行った状態として、その評価関数値と共に保
存するブロック、44は探索回数が所定の回数LMAX
を超えたかを判定するブロック、45は“着目状態”と
その評価関数値を、“次の着目状態”とその評価関数値
に切替るブロック、46は探索回数のカウンタを1増加
させるブロックである。
Further, reference numeral 41 is a block for judging whether or not the same state as the "attention state" exists in the state where the evaluation function value has been saved in the past, and 42 indicates the "attention state". A block that changes the evaluation function value of the same state in which the evaluation function value has been increased in the past to the evaluation function value of the "state of interest", 43 is the evaluation function value of the "state of interest" that has been increased in the past Is stored with the evaluation function value, and 44 is a predetermined number of searches LMAX.
Is a block for determining whether or not the value exceeds the value, 45 is a block for switching the "state of interest" and its evaluation function value to the "next state of interest" and its evaluation function value, and 46 is a block for incrementing the counter of the number of searches by 1. .

【0005】次に動作につき説明する。まず、ブロック
31において状態空間を探索するための出発点となる状
態が“着目状態”として設定され、ブロック32におい
て、その評価関数値が算出される。次に、ブロック3
4,35,36において、“着目状態”から遷移可能な
状態の中で最小の評価関数値を持つ状態が“次の着目状
態”として選択される。次に、ブロック37において、
“次の着目状態”が求めている性質を持つ解であるかが
判定され、求めている性質を持つ解である場合には処理
を終了し、その他の場合は、ブロック38へ処理を移行
する。
Next, the operation will be described. First, in block 31, a state that is a starting point for searching the state space is set as a “state of interest”, and in block 32, its evaluation function value is calculated. Next, block 3
In 4, 35 and 36, the state having the smallest evaluation function value among the states that can transition from the “state of interest” is selected as the “next state of interest”. Next, at block 37,
It is determined whether or not the “next attention state” is a solution having the desired property. If the solution has the desired property, the process ends, otherwise the process proceeds to block 38. .

【0006】ブロック38では“次の着目状態”が過去
に探索した状態の中で最も良いものであるか否かの判定
を行い、最良である場合には、これを最良解として保存
する。次に、ブロック39において、“着目状態”が極
小解であるか否かの判定が行われ、極小解の場合には、
処理はブロック40に移行し、その他の場合には処理は
ブロック44へ移行する。
In block 38, it is judged whether or not the "next state of interest" is the best state searched in the past, and if it is the best state, this is stored as the best solution. Next, in block 39, it is judged whether or not the "state of interest" is a minimal solution, and if it is a minimal solution,
Processing transfers to block 40, otherwise processing transfers to block 44.

【0007】ブロック40においては、極小解である
“着目状態”の評価関数値が、“次の着目状態”の評価
関数値より大きな値となるよう増大される。次に、ブロ
ック41,42,43において、増大された“着目状
態”の評価関数値がその状態とともに保存される。
At block 40, the evaluation function value of the "minimum state of interest" is increased to be larger than the evaluation function value of the "next attention state". Then, in blocks 41, 42 and 43, the increased "state of interest" evaluation function value is saved with that state.

【0008】次にブロック44において、探索回数が所
定の回数を超えたかが判断され、超えた場合には処理は
終了し、超えない場合には、処理はブロック45に移行
する。ブロック45では、“着目状態”とその評価関数
値を“次の着目状態”とその評価関数値に変更すること
により、次の探索段階に移る準備が行われ、続くブロッ
ク46において探索回数のカウンタが1カウントアップ
された後、ブロック34に戻ることにより探索が継続さ
れることとなる。
Next, in block 44, it is determined whether or not the number of searches exceeds a predetermined number. If it exceeds, the process ends, and if not, the process moves to block 45. The block 45 prepares to move to the next search stage by changing the "state of interest" and its evaluation function value to the "next state of interest" and its evaluation function value. Is incremented by 1 and then the search is continued by returning to block 34.

【0009】[0009]

【発明が解決しようとする課題】従来の状態空間の探索
方式においては、基本的には状態から一意に決まる評価
関数値に基づいて探索を行っており、極小解からの脱出
方式については、その状態が極小解であることが判明し
た時点で初めてその評価関数値を悪化させることにより
実現している。ところが、極小解の状態の周辺には評価
関数値が比較的評価関数値の小さい状態が集まって、極
小解を谷底とする谷状の評価関数値群を形成することが
ほとんどであるため、極小解から離れた状態に移行する
までには、これら極小解周辺の評価関数値が比較的評価
関数値の小さい状態を次々と極小解と判断して評価関数
値を悪化させるという処理を繰り返すことになり、処理
効率が低く、不要な極小解を多く保存しなければならな
いという問題点があった。
In the conventional search method of the state space, the search is basically performed based on the evaluation function value uniquely determined from the state. Regarding the escape method from the minimal solution, It is realized by deteriorating the evaluation function value only when the state is found to be a minimal solution. However, since the state where the evaluation function value is relatively small is gathered around the minimum solution state, and it is almost the case that a valley-shaped evaluation function value group with the minimum solution as the valley bottom is formed, Until the state moves away from the solution, it is necessary to repeat the process of deteriorating the evaluation function value by sequentially determining the states where the evaluation function values around these minimal solutions have relatively small evaluation function values as the minimal solutions. Therefore, the processing efficiency is low, and there are problems that many unnecessary minimal solutions must be saved.

【0010】本発明は、上記のような問題点を解決する
ためになされたもので、少ない必要記憶容量、高効率的
な探索(探索の早い段階から良質の解を発見できるこ
と)を満たす状態空間の探索方式を提供することを目的
としている。
The present invention has been made in order to solve the above problems, and a state space satisfying a small required memory capacity and a highly efficient search (that a good solution can be found from an early stage of the search). The purpose is to provide a search method of.

【0011】[0011]

【課題を解決するための手段】本発明に係わる状態空間
の探索方式は、現在状態から遷移可能な複数の隣の状態
を評価し、遷移先を決定する状態空間の探索方式におい
て、隣の状態を、現在状態と隣の状態との差ならびに現
在状態の過去の遷移の経緯により定まる状態変化コスト
関数値と、隣の状態の評価関数値との和により評価し、
現在状態の遷移先を決定するものである。
A state space search method according to the present invention is a state space search method that evaluates a plurality of neighboring states that can transit from the current state and determines a transition destination. Is evaluated by the sum of the difference between the current state and the adjacent state and the state change cost function value determined by the history of past transitions of the present state, and the evaluation function value of the adjacent state,
This is to determine the transition destination of the current state.

【0012】また、現在状態から遷移可能な複数の隣の
状態を評価し、遷移先を決定する状態空間の探索方式に
おいて、状態を表す状態ベクトルと同じ長さを有する状
態変化コスト関数値ベクトルを用意し、現在状態への状
態遷移に伴い変化した現在状態ベクトルの要素に対応す
る状態変化コスト関数値ベクトルの要素の値を増大させ
ることにより、状態変化コスト関数値ベクトルの各要素
の値を更新して行き、変化しなかった現在状態ベクトル
の要素に対応する状態変化コスト関数値ベクトルの要素
の値を減少させあるいは維持することにより、状態変化
コスト関数値ベクトルの各要素の値を更新して行き、隣
の状態を、現在状態と隣の状態との間で差異のある要素
に対応する状態変化コスト関数値ベクトルの要素の値の
総和と、隣の状態の評価関数値との和により評価し、現
在状態の遷移先を決定するものである。
In addition, in a state space search method that evaluates a plurality of adjacent states that can transit from the current state and determines a transition destination, a state change cost function value vector having the same length as the state vector representing the state is calculated. Prepare and update the value of each element of the state change cost function value vector by increasing the value of the element of the state change cost function value vector corresponding to the element of the current state vector that has changed with the state transition to the current state. Then, the value of each element of the state change cost function value vector is updated by decreasing or maintaining the value of the element of the state change cost function value vector corresponding to the element of the current state vector that has not changed. Go to the next state, and add the sum of the values of the elements of the state change cost function value vector corresponding to the elements that differ between the current state and the next state, and the next state Was evaluated by the sum of the evaluation function value, it is what determines the transition destination of the current state.

【0013】また、現在状態から遷移可能な複数の隣の
状態を評価し、遷移先を決定する状態空間の探索方式に
おいて、状態を表す状態ベクトルと同じ長さを有する状
態変化コスト関数値ベクトルを用意し、現在状態と隣の
状態との差ならびに現在状態の過去の遷移の経緯により
定まる状態変化コスト関数値と、隣の状態の評価関数値
との和を、現在状態の評価関数値と比較することにより
現在状態が極小解か否かを判定し、現在状態が極小解と
なった場合には、現在状態への状態遷移に伴い変化した
現在状態ベクトルの要素に対応する状態変化コスト関数
値ベクトルの要素の値を増大させ、変化しなかった現在
状態ベクトルの要素に対応する状態変化コスト関数値ベ
クトルの要素の値を減少あるいは維持し、状態変化コス
ト関数値ベクトルの各要素の値を更新して行き、現在状
態が極小解ではない場合には、状態変化コスト関数値ベ
クトルの各要素の値を減少あるいは維持し、状態変化コ
スト関数値ベクトルの各要素の値を更新して行き、隣の
状態を、現在状態と隣の状態との間で差異のある要素に
対応する状態変化コスト関数値ベクトルの要素の値の総
和と、隣の状態の評価関数値との和により評価し、現在
状態の遷移先を決定するものである。
In addition, in a state space search method that evaluates a plurality of adjacent states that can transit from the current state and determines a transition destination, a state change cost function value vector having the same length as the state vector representing the state is calculated. Prepare and compare the sum of the state change cost function value determined by the difference between the current state and the next state and the history of past transitions of the current state and the evaluation function value of the next state with the evaluation function value of the current state By determining whether the current state is a minimal solution, and if the current state is a minimal solution, the state change cost function value vector corresponding to the element of the current state vector that changes with the state transition to the current state. Value of the state change cost function value vector that increases or decreases the value of the element of the state change cost function value vector corresponding to the element of the current state vector that has not changed, When the value of each element is updated and the current state is not the minimum solution, the value of each element of the state change cost function value vector is decreased or maintained, and the value of each element of the state change cost function value vector is changed. The next state is updated and the sum of the values of the elements of the state change cost function value vector corresponding to the element that has a difference between the current state and the next state and the evaluation function value of the next state The sum is evaluated to determine the transition destination of the current state.

【0014】また、状態を表す状態ベクトルをいくつか
の要素ベクトルに分割し、この要素ベクトルの数と等し
い長さを有する状態変化コスト関数値ベクトルを用意
し、現在状態への状態遷移に伴い変化した現在状態ベク
トルの要素に対応する状態変化コスト関数値ベクトルの
要素の値を増大させることにより、状態変化コスト関数
値ベクトルの各要素の値を更新して行き、変化しなかっ
た現在状態ベクトルの要素に対応する状態変化コスト関
数値ベクトルの要素の値を減少させあるいは維持するこ
とにより、状態変化コスト関数値ベクトルの各要素の値
を更新して行き、隣の状態を、現在状態と隣の状態との
間で差異のある要素ベクトルに対応する状態変化コスト
関数値ベクトルの要素の値の総和と、隣の状態の評価関
数値との和により評価し、現在状態の遷移先を決定する
ものである。
Further, a state vector representing a state is divided into several element vectors, a state change cost function value vector having a length equal to the number of the element vectors is prepared, and changes with a state transition to the current state. The value of each element of the state change cost function value vector is updated by increasing the value of the element of the state change cost function value vector corresponding to the element of the present state vector The value of each element of the state change cost function value vector is updated by decreasing or maintaining the value of the element of the state change cost function value vector corresponding to the element, and the adjacent state is changed to the current state and the adjacent state. Evaluated by the sum of the sum of the values of the elements of the state change cost function value vector corresponding to the element vector that differs from the state and the evaluation function value of the adjacent state. And is what determines the transition destination of the current state.

【0015】また、現在状態から遷移可能な複数の隣の
状態を評価し、遷移先を決定する状態空間の探索方式に
おいて、状態を表す状態ベクトルをいくつかの要素ベク
トルに分割し、この要素ベクトルの数と等しい長さを持
つ状態変化コスト関数値ベクトルを用意し、現在状態と
隣の状態との差ならびに現在状態の過去の遷移の経緯に
より定まる状態変化コスト関数値と、隣の状態の評価関
数値との和を、現在状態の評価関数値と比較することに
より現在状態が極小解か否かを判定し、現在状態が極小
解となった場合には、現在状態への状態遷移に伴い変化
した現在状態ベクトルの要素に対応する状態変化コスト
関数値ベクトルの要素の値を増大させ、変化しなかった
現在状態ベクトルの要素に対応する状態変化コスト関数
値ベクトルの要素の値を減少あるいは維持し、状態変化
コスト関数値ベクトルの各要素の値を更新して行き、現
在状態が極小解ではない場合には、状態変化コスト関数
値ベクトルの各要素の値を減少あるいは維持し、状態変
化コスト関数値ベクトルの各要素の値を更新して行き、
隣の状態を、現在状態と隣の状態との間で差異のある要
素に対応する状態変化コスト関数値ベクトルの要素の値
の総和と、隣の状態の評価関数値との和により評価し、
現在状態の遷移先を決定するものである。
In addition, in a search method of a state space in which a plurality of neighboring states that can transit from the current state are evaluated and a transition destination is determined, the state vector representing the state is divided into several element vectors, and the element vectors A state change cost function value vector with a length equal to the number of is prepared, and the state change cost function value determined by the difference between the current state and the next state and the history of past transitions of the current state, and the evaluation of the next state By comparing the sum with the function value with the evaluation function value of the current state, it is determined whether the current state is a minimal solution, and if the current state is a minimal solution, change with the state transition to the current state. The element of the state change cost function value vector corresponding to the element of the current state vector that has not changed by increasing the value of the element of the state change cost function value vector corresponding to the element of the present state vector Decrease or maintain the value, update the value of each element of the state change cost function value vector, and if the current state is not a minimal solution, decrease or maintain the value of each element of the state change cost function value vector Then, update the value of each element of the state change cost function value vector,
The adjacent state is evaluated by the sum of the values of the elements of the state change cost function value vector corresponding to the elements having a difference between the current state and the adjacent state, and the sum of the evaluation function values of the adjacent states,
This is to determine the transition destination of the current state.

【0016】また、隣の状態を評価し、遷移先を決定す
る際に、現在状態よりも評価関数値の小さい隣の状態が
存在するか否かを現在状態と隣の状態との差ならびに現
在状態の過去の遷移の経緯により定まる状態変化コスト
関数値と、隣の状態の評価関数値との和を、現在状態の
評価関数値と比較することにより判定し、現在状態より
も評価関数値の小さい隣の状態が存在する場合にはこれ
を遷移先として選択し、存在しない場合には、最小化問
題に対しては評価関数値の増大を行い、最大化問題に対
しては評価関数値の減少を行うといったように現在状態
の評価関数値を悪化させることにより、現在状態よりも
評価関数値の小さい隣の状態を出現させ、これを遷移先
として選択するものである。
Further, when the adjacent state is evaluated and the transition destination is determined, it is determined whether or not there is the adjacent state whose evaluation function value is smaller than the current state, and the difference between the current state and the adjacent state and the current state. The sum of the state change cost function value determined by the history of past transitions of the state and the evaluation function value of the adjacent state is determined by comparing it with the evaluation function value of the current state. If a small adjacent state exists, it is selected as the transition destination, and if it does not exist, the evaluation function value is increased for the minimization problem and the evaluation function value is increased for the maximization problem. By degrading the evaluation function value of the current state such as by decreasing it, a neighboring state having a smaller evaluation function value than the current state appears, and this is selected as the transition destination.

【0017】また、隣の状態を評価し、遷移先を決定す
る際に、現在状態よりも評価関数値の小さい隣の状態が
存在するか否かを現在状態と隣の状態との差ならびに現
在状態の過去の遷移の経緯により定まる状態変化コスト
関数値と、隣の状態の評価関数値との和を、現在状態の
評価関数値と比較することにより判定し、現在状態より
も評価関数値の小さい隣の状態が存在する場合には、こ
の中で最も評価関数値の小さい状態を遷移先として選択
し、存在しない場合には、最小化問題に対しては評価関
数値の増大を行い、最大化問題に対しては評価関数値の
減少を行うといったように現在状態の評価関数値を悪化
させることにより、現在状態よりも評価関数値の小さい
隣の状態を出現させ、これを遷移先として選択するもの
である。
Further, when the adjacent state is evaluated and the transition destination is determined, it is determined whether or not there is the adjacent state whose evaluation function value is smaller than the current state, and the difference between the current state and the adjacent state and the current state. The sum of the state change cost function value determined by the history of past transitions of the state and the evaluation function value of the adjacent state is determined by comparing it with the evaluation function value of the current state. If there is a small adjacent state, the state with the smallest evaluation function value is selected as the transition destination, and if it does not exist, the evaluation function value is increased for the minimization problem and the maximum For the optimization problem, by degrading the evaluation function value of the current state such as decreasing the evaluation function value, a neighboring state with a smaller evaluation function value than the current state appears, and this is selected as the transition destination. To do.

【0018】[0018]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の実施の形態1を図1を
用いて説明する。図1は、本発明の実施の形態1による
状態空間の探索方式を示すフローチャートである。図1
において、1は状態空間探索の出発点となる状態を現在
状態(着目状態)に初期設定してその評価関数値を算出
するブロック、2は現在状態と等しい数の要素を持つ状
態変化コスト関数値ベクトルを用意し、その全ての要素
を0クリアするブロック、3は探索回数をカウントする
ためのカウンタの初期設定を行うブロック、4は現在状
態から遷移可能な状態を抽出するとともに、それらの評
価関数値を算出するブロック、5はブロック4で抽出さ
れた状態の中に評価関数値の変更が必要なものが存在す
れば、評価関数値の変更を行うブロック、6はブロック
4で抽出された隣の状態を、その状態と現在状態との間
で差異のある要素に対応する状態変化コスト関数値ベク
トルの要素の値の総和と、隣の状態の評価関数値との和
により評価し、その中で最も評価関数値の小さい状態を
最良隣接状態(次の着目状態)として選択するブロック
である。
Embodiment 1. Hereinafter, Embodiment 1 of the present invention will be described with reference to FIG. FIG. 1 is a flowchart showing a state space search method according to the first embodiment of the present invention. FIG.
In Fig. 1, 1 is a block for initializing a state that is the starting point of the state space search to the current state (state of interest) and calculating its evaluation function value. 2 is a state change cost function value having the same number of elements as the current state. A block that prepares a vector and clears all its elements to 0, a block 3 that initializes a counter for counting the number of searches, and a block 4 that extracts a transitionable state from the current state and evaluates those functions. A block for calculating a value, 5 is a block for changing the evaluation function value if there is a need for changing the evaluation function value among the states extracted in the block 4, and 6 is the next block extracted in the block 4. The state of is evaluated by the sum of the sum of the values of the elements of the state change cost function value vector corresponding to the element that has a difference between that state and the current state, and the sum of the evaluation function value of the adjacent state. A block selecting as the best neighboring state (next focused state) a small state the least evaluation function value at medium.

【0019】また、7は最良隣接状態が、求めている性
質を持つ状態であるかを判定するブロック、8は最良隣
接状態が、保持されている最良解より望ましいものであ
るかを判断し、望ましい場合には、これを最良解として
保存するブロック、9は現在状態が極小解(現在状態と
最良隣接状態との差ならびに現在状態の過去の経緯によ
り定まる状態変化コスト関数値と、最良隣接状態の評価
関数値との和よりも、現在状態の評価関数値のほうが小
さい)であるか否かを判定するブロック、10は現在状
態の評価関数値を、現在状態と最良隣接状態との差なら
びに現在状態の過去の経緯により定まる状態変化コスト
関数値と、最良隣接状態の評価関数値との和よりも最良
隣接状態の評価関数値より、現在状態の評価関数値を悪
くなるようにするブロックである。
Further, 7 is a block for judging whether or not the best adjacent state has a desired property, and 8 is for judging whether or not the best adjacent state is more preferable than the best solution held therein. If desired, this block stores this as the best solution, 9 is the minimum solution of the current state (state change cost function value determined by the difference between the current state and the best adjacent state and the past history of the current state, and the best adjacent state). Of the evaluation function value of the present state is smaller than the sum of the evaluation function value of the present state) and the evaluation function value of the present state. Make the evaluation function value of the current state worse than the evaluation function value of the best adjacent state rather than the sum of the state change cost function value determined by the past history of the current state and the evaluation function value of the best adjacent state. It is a lock.

【0020】さらに、11は現在状態およびその悪化さ
れた評価関数値を、過去に評価関数値の増大を行った状
態およびその悪化された評価関数値として保存するブロ
ック(図8のブロック41,42、および43に相
当)、12は現在状態と最良隣接状態の対応する要素に
順次着目するブロック、13は着目した要素の値が現在
状態と最良隣接状態で等しいかどうかを判定するブロッ
ク、14は着目した要素に対応する状態変化コスト関数
値ベクトルの要素が0でなければ、そこから値を減少す
るブロック、15は着目した要素の対応する状態変化コ
スト関数値ベクトルの要素の値を増加するブロック、1
7は探索回数が所定の回数LMAXを超えたかを判定す
るブロック、18は現在状態とその評価関数値を、最良
隣接状態とその評価関数値に切替るブロック、19は探
索回数のカウンタを1増加させるブロックである。
Further, a block 11 stores the present state and its deteriorated evaluation function value as a state in which the evaluation function value has been increased in the past and its deteriorated evaluation function value (blocks 41 and 42 in FIG. 8). , And 43), 12 is a block that sequentially focuses on the corresponding elements of the current state and the best adjacent state, 13 is a block that determines whether the value of the focused element is equal in the current state and the best adjacent state, and 14 is If the element of the state change cost function value vector corresponding to the focused element is not 0, the value is decreased from that block, and 15 is the block that increases the value of the corresponding state change cost function value vector of the focused element. 1
7 is a block that determines whether the number of searches exceeds a predetermined number LMAX, 18 is a block that switches the current state and its evaluation function value to the best adjacent state and its evaluation function value, and 19 is an increment counter of the number of searches It is a block to be made.

【0021】次に動作について説明する。まず、ブロッ
ク1において状態空間を探索するための出発点となる状
態が現在状態として設定され、その評価関数値が算出さ
れる。次に、ブロック2において、状態変化コスト関数
値ベクトルの全ての要素を0クリアする。次に、ブロッ
ク4,5,6において、現在状態から遷移可能な隣の状
態の中で、現在状態と隣の状態との差ならびに現在状態
の過去の経緯により定まる状態変化コスト関数値と、隣
の状態の評価関数値との和によって評価した場合、最良
の評価値を持つ状態が最良隣接状態として選択される。
次に、ブロック7において、最良隣接状態が求めている
性質を持つ解であるかが判定され、求めている性質を持
つ解である場合には処理を終了し、その他の場合は、ブ
ロック8へ処理を移行する。
Next, the operation will be described. First, in block 1, the state that is the starting point for searching the state space is set as the current state, and the evaluation function value thereof is calculated. Next, in block 2, all elements of the state change cost function value vector are cleared to 0. Next, in blocks 4, 5 and 6, among the neighboring states that can transit from the current state, the state change cost function value determined by the difference between the current state and the neighboring state and the past history of the current state, and the neighboring state. The state having the best evaluation value is selected as the best adjacent state when evaluated by the sum of the state and the evaluation function value.
Next, in block 7, it is judged whether or not the best adjacent state is a solution having the required property, and if it is the solution having the required property, the processing is terminated, and otherwise, to block 8. Transfer processing.

【0022】ブロック8では最良隣接状態と保存されて
いる最良解との比較を行い、最良隣接状態が保存されて
いる最良解よりも望ましいものであれば、これを最良解
として保存する。次に、ブロック9において、現在状態
が極小解であるか否かの判定が行われ、極小解の場合に
は、処理はブロック10に移行し、その他の場合には処
理はブロック12へ移行する。
At block 8, a comparison is made between the best neighbor state and the stored best solution, and if the best neighbor state is more desirable than the stored best solution, then it is stored as the best solution. Next, in block 9, it is determined whether or not the current state is the minimum solution. If the current state is the minimum solution, the process shifts to block 10, and otherwise the process shifts to block 12. .

【0023】ブロック10においては、極小解である現
在状態の評価関数値が、最良隣接状態の評価関数値より
悪い値となるよう悪化される。次に、ブロック11にお
いて、悪化された現在状態の評価関数値がその状態とと
もに保存される。(保存されている過去に評価関数値の
増大を行った状態の中に、現在状態と同一の状態が存在
するかを判定し、存在する場合には、その評価関数値を
現在状態の評価関数値に変更し、存在しない場合は、現
在状態を過去に評価関数値の悪化を行った状態として、
その評価関数値と共に保存する。)
In block 10, the evaluation function value of the current state, which is the minimum solution, is deteriorated to a value worse than the evaluation function value of the best adjacent state. Next, in block 11, the degraded evaluation value of the current state is saved with that state. (It is determined whether or not the same state as the current state exists in the saved states where the evaluation function value has been increased in the past, and if there is, the evaluation function value is used as the evaluation function for the current state. Change to a value, and if it does not exist, the current state is assumed to be the state where the evaluation function value was deteriorated in the past,
Save with the evaluation function value. )

【0024】ブロック12では現在状態と最良隣接状態
の対応する要素に順次着目し、ブロック13では着目し
た要素の値が現在状態と最良隣接状態で等しいかどうか
を判定する。要素の値が等しい場合はブロック14に移
行し、着目した要素に対応する状態変化コスト関数値ベ
クトルの要素が0でなければ、値を減少させる。要素の
値が等しくない場合はブロック15へ移行し、着目した
要素の対応する状態変化コスト関数値ベクトルの要素の
値を増加する。
At block 12, the corresponding elements of the current state and the best adjacent state are sequentially focused on, and at block 13, it is determined whether the value of the focused element is equal in the current state and the best adjacent state. If the element values are equal, the process proceeds to block 14, and if the element of the state change cost function value vector corresponding to the focused element is not 0, the value is decreased. If the element values are not equal, the process proceeds to block 15, and the value of the element of the corresponding state change cost function value vector of the focused element is increased.

【0025】次にブロック17において、探索回数が所
定の回数を超えたかが判断され、超えた場合には処理は
終了し、超えない場合には、処理はブロック18に移行
する。ブロック18では、現在状態とその評価関数値を
最良隣接状態とその評価関数値に変更することにより、
次の探索段階に移る準備が行われ、続くブロック19に
おいて探索回数のカウンタが1カウントアップされた
後、ブロック4に戻ることにより探索が継続されること
となる。
Next, in block 17, it is judged whether or not the number of searches exceeds a predetermined number. If it exceeds, the process ends. If not, the process shifts to block 18. In block 18, by changing the current state and its evaluation function value to the best neighbor state and its evaluation function value,
Preparations are made to move to the next search stage, and after the counter of the number of searches is incremented by 1 in the following block 19, the search is continued by returning to block 4.

【0026】実施の形態2.次に、本発明の実施の形態
2を図2,図3,図4,図5,図6および図7を用いて
説明する。図2は、従来技術によるスケジューリング問
題への適用結果例の説明図であり、図3は、本発明の実
施の形態2による状態空間の探索方式のスケジューリン
グ問題への適用結果例(1)の説明図である。(現在状
態の遷移) また、図4は、本発明の実施の形態2による状態空間の
探索方式のスケジューリング問題への適用結果例(2)
の説明図である。(現在状態0の隣の状態) 図5は、本発明の実施の形態2による状態空間の探索方
式のスケジューリング問題への適用結果例(3)の説明
図である。(現在状態1の隣の状態) 図6は、本発明の実施の形態2による状態空間の探索方
式のスケジューリング問題への適用結果例(4)の説明
図である。(現在状態2の隣の状態) そして、図7は、本発明の実施の形態2による状態空間
の探索方式のスケジューリング問題への適用結果例
(5)の説明図である。(現在状態3の隣の状態)
Embodiment 2. Next, a second embodiment of the present invention will be described with reference to FIGS. 2, 3, 4, 5, 6, and 7. FIG. 2 is an explanatory diagram of an application result example to a scheduling problem according to the related art, and FIG. 3 is an explanation of an application result example (1) to a scheduling problem of a state space search method according to the second embodiment of the present invention. It is a figure. (Transition of Current State) FIG. 4 shows an example of the result of applying the state space search method according to the second embodiment of the present invention to a scheduling problem (2).
FIG. (Next to Current State 0) FIG. 5 is an explanatory diagram of an application result example (3) to the scheduling problem of the search method of the state space according to the second embodiment of the present invention. (Next to Current State 1) FIG. 6 is an explanatory diagram of an application result example (4) to the scheduling problem of the state space search method according to the second embodiment of the present invention. (Next to Current State 2) FIG. 7 is an explanatory diagram of an application result example (5) to the scheduling problem of the state space search method according to the second embodiment of the present invention. (Currently next to State 3)

【0027】与えられた4つの作業の開始日を、5日間
の枠からはみ出さないように最適化するスケジューリン
グ問題を考える。作業1,作業2および作業3は1日間
の作業であり、作業4は2日間連続の作業である。作業
1は希望開始日が1日目であるが、開始日を移動させる
ことができる。ただし、作業1の開始日が希望開始日か
ら1日ずれるごとにペナルティ2点が発生する。作業2
は希望開始日が2日目であるが、開始日を移動させるこ
とができる。ただし、作業2の開始日が希望開始日から
1日ずれるごとにペナルティ2点が発生する。作業3は
開始日が2日目に固定されており、作業4は開始日が1
日目に固定されている。作業1と作業2が同じ日に重な
った場合にはペナルティ1点が発生し、作業1と作業3
が同じ日に重なった場合にはペナルティ10点が発生す
る。また、作業1と作業4が同じ日に重なった場合に
も、ペナルティ10点が発生する。
Consider a scheduling problem that optimizes the start dates of the four tasks given so that they do not fall outside the 5-day window. Work 1, work 2 and work 3 are works for one day, and work 4 is work for two consecutive days. Although the desired start date for work 1 is the first day, the start date can be moved. However, 2 penalties will be incurred each time the start date of work 1 deviates from the desired start date by one day. Work 2
Although the desired start date is the second day, the start date can be moved. However, 2 penalties will be incurred each time the start date of work 2 deviates from the desired start date by one day. Work 3 has a fixed start date on the 2nd day, and work 4 has a start date of 1
It is fixed on the day. If work 1 and work 2 overlap on the same day, a penalty of 1 will occur and work 1 and work 3 will occur.
If the two overlap on the same day, a penalty of 10 points will be incurred. In addition, even when work 1 and work 4 overlap on the same day, a penalty of 10 points is generated.

【0028】このスケジューリング問題において、作業
1の開始日と作業2の開始日を要素として状態を定義す
る。また、作業1または作業2のいずれかの開始日が1
日移動した状態を、隣の状態とする。さらに、状態の評
価関数値は、その状態におけるペナルティの総和とす
る。
In this scheduling problem, the state is defined with the start date of work 1 and the start date of work 2 as elements. The start date of either work 1 or work 2 is 1
The state moved to the next day is set as the adjacent state. Furthermore, the evaluation function value of a state is the sum of the penalties in that state.

【0029】図2は、従来の状態空間の探索方式を示す
フローチャートである図2に従って探索を行った場合の
現在状態の推移を、探索4回目までについて示したもの
である。現在状態0は初期状態(各作業の開始日を希望
開始日とした状態)である。作業1の開始日を2日目に
移動させることは、作業1と作業3を同じ日に実行させ
ることになりペナルティ10点が発生する。これに対し
て、作業2の開始日を移動させることは2点ずつペナル
ティが加算されるだけなので、現在状態1、現在状態
2、および現在状態3では、作業2の開始日の移動ばか
りが行われ、現在状態4で初めて作業1の開始日が移動
する。現在状態4において、最適なスケジュールはまだ
得られていない。
FIG. 2 shows the transition of the current state when the search is performed according to FIG. 2, which is a flow chart showing the conventional state space search method, up to the fourth search. The current state 0 is an initial state (a state in which the start date of each work is the desired start date). Moving the start date of work 1 to the second day causes work 1 and work 3 to be executed on the same day, resulting in a penalty of 10 points. On the other hand, moving the start date of work 2 only adds a penalty of 2 points, so in the current state 1, the current state 2, and the current state 3, only the start date of the work 2 is moved. In the current state 4, the start date of work 1 moves for the first time. In the current state 4, the optimal schedule has not yet been obtained.

【0030】一方、図3は、本発明の実施の形態1によ
る状態空間の探索方式を示すフローチャートである図1
に従って探索を行った場合の現在状態の推移および、状
態変化コスト関数値ベクトルの推移を、探索4回目まで
について示したものである。状態変化コスト関数値ベク
トルは、作業1および作業2の2つの要素を持ち、現在
状態と直前の現在状態を比較して開始日の異なる作業に
対応する状態変化コスト関数値ベクトルの要素はペナル
ティ20点とし、開始日の同じ作業に対応する状態変化
コスト関数値ベクトルの要素からは、要素の値が0でな
ければペナルティ20点を引き去り、要素の値を0とす
る。
On the other hand, FIG. 3 is a flowchart showing a state space search method according to the first embodiment of the present invention.
The transition of the current state and the transition of the state change cost function value vector when the search is performed according to are shown up to the fourth search. The state change cost function value vector has two elements, work 1 and work 2, and the current state and the immediately preceding current state are compared, and the element of the state change cost function value vector corresponding to the work having a different start date is the penalty 20. If the value of the element is not 0, the penalty of 20 points is subtracted from the element of the state change cost function value vector corresponding to the same work on the start date, and the value of the element is set to 0.

【0031】図4,図5,図6、および図7はそれぞ
れ、図3の現在状態0、現在状態1、現在状態2、およ
び現在状態3の全ての隣の状態を示している。図4,図
5,図67、および図7において、Yは、隣の状態と現
在状態とで差異のある要素に対応する状態変化コスト関
数値ベクトルの要素の値の総和Xと、隣の状態の評価関
数値との和である。現在状態の全ての隣の状態のうち、
Yが最も小さな値を、最良隣接状態とする。図4では、
現在状態0の隣の状態2を、最良隣接状態すなわち現在
状態1として選択する様子を示す。図5では、現在状態
1の隣の状態1を、最良隣接状態すなわち現在状態2と
して選択する様子を示す。図6では、現在状態2の隣の
状態3を、最良隣接状態すなわち現在状態3として選択
する様子を示す。図7では、現在状態3の隣の状態2
を、最良隣接状態すなわち現在状態4として選択する様
子を示す。なお、極小解であることが判明した状態の評
価関数値は、ペナルティ100点を加算する。
FIGS. 4, 5, 6 and 7 respectively show all states next to current state 0, current state 1, current state 2 and current state 3 of FIG. 4, FIG. 5, FIG. 67, and FIG. 7, Y is the sum X of the element values of the state change cost function value vector corresponding to the element having a difference between the adjacent state and the current state, and the adjacent state. Is the sum of the evaluation function value of. Of all the states next to the current state,
The value with the smallest Y is the best neighbor state. In FIG.
A state in which the state 2 adjacent to the current state 0 is selected as the best adjacent state, that is, the current state 1 is shown. In FIG. 5, the state 1 adjacent to the current state 1 is selected as the best adjacent state, that is, the current state 2. FIG. 6 shows a state in which the state 3 adjacent to the current state 2 is selected as the best adjacent state, that is, the current state 3. In FIG. 7, the state 2 next to the current state 3
Is selected as the best adjacent state, that is, the current state 4. In addition, the evaluation function value in the state where it is found to be the minimum solution is added with 100 points of penalty.

【0032】図3は、以上のようにして探索した現在状
態の推移を示したものである。隣の状態と現在状態とで
差異のある要素に対応する状態変化コスト関数値ベクト
ルの要素の値の総和を加算して評価することにより、同
じ作業の開始日を続けて移動させることが抑制される。
このため、従来技術による探索のように作業2の開始日
の移動ばかりに探索が集中することが避けられ、現在状
態4で既に最適なスケジュールを得ている。
FIG. 3 shows the transition of the current state searched as described above. By adding and evaluating the sum of the values of the elements of the state change cost function value vector corresponding to the elements that have a difference between the adjacent state and the current state, it is possible to suppress continuous movement of the same work start date. It
For this reason, it is possible to avoid the concentration of the search as the movement of the start date of the work 2 as in the search by the conventional technique, and the optimum schedule has already been obtained in the current state 4.

【0033】なお、以上に記載の発明の実施の形態は、
組合せ最小化問題を対象として記述しているが、本発明
は組合せ最大化問題に対しても同様に適用することがで
きる。
The embodiment of the invention described above is
Although the description has been made for the combination minimization problem, the present invention can be applied to the combination maximization problem as well.

【0034】[0034]

【発明の効果】以上のように、この発明によれば、同じ
様な状態を避ける方向で探索を行うため、探索の早い段
階で良質の解を発見することができるとともに、探索回
数が減り必要記憶容量が少なくなる効果がある。また、
問題空間が強連結グラフになる条件下では、十分な探索
を行うことにより、最適解への到達が保証される効果が
ある。
As described above, according to the present invention, since a search is performed in a direction avoiding a similar state, a good solution can be found at an early stage of the search, and the number of searches needs to be reduced. This has the effect of reducing the storage capacity. Also,
Under the condition that the problem space becomes a strongly connected graph, a sufficient search has an effect of reaching the optimum solution.

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

【図1】 本発明の実施の形態1による状態空間の探索
方式を示すフローチャートである。
FIG. 1 is a flowchart showing a state space search method according to a first embodiment of the present invention.

【図2】 従来の状態空間の探索方式によるスケジュー
リング問題への適用結果例の説明図である。
FIG. 2 is an explanatory diagram of an application result example to a scheduling problem by a conventional state space search method.

【図3】 本発明の実施の形態2による状態空間の探索
方式のスケジューリング問題への適用結果例(1)の説
明図である。(現在状態の遷移)
FIG. 3 is an explanatory diagram of an application result example (1) of the state space search method according to the second embodiment of the present invention to a scheduling problem. (Current state transition)

【図4】 本発明の実施の形態2による状態空間の探索
方式のスケジューリング問題への適用結果例(2)の説
明図である。(現在状態0の隣の状態)
FIG. 4 is an explanatory diagram of an application result example (2) to the scheduling problem of the state space search method according to the second embodiment of the present invention. (The state next to the current state 0)

【図5】 本発明の実施の形態2による状態空間の探索
方式のスケジューリング問題への適用結果例(3)の説
明図である。(現在状態1の隣の状態)
FIG. 5 is an explanatory diagram of an application result example (3) to the scheduling problem of the state space search method according to the second embodiment of the present invention. (Currently next to State 1)

【図6】 本発明の実施の形態2による状態空間の探索
方式のスケジューリング問題への適用結果例(4)の説
明図である。(現在状態2の隣の状態)
FIG. 6 is an explanatory diagram of an application result example (4) to the scheduling problem of the search method of the state space according to the second embodiment of the present invention. (The state next to the current state 2)

【図7】 本発明の実施の形態2による状態空間の探索
方式のスケジューリング問題への適用結果例(5)の説
明図である。(現在状態3の隣の状態)
FIG. 7 is an explanatory diagram of an application result example (5) to the scheduling problem of the search method of the state space according to the second embodiment of the present invention. (Currently next to State 3)

【図8】 従来の状態空間の探索方式を示すフローチャ
ートである。
FIG. 8 is a flowchart showing a conventional state space search method.

フロントページの続き (72)発明者 広瀬 公一 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 石黒 隆広 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 板屋 伸彦 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内Front page continuation (72) Inventor Koichi Hirose 2-3-3 Marunouchi, Chiyoda-ku, Tokyo Sanryo Electric Co., Ltd. (72) Inventor Takahiro Ishiguro 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Sanryo Denki Incorporated (72) Inventor Nobuhiko Itaya 2-3-3, Marunouchi, Chiyoda-ku, Tokyo Sanryo Electric Co., Ltd.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 現在状態から遷移可能な複数の隣の状態
を評価し、遷移先を決定する状態空間の探索方式におい
て、隣の状態を、現在状態と隣の状態との差ならびに現
在状態の過去の遷移の経緯により定まる状態変化コスト
関数値と、隣の状態の評価関数値との和により評価し、
現在状態の遷移先を決定することを特徴とする状態空間
の探索方式。
1. A method for searching a state space, which evaluates a plurality of neighboring states that can transit from the current state and determines a transition destination, wherein the neighboring state is defined as a difference between the current state and the neighboring state and the current state. Evaluated by the sum of the state change cost function value determined by the history of past transitions and the evaluation function value of the adjacent state,
A state space search method characterized by determining the transition destination of the current state.
【請求項2】 現在状態から遷移可能な複数の隣の状態
を評価し、遷移先を決定する状態空間の探索方式におい
て、状態を表す状態ベクトルと同じ長さを有する状態変
化コスト関数値ベクトルを用意し、現在状態への状態遷
移に伴い変化した現在状態ベクトルの要素に対応する状
態変化コスト関数値ベクトルの要素の値を増大させるこ
とにより、状態変化コスト関数値ベクトルの各要素の値
を更新して行き、変化しなかった現在状態ベクトルの要
素に対応する状態変化コスト関数値ベクトルの要素の値
を減少させあるいは維持することにより、状態変化コス
ト関数値ベクトルの各要素の値を更新して行き、隣の状
態を、現在状態と隣の状態との間で差異のある要素に対
応する状態変化コスト関数値ベクトルの要素の値の総和
と、隣の状態の評価関数値との和により評価し、現在状
態の遷移先を決定することを特徴とする状態空間の探索
方式。
2. A state change cost function value vector having the same length as a state vector representing a state in a search method of a state space that evaluates a plurality of adjacent states that can transit from the current state and determines a transition destination. Prepare and update the value of each element of the state change cost function value vector by increasing the value of the element of the state change cost function value vector corresponding to the element of the current state vector that has changed with the state transition to the current state. Then, the value of each element of the state change cost function value vector is updated by decreasing or maintaining the value of the element of the state change cost function value vector corresponding to the element of the current state vector that has not changed. Go to the next state and evaluate the next state by summing the values of the elements of the state change cost function value vector corresponding to the elements that differ between the current state and the next state. A state space search method characterized by determining the transition destination of the current state by evaluating the sum with the function value.
【請求項3】 現在状態から遷移可能な複数の隣の状態
を評価し、遷移先を決定する状態空間の探索方式におい
て、状態を表す状態ベクトルと同じ長さを有する状態変
化コスト関数値ベクトルを用意し、現在状態と隣の状態
との差ならびに現在状態の過去の遷移の経緯により定ま
る状態変化コスト関数値と、隣の状態の評価関数値との
和を、現在状態の評価関数値と比較することにより現在
状態が極小解か否かを判定し、現在状態が極小解となっ
た場合には、現在状態への状態遷移に伴い変化した現在
状態ベクトルの要素に対応する状態変化コスト関数値ベ
クトルの要素の値を増大させ、変化しなかった現在状態
ベクトルの要素に対応する状態変化コスト関数値ベクト
ルの要素の値を減少あるいは維持し、状態変化コスト関
数値ベクトルの各要素の値を更新して行き、現在状態が
極小解ではない場合には、状態変化コスト関数値ベクト
ルの各要素の値を減少あるいは維持し、状態変化コスト
関数値ベクトルの各要素の値を更新して行き、隣の状態
を、現在状態と隣の状態との間で差異のある要素に対応
する状態変化コスト関数値ベクトルの要素の値の総和
と、隣の状態の評価関数値との和により評価し、現在状
態の遷移先を決定することを特徴とする状態空間の探索
方式。
3. A state change cost function value vector having the same length as a state vector representing a state in a search method of a state space for evaluating a plurality of adjacent states that can transit from the current state and determining a transition destination. Prepare and compare the sum of the state change cost function value determined by the difference between the current state and the next state and the history of past transitions of the current state and the evaluation function value of the next state with the evaluation function value of the current state By determining whether the current state is a minimal solution, and if the current state is a minimal solution, the state change cost function value vector corresponding to the element of the current state vector that changes with the state transition to the current state. The value of the element of the state change cost function value vector is increased or decreased, and the value of the element of the state change cost function value vector corresponding to the element of the current state vector that has not changed is decreased or maintained. If the current state is not a minimal solution, the value of each element of the state change cost function value vector is reduced or maintained, and the value of each element of the state change cost function value vector is updated. Then, the next state is added to the sum of the values of the elements of the state change cost function value vector corresponding to the element having a difference between the current state and the next state and the evaluation function value of the next state. A state space search method characterized by deciding the transition destination of the current state by evaluating.
【請求項4】 状態を表す状態ベクトルをいくつかの要
素ベクトルに分割し、この要素ベクトルの数と等しい長
さを有する状態変化コスト関数値ベクトルを用意し、現
在状態への状態遷移に伴い変化した現在状態ベクトルの
要素に対応する状態変化コスト関数値ベクトルの要素の
値を増大させることにより、状態変化コスト関数値ベク
トルの各要素の値を更新して行き、変化しなかった現在
状態ベクトルの要素に対応する状態変化コスト関数値ベ
クトルの要素の値を減少させあるいは維持することによ
り、状態変化コスト関数値ベクトルの各要素の値を更新
して行き、隣の状態を、現在状態と隣の状態との間で差
異のある要素ベクトルに対応する状態変化コスト関数値
ベクトルの要素の値の総和と、隣の状態の評価関数値と
の和により評価し、現在状態の遷移先を決定することを
特徴とする状態空間の探索方式。
4. A state vector representing a state is divided into a number of element vectors, a state change cost function value vector having a length equal to the number of the element vectors is prepared, and changes with a state transition to the current state. The value of each element of the state change cost function value vector is updated by increasing the value of the element of the state change cost function value vector corresponding to the element of the present state vector The value of each element of the state change cost function value vector is updated by decreasing or maintaining the value of the element of the state change cost function value vector corresponding to the element, and the adjacent state is changed to the current state and the adjacent state. Evaluated by the sum of the values of the elements of the state change cost function value vector corresponding to the element vector with a difference between the state and the sum of the evaluation function value of the adjacent state, A state space search method characterized by determining the transition destination of the current state.
【請求項5】 現在状態から遷移可能な複数の隣の状態
を評価し、遷移先を決定する状態空間の探索方式におい
て、状態を表す状態ベクトルをいくつかの要素ベクトル
に分割し、この要素ベクトルの数と等しい長さを持つ状
態変化コスト関数値ベクトルを用意し、現在状態と隣の
状態との差ならびに現在状態の過去の遷移の経緯により
定まる状態変化コスト関数値と、隣の状態の評価関数値
との和を、現在状態の評価関数値と比較することにより
現在状態が極小解か否かを判定し、現在状態が極小解と
なった場合には、現在状態への状態遷移に伴い変化した
現在状態ベクトルの要素に対応する状態変化コスト関数
値ベクトルの要素の値を増大させ、変化しなかった現在
状態ベクトルの要素に対応する状態変化コスト関数値ベ
クトルの要素の値を減少あるいは維持し、状態変化コス
ト関数値ベクトルの各要素の値を更新して行き、現在状
態が極小解ではない場合には、状態変化コスト関数値ベ
クトルの各要素の値を減少あるいは維持し、状態変化コ
スト関数値ベクトルの各要素の値を更新して行き、隣の
状態を、現在状態と隣の状態との間で差異のある要素に
対応する状態変化コスト関数値ベクトルの要素の値の総
和と、隣の状態の評価関数値との和により評価し、現在
状態の遷移先を決定することを特徴とする状態空間の探
索方式。
5. In a search method of a state space for evaluating a plurality of adjacent states that can transit from the current state and determining a transition destination, the state vector representing the state is divided into several element vectors, and the element vectors are divided into several element vectors. A state change cost function value vector with a length equal to the number of is prepared, and the state change cost function value determined by the difference between the current state and the next state and the history of past transitions of the current state, and the evaluation of the next state By comparing the sum with the function value with the evaluation function value of the current state, it is determined whether or not the current state is a minimal solution, and if the current state is a minimal solution, change with the state transition to the current state. The value of the element of the state change cost function value vector corresponding to the element of the current state vector is increased, and the value of the element of the state change cost function value vector corresponding to the element of the current state vector that has not changed is changed. Decrease or maintain, update the value of each element of the state change cost function value vector, if the current state is not a minimal solution, reduce or maintain the value of each element of the state change cost function value vector, The value of each element of the state change cost function value vector is updated, and the value of the element of the state change cost function value vector corresponding to the element with the difference between the current state and the adjacent state A state space search method characterized by determining the transition destination of the current state by evaluating the sum of the sum and the evaluation function value of the adjacent state.
【請求項6】 隣の状態を評価し、遷移先を決定する際
に、現在状態よりも評価関数値の小さい隣の状態が存在
するか否かを現在状態と隣の状態との差ならびに現在状
態の過去の遷移の経緯により定まる状態変化コスト関数
値と、隣の状態の評価関数値との和を、現在状態の評価
関数値と比較することにより判定し、現在状態よりも評
価関数値の小さい隣の状態が存在する場合にはこれを遷
移先として選択し、存在しない場合には、最小化問題に
対しては評価関数値の増大を行い、最大化問題に対して
は評価関数値の減少を行うといったように現在状態の評
価関数値を悪化させることにより、現在状態よりも評価
関数値の小さい隣の状態を出現させ、これを遷移先とし
て選択することを特徴とする請求項1〜5のいずれかに
記載の状態空間の探索方式。
6. When evaluating a neighboring state and determining a transition destination, it is determined whether or not there is a neighboring state having an evaluation function value smaller than that of the current state, as well as the difference between the current state and the neighboring state and the current state. The sum of the state change cost function value determined by the history of past transitions of the state and the evaluation function value of the adjacent state is determined by comparing it with the evaluation function value of the current state. If a small adjacent state exists, it is selected as the transition destination, and if it does not exist, the evaluation function value is increased for the minimization problem and the evaluation function value is increased for the maximization problem. By degrading the evaluation function value of the current state such as decreasing, a neighboring state having a smaller evaluation function value than the current state appears, and this is selected as a transition destination. Search for the state space described in any of 5 Search method.
【請求項7】 隣の状態を評価し、遷移先を決定する際
に、現在状態よりも評価関数値の小さい隣の状態が存在
するか否かを現在状態と隣の状態との差ならびに現在状
態の過去の遷移の経緯により定まる状態変化コスト関数
値と、隣の状態の評価関数値との和を、現在状態の評価
関数値と比較することにより判定し、現在状態よりも評
価関数値の小さい隣の状態が存在する場合には、この中
で最も評価関数値の小さい状態を遷移先として選択し、
存在しない場合には、最小化問題に対しては評価関数値
の増大を行い、最大化問題に対しては評価関数値の減少
を行うといったように現在状態の評価関数値を悪化させ
ることにより、現在状態よりも評価関数値の小さい隣の
状態を出現させ、これを遷移先として選択することを特
徴とする請求項1〜5のいずれかに記載の状態空間の探
索方式。
7. When evaluating a next state and determining a transition destination, it is determined whether or not there is a next state having an evaluation function value smaller than that of the current state, as well as the difference between the current state and the next state and the current state. The sum of the state change cost function value determined by the history of past transitions of the state and the evaluation function value of the adjacent state is determined by comparing it with the evaluation function value of the current state. If there is a small neighboring state, select the state with the smallest evaluation function value as the transition destination,
If it does not exist, by increasing the evaluation function value for the minimization problem and decreasing the evaluation function value for the maximization problem, the evaluation function value in the current state is deteriorated. The state space search method according to any one of claims 1 to 5, wherein a neighboring state having an evaluation function value smaller than that of the current state is made to appear, and this state is selected as a transition destination.
JP7211570A 1995-08-21 1995-08-21 Search system for state space Pending JPH0962511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7211570A JPH0962511A (en) 1995-08-21 1995-08-21 Search system for state space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7211570A JPH0962511A (en) 1995-08-21 1995-08-21 Search system for state space

Publications (1)

Publication Number Publication Date
JPH0962511A true JPH0962511A (en) 1997-03-07

Family

ID=16607976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7211570A Pending JPH0962511A (en) 1995-08-21 1995-08-21 Search system for state space

Country Status (1)

Country Link
JP (1) JPH0962511A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5480667A (en) * 1992-10-30 1996-01-02 Corrigan; Patrick J. Nondigestible fat compositions containing diversely esterified polyol polyester for passive oil loss control
US5490995A (en) * 1992-10-30 1996-02-13 The Procter & Gamble Company Solid nondigestible polyol polyesters containing esterified hydroxy fatty acids such as esterified ricinoleic acid
US5534284A (en) * 1992-10-30 1996-07-09 Corrigan; Patrick J. Nondigestible fat compositions containing solid polyol polyester polymer for passive oil loss control

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5480667A (en) * 1992-10-30 1996-01-02 Corrigan; Patrick J. Nondigestible fat compositions containing diversely esterified polyol polyester for passive oil loss control
US5490995A (en) * 1992-10-30 1996-02-13 The Procter & Gamble Company Solid nondigestible polyol polyesters containing esterified hydroxy fatty acids such as esterified ricinoleic acid
US5534284A (en) * 1992-10-30 1996-07-09 Corrigan; Patrick J. Nondigestible fat compositions containing solid polyol polyester polymer for passive oil loss control

Similar Documents

Publication Publication Date Title
EP2095650B1 (en) Dynamic network selection using kernels
Mitra et al. State-dependent routing on symmetric loss networks with trunk reservations. I
Mills et al. Applying an extended guided local search to the quadratic assignment problem
CN107798379B (en) Method for improving quantum particle swarm optimization algorithm and application based on improved algorithm
CN112995289A (en) Internet of vehicles multi-target computing task unloading scheduling method based on non-dominated sorting genetic strategy
US6687299B2 (en) Motion estimation method and apparatus for interrupting computation which is determined not to provide solution
US6910030B2 (en) Adaptive search method in feature vector space
Campos et al. Adaptive memory programming for matrix bandwidth minimization
Croft et al. The use of adaptive mechanisms for selection of search strategies in document retrival systems
CN113188555A (en) Mobile robot path planning method
JPH0962511A (en) Search system for state space
Fourer Solving staircase linear programs by the simplex method, 2: Pricing
CN104246749A (en) Method, server, terminal device, and computer-readable recording medium for selectively removing nondeterminism of nondeterministic finite automata
Ma et al. An adaptive k-opt method for solving traveling salesman problem
US20050081175A1 (en) Method for discrete gate sizing in a netlist
Kryszkiewicz et al. Towards scalable algorithms for discovering rough set reducts
US20070239362A1 (en) Fictitious play based assembly sequence optimization considering process constraints
US5301256A (en) State space search system
CN114969571A (en) Optimal path query method of time sequence diagram facing traffic network
Bera et al. An efficient algorithm for finding all hinge vertices on trapezoid graphs
US7680641B1 (en) Identifying a minimum cut and/or a maximum flow using balancing of vertex excesses
Bendaoud Markov model and a modified-saw for network selection in a heterogeneous wireless environment
CN111698743A (en) Complex network community identification method fusing node analysis and edge analysis
JP2001028754A (en) Motion vector detection method
Hajek et al. Lex-optimal online multiclass scheduling with hard deadlines

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050817

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051213