Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3036473B2 - Route search apparatus and method - Google Patents
[go: Go Back, main page]

JP3036473B2 - Route search apparatus and method - Google Patents

Route search apparatus and method

Info

Publication number
JP3036473B2
JP3036473B2 JP18773397A JP18773397A JP3036473B2 JP 3036473 B2 JP3036473 B2 JP 3036473B2 JP 18773397 A JP18773397 A JP 18773397A JP 18773397 A JP18773397 A JP 18773397A JP 3036473 B2 JP3036473 B2 JP 3036473B2
Authority
JP
Japan
Prior art keywords
node
search
route
virtual
nodes
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.)
Expired - Fee Related
Application number
JP18773397A
Other languages
Japanese (ja)
Other versions
JPH1123303A (en
Inventor
貴久 白川
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP18773397A priority Critical patent/JP3036473B2/en
Publication of JPH1123303A publication Critical patent/JPH1123303A/en
Application granted granted Critical
Publication of JP3036473B2 publication Critical patent/JP3036473B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Navigation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、グラフの最小コス
ト経路を求める経路探索装置及び方法に関し、特に探索
時の探索範囲を限定し、高速に経路を探索するのに有効
な経路探索装置及び方法並びにプログラムを記録した記
録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a route search apparatus and method for finding a minimum cost route of a graph, and more particularly to a route search apparatus and method effective for limiting a search range at the time of search and searching for a route at high speed. And a record of the program
Regarding recording media .

【0002】[0002]

【従来の技術】2点間の、距離的、時間的、価格的な最
小コスト経路を求める問題は、グラフ理論の応用の1つ
である。そして、グラフの最小コスト経路を求める経路
探索装置により、例えば、鉄道、車や飛行機を利用して
移動する際に、出発地点から目標地点までの最も安い経
路や、最も速い経路を知ることができる。同様に、通信
回線の利用者が、A地点からB地点までの最も安い通信
経路を選択することもできる。
2. Description of the Related Art The problem of finding the minimum cost path in terms of distance, time, and price between two points is one application of graph theory. Then, by the route search device for finding the minimum cost route of the graph, it is possible to know the cheapest route and the fastest route from the starting point to the target point when traveling by rail, car or airplane, for example. . Similarly, the user of the communication line can select the cheapest communication route from point A to point B.

【0003】この最小コスト経路アルゴリズムとして、
ダイクストラ(Dijkstra)のアルゴリズムが広く知ら
れている。このアルゴリズムによれば、グラフのアーク
数をeとし、グラフのノード数をnとすると、O((e
+n)・log(n))の処理時間で最小コスト経路を
計算できる。
[0003] As this minimum cost path algorithm,
Dijkstra's algorithm is widely known. According to this algorithm, if the number of arcs in the graph is e and the number of nodes in the graph is n, then O ((e
+ N) · log (n)) can calculate the minimum cost route in the processing time.

【0004】しかしながら、交通網などのようにグラフ
の規模が巨大で、ノード数が多大である場合には、処理
時間が長大なものとなってしまうという問題点を有して
いる。
[0004] However, when the graph scale is large and the number of nodes is large like a traffic network, there is a problem that the processing time becomes long.

【0005】このような問題を解消することを意図した
従来技術として、例えば特開平1−142825号公報
には、全てのノードの所定基準点からの最短経路を記憶
する最短経路テーブルと、全てのノードの座標位置を記
憶するノード座標テーブルを備え、最短経路テーブルの
データを参照して出発点および到着点の基準点からの最
短経路の和を求め、探索範囲を限定して探索するように
した経路案内装置が提案されている。また特開平3−2
972号公報には、地名インデクステーブル手段と、地
名インデクステーブル検索論理手段と、必要経路候補デ
ータ群選択論理手段とを具備し、必要な経路候補データ
群のみを取り上げ出発点から目的地まで最短時間となる
経路を効率よく探索する最短経路探索方式が提案されて
いる。さらに、文献(飯村 伊智郎、加藤誠己、「ルッ
クアップテーブルにより探索領域を限定した日本全国道
路網における経路探索手法」、情報処理学会論文誌、19
94年、No.12、pp.2831)に記載の技術などが参照さ
れる。
As a prior art intended to solve such a problem, for example, Japanese Patent Application Laid-Open No. 1-142825 discloses a shortest path table for storing the shortest paths from a predetermined reference point of all nodes, A node coordinate table for storing the coordinate positions of the nodes is provided. The sum of the shortest paths from the reference point of the departure point and the arrival point with reference to the data of the shortest path table is obtained, and the search is limited to the search range. A route guidance device has been proposed. Japanese Patent Laid-Open No. 3-2
No. 972 discloses a place name index table means, a place name index table search logic means, and a necessary route candidate data group selection logic means, and only the necessary route candidate data group is picked up and the shortest time from the starting point to the destination is taken. A shortest route search method for efficiently searching for a route that has been proposed has been proposed. Furthermore, literatures (Ichimura Iimura, Makoto Kato, "Route search method in Japan nationwide road network where search area is limited by lookup table", Transactions of Information Processing Society of Japan, 19
1994, No. 12, pp. 2831).

【0006】これらの従来技術は、いずれも、グラフの
データ構造とは別に、探索範囲を限定するための追加デ
ータを用意することで、探索時間を高速化するものであ
る。
In each of these conventional techniques, the search time is shortened by preparing additional data for limiting the search range, separately from the data structure of the graph.

【0007】より詳細には、例えば上記特開平1−14
2825号公報記載の経路案内装置では、全てのノード
に対して、所定のノードからの最小コスト経路を記憶す
る最小コスト経路テーブルと、ノードの座標値を記憶す
るノード座標テーブルを用意する。これらの追加データ
を参照することで、出発点から到達点までの最小コスト
距離の最大値を求め、出発点から探索を行っている際
に、その最大値を越える範囲を探索しないようにするこ
とで高速化を図っている。
More specifically, for example, Japanese Patent Application Laid-Open No.
In the route guidance device described in Japanese Patent No. 2825, a minimum cost route table storing the minimum cost route from a predetermined node and a node coordinate table storing the coordinate values of the nodes are prepared for all the nodes. By referring to these additional data, find the maximum value of the minimum cost distance from the starting point to the destination point, and do not search the range exceeding the maximum value when searching from the starting point To speed up.

【0008】すなわち、最小コスト経路テーブルを参照
して、基準点から出発点までの最小コスト距離と、基準
点から到達点までの最小コスト距離とを求め、その和を
出発点から到達点までの最小コスト距離の最大値とす
る。そして、出発点から到達点への探索の途中段階で求
めた出発点から途中点までの最小コスト距離と、ノード
座標テーブルから求めた途中点から到達点への直線距離
とを求め、その和を途中点を経由した出発点から到達点
への最小値とする。
That is, the minimum cost distance from the reference point to the start point and the minimum cost distance from the reference point to the destination point are obtained by referring to the minimum cost path table, and the sum is calculated from the start point to the destination point. This is the maximum value of the minimum cost distance. Then, the minimum cost distance from the departure point to the midpoint obtained in the middle stage of the search from the departure point to the arrival point, and the linear distance from the midpoint to the arrival point obtained from the node coordinate table are obtained. It is the minimum value from the starting point to the destination via the waypoint.

【0009】ここで、仮に、最小コスト経路テーブルな
どから求めた最大値よりも、ノード座標テーブルなどか
ら求めた最小値の方が大きい場合は、その途中点を経由
する経路は探索範囲から除外する。
Here, if the minimum value obtained from the node coordinate table or the like is larger than the maximum value obtained from the minimum cost route table or the like, the route passing through the intermediate point is excluded from the search range. .

【0010】また、上記特開平3−2972号公報や、
飯村等による「ルックアップテーブルにより探索領域を
限定した日本全国道路網における経路探索手法」と題す
る上記論文に記載の従来技術では、グラフをいくつかの
領域に分割することで、全てのノードをいくつかのノー
ドグループに分け、そのノードグループの全ての組み合
わせに対して、探索範囲外のノードグループを記述した
探索範囲ルックアップテーブルを用意する。
[0010] Further, Japanese Patent Application Laid-Open No. Hei 3-2972,
In the prior art described in the above-mentioned paper entitled "Route search method in Japan's national road network in which the search area is limited by a look-up table" by Iimura et al. A search range lookup table describing node groups outside the search range is prepared for all combinations of the node groups.

【0011】この追加データを参照することで、出発点
の属するノードグループと、到達点の属するノードグル
ープの組み合わせに対して探索する必要のないノードグ
ループが分かり、それに属するノードを経由する経路を
探索範囲から除外して高速化を計っている。
By referring to the additional data, a node group that does not need to be searched for the combination of the node group to which the starting point belongs and the node group to which the destination point belongs can be found, and a route via the node belonging to the node group is searched. Excluded from the range to speed up.

【0012】この探索範囲ルックアップテーブルを求め
るためには、予め全てのノードに対する最小コスト経路
を求める必要がある。
In order to find this search range lookup table, it is necessary to find the minimum cost routes for all nodes in advance.

【0013】すなわち、ノードグループAに属するノー
ドと、ノードグループBに属するノードとの全ての組み
合わせに対して最小コスト経路を求める。これによっ
て、その全ての経路に属さないノードグループを探索範
囲外のノードグループが求まる。
That is, minimum cost paths are obtained for all combinations of nodes belonging to node group A and nodes belonging to node group B. As a result, a node group that does not belong to all of the routes is found outside the search range.

【0014】このようにして、全てのノードグループの
組み合わせに対して、探索範囲外のノードグループを求
め、探索範囲ルックアップテーブルに記憶する。
In this way, for all combinations of node groups, node groups outside the search range are obtained and stored in the search range lookup table.

【0015】[0015]

【発明が解決しようとする課題】しかしながら、上記し
た従来技術は、下記記載の問題点を有している。
However, the above-mentioned prior art has the following problems.

【0016】第一の問題点は、上記従来技術において
は、除外できない経路が存在する、ということである。
The first problem is that, in the above-mentioned prior art, there are routes that cannot be excluded.

【0017】その理由は次の通りである。例えばルック
アップテーブルを用いる方法の場合、途中のノードで後
戻りして最小コスト経路から逸れてしまう経路を除外す
ることはできない。なぜなら、経由しないノードを特定
するための情報は保持しているが、経由するノードの順
序を特定する情報は保持していない、ためである。
The reason is as follows. For example, in the case of a method using a look-up table, it is not possible to exclude a route that returns at an intermediate node and deviates from the minimum cost route. This is because information for specifying nodes that do not pass through is stored, but information for specifying the order of nodes that pass through is not stored.

【0018】すなわち、経由する可能性のあるノードに
対しては、たとえ到達点に対して遠くなる(後戻りをす
る)経路であっても除外することができない。
That is, a node that may pass through the route cannot be excluded even if the route is far (returns back) to the destination.

【0019】また最小コスト経路テーブルとノード座標
テーブルとを用いる方法の場合も、経由するノードの順
序を特定する情報は持たないため、非常に大きな後戻り
経路しか、除外することができない。少なくとも、途中
ノードから到達点までの最小コスト距離よりも短い後戻
り経路は除外することができない。
Also, in the case of the method using the minimum cost route table and the node coordinate table, since there is no information for specifying the order of passing nodes, only a very large return route can be excluded. At least, a return route shorter than the minimum cost distance from the intermediate node to the destination cannot be excluded.

【0020】さらに、第二の問題点として、誤差の大き
い距離に基づいて、探索範囲を限定しているため、除外
できる経路の効率はあまり良くない、ということであ
る。
Further, as a second problem, since the search range is limited based on the distance with a large error, the efficiency of the route that can be excluded is not very good.

【0021】すなわち、出発点と到達点の各々の点と特
定のノードとの最小コスト経路の和から、出発点と到達
点との間の距離を概算するため、出発点と到達点と特定
ノードとの3点の位置関係がよほど良い状態でないと、
非常に誤差が大きい。
That is, in order to roughly estimate the distance between the starting point and the arrival point from the sum of the minimum cost path between each point of the starting point and the arrival point and the specific node, the starting point, the arrival point and the specific node If the positional relationship between these three points is not very good,
Very large error.

【0022】また、ノード座標テーブルから求めた途中
点から到達点への直線距離と、途中点と到達点との最小
コスト距離との差はかなり大きい。
Also, the difference between the straight-line distance from the intermediate point to the destination determined from the node coordinate table and the minimum cost distance between the intermediate point and the destination is quite large.

【0023】例えば、電車網で考えた場合、新幹線を使
える区間の時間コストと、普通電車しか使えない区間の
時間コストは、駅の経緯度から求めた距離と大きく乖離
している。
For example, in the case of a train network, the time cost of a section where the Shinkansen can be used and the time cost of a section where only a regular train can be used largely deviate from the distance obtained from the latitude and longitude of the station.

【0024】そして、第三の問題点として、ルックアッ
プテーブルを用いる方法の場合、ルックアップテーブル
を格納するために非常に多くのメモリ容量を必要とす
る、という問題点を有している。
As a third problem, the method using a look-up table has a problem that a very large memory capacity is required to store the look-up table.

【0025】これは、ノードグループの組に対して、探
索内(または外)のノードグループを格納する2次元の
テーブルを必要とするためである。
This is because a two-dimensional table for storing node groups in (or outside of) a search is required for a set of node groups.

【0026】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、少量の追加デー
タでグラフ構造の最小コスト経路探索の探索範囲限定を
行うことを可能とした経路探索装置及び方法並びにプロ
グラムを記録した記録媒体を提供することにある。
Accordingly, the present invention has been made in view of the above-described problems, and has as its object to provide a route that can limit the search range of a minimum cost route search of a graph structure with a small amount of additional data. Searching device and method and professional
Another object of the present invention is to provide a recording medium on which a gram is recorded .

【0027】[0027]

【課題を解決するための手段】前記目的を達成するた
め、本発明の経路探索装置は、与えられたグラフについ
て経路を探索し、与えられた2つのノードを結ぶ最小コ
スト経路を出力する経路探索装置において、ノードの仮
想座標値を記憶する仮想座標記憶手段と、ノードとノー
ド間を結ぶアークからなるネットワーク構造を記憶する
グラフ構造記憶手段と、前記グラフ構造記憶手段よりグ
ラフ構造を逐次読み出して、探索の対象範囲を探索処理
の途中状態として記憶する探索範囲記憶手段と、前記探
索範囲記憶手段に対して探索範囲を逐次読み出し、書き
出しを行いながら、与えられた出発点ノードから到達点
ノードに至る最短コスト経路を探索する経路探索手段
と、迂回量のしきい値を記憶する第1のしきい値記憶手
段と、前記仮想座標記憶手段に記憶された、出発点ノー
ドの仮想座標と、到達点ノードの仮想座標とで画定され
る領域を、前記第1のしきい値記憶手段に記憶された、
迂回量のしきい値以上に逸脱する仮想座標を持つノード
を経由する経路を、前記探索範囲記憶手段から削除する
探索範囲限定手段と、を備え、前記第1のしきい値記憶
手段に記憶された迂回量のしきい値が、出発点ノードの
仮想座標と到達点ノードの仮想座標とで画定される領域
からの、最短コスト経路に含まれる全ノードの仮想座標
の逸脱量すなわち迂回量を、全てのノード組について求
めた最大値よりなる。
In order to achieve the above object, a route search device of the present invention searches for a route in a given graph and outputs a minimum cost route connecting two given nodes. In the apparatus, virtual coordinate storage means for storing virtual coordinate values of the nodes, graph structure storage means for storing a network structure consisting of arcs connecting the nodes, and sequentially reading the graph structure from the graph structure storage means, A search range storage means for storing a search target range as an intermediate state of the search process; and a search range from the given start point node to the destination point node while sequentially reading and writing the search range to the search range storage means. and route searching means for searching a route with the shortest cost, a first threshold value storing means for storing the detour of the threshold, the virtual coordinate Symbol Stored in unit, the virtual coordinates of the starting point node, the area defined by the virtual coordinate of the destination point node, stored in the first threshold value storage means,
The route via the node with virtual coordinates to deviate more bypass amount of the threshold, and a search range restriction unit to be deleted from the search range storing means, the first threshold value memory
The detour amount threshold stored in the means is
An area defined by the virtual coordinates and the virtual coordinates of the destination node
Virtual coordinates of all nodes included in the shortest cost route from
Of each node group
From the maximum value obtained.

【0028】また、本発明は、与えられたグラフについ
て経路を探索し、与えられた2つのノードを結ぶ最小コ
スト経路を出力する経路探索装置において、ノードの仮
想座標値を記憶する仮想座標記憶手段と、ノードとノー
ド間を結ぶアークとからなるネットワーク構造を記憶す
るグラフ構造記憶手段と、前記グラフ構造記憶手段より
グラフ構造を逐次読み出して、探索の対象範囲を探索処
理の途中状態として記憶する探索範囲記憶手段と、前記
探索範囲記憶手段に対して探索範囲を逐次読み出し、書
き出しを行いながら、与えられた出発点ノードから到着
点ノードに至る最短コスト経路を探索する経路探索手段
と、後戻り量を記憶する第2のしきい値記憶手段と、前
記仮想座標記憶手段に記憶された、探索途中の注目ノー
ドの仮想座標と到達点ノードの仮想座標とから、注目ノ
ードと到達点ノードとの乖離距離を求める乖離距離算出
手段と、前記乖離距離算出手段で求めた、前記注目ノー
ドへ至った経路上での直前のノードの乖離距離と、注目
ノードの乖離距離との差が、前記第2のしきい値記憶手
段に記憶された、後戻り量のしきい値以上であるアーク
を経由する経路を、前記探索範囲記憶手段から削除する
探索範囲限定手段と、を備えたことを特徴とする。
Further, according to the present invention, there is provided a route searching apparatus for searching a given graph for a route and outputting a minimum cost route connecting the given two nodes, the virtual coordinate storage means for storing a virtual coordinate value of the node. And a graph structure storing means for storing a network structure composed of nodes and arcs connecting the nodes, and a search for sequentially reading the graph structure from the graph structure storing means and storing a search target range as an intermediate state of the search processing. A range storage means, a route search means for sequentially searching and writing out a search range to the search range storage means, and searching for a shortest cost route from a given departure point node to an arrival point node; Second threshold value storage means for storing the virtual coordinates of the node of interest stored in the virtual coordinate storage means during the search; A divergence distance calculating means for calculating a divergence distance between the target node and the destination node from the virtual coordinates of the point node, and a divergence of the immediately preceding node on the route to the target node obtained by the divergence distance calculation means A route that passes through an arc whose difference between the distance and the divergence distance of the node of interest is equal to or greater than the threshold value of the return amount stored in the second threshold storage unit is deleted from the search range storage unit. And a search range limiting means.

【0029】[0029]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明は、その好ましい実施の形態におい
て、与えられたグラフについて経路を探索し、与えられ
た2つのノードを結ぶ最小コスト経路を出力する経路探
索装置において、ノードの仮想座標値を記憶する仮想座
標記憶手段(図1の103)と、ノードとノードの間を
結ぶアークからなるネットワーク構造を記憶するグラフ
構造記憶手段(図1の101)と、グラフ構造記憶手段
(図1の101)よりグラフ構造を逐次読み出して、探
索の対象範囲を探索処理の途中状態として記憶する探索
範囲記憶手段(図1の102)と、探索範囲記憶手段
(図1の102)に対して探索範囲を逐次読み出し、書
き込みを行いながら、与えられた出発点ノードから到達
点ノードに至る最短コスト経路を探索する経路探索手段
(図1の106)と、迂回量を記憶する第1のしきい値
記憶手段(図1の105)と、仮想座標記憶手段(図1
の103)に記憶された、出発点ノードの仮想座標と、
到達点ノードの仮想座標とで画定される領域を、第1の
しきい値記憶手段に記憶された、迂回量のしきい値以上
に逸脱する仮想座標をもつノードを経由する経路を、探
索範囲記憶手段(図1の102)から削除する探索範囲
限定手段(図1の107)と、を備えて構成されてい
る。
Embodiments of the present invention will be described below. According to a preferred embodiment of the present invention, in a route search device that searches a given graph for a route and outputs a minimum cost route connecting the given two nodes, a virtual coordinate storing a virtual coordinate value of the node is provided. A storage unit (103 in FIG. 1), a graph structure storage unit (101 in FIG. 1) for storing a network structure composed of arcs connecting nodes, and a graph structure storage unit (101 in FIG. 1). Are sequentially read, and a search range is sequentially read and written to a search range storage means (102 in FIG. 1) and a search range storage means (102 in FIG. 1) for storing a search target range as an intermediate state of the search processing. While searching, finds the shortest cost route from the given departure point node to the destination point node (106 in FIG. 1), and records the detour amount. A first threshold value storing means for (105 in FIG. 1), the virtual coordinate storage unit (Fig. 1
103), the virtual coordinates of the starting point node,
The area defined by the virtual coordinates of the destination node is defined as a search range along a route passing through a node having virtual coordinates deviating from the threshold value of the detour amount or more stored in the first threshold value storage means. Search range limiting means (107 in FIG. 1) for deleting from the storage means (102 in FIG. 1).

【0030】本発明の実施の形態においては、各ノード
間の最小経路コストを求め、それを相違度として多変量
解析(数値化4類)にて各ノードの仮想座標を求める。
再度全対問題を解く過程で、仮想座標上での出発点と到
達点との領域を迂回する最大量と、経路中の各アークの
うち、到達点と逆方向に進む、後戻り量の最大量を求め
る。求めた、迂回量と後戻り量をしきい値として記憶
し、最小コスト経路探索を行う際に探索範囲を限定す
る。
In the embodiment of the present invention, the minimum route cost between each node is obtained, and the virtual coordinates of each node are obtained by multivariate analysis (fourth digitization) using the minimum cost as the difference.
In the process of solving the all-pair problem again, the maximum amount of detour around the area between the start point and the arrival point on the virtual coordinates, and the maximum amount of backward movement of each arc in the path that goes in the opposite direction to the arrival point Ask for. The obtained detour amount and return amount are stored as threshold values, and the search range is limited when performing the minimum cost route search.

【0031】[0031]

【実施例】上記した本発明の実施の形態について更に詳
細に説明すべく、本発明の実施例を図面を参照して以下
に説明する。図1は、本発明の一実施例をなす経路探索
装置の構成をブロック図にて示したものである。図1を
参照すると、本実施例の経路探索装置は、半導体メモリ
や磁気メモリなどからなるグラフ構造記憶手段101
と、探索範囲記憶手段102と、仮想座標記憶手段10
3と、迂回量を記憶する第1のしきい値記憶手段104
と、後戻り量を記憶する第2のしきい値記憶手段105
と、CPU上のプログラム制御等で実現される経路探索
手段106と、探索範囲限定手段107と、を備えて構
成されている。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention; FIG. 1 is a block diagram showing a configuration of a route search device according to an embodiment of the present invention. Referring to FIG. 1, a path search device according to the present embodiment includes a graph structure storage unit 101 composed of a semiconductor memory, a magnetic memory, or the like.
, Search range storage means 102, virtual coordinate storage means 10
3 and first threshold value storage means 104 for storing the bypass amount
And second threshold value storage means 105 for storing the return amount
And a route search means 106 realized by program control or the like on the CPU, and a search range limiting means 107.

【0032】グラフ構造記憶手段101は、予め与えら
れたグラフ構造を記憶する。
The graph structure storage means 101 stores a given graph structure.

【0033】探索範囲記憶手段102は、探索の途中結
果として出発点ノードから最短経路の判明したノード群
に隣接するノードを、出発点ノードからそのノードへ至
る現在判明している最小コストの経路のコストとともに
記憶する。
The search range storage means 102 determines, as a result of the search, a node adjacent to the group of nodes from which the shortest path has been found from the starting point node, to a path of the currently known minimum cost path from the starting point node to that node. Remember with cost.

【0034】そして、経路探索手段106の要求にした
がって、グラフ構造記憶手段101から逐次探索対象の
グラフ構造を読み出す。また、探索範囲限定手段107
の要求にしたがって、探索対象ノードの除外をする。
Then, in accordance with a request from the route search means 106, the graph structure to be searched is sequentially read from the graph structure storage means 101. In addition, search range limiting means 107
According to the request, the search target node is excluded.

【0035】なお、コストが最小のノードとコストの組
を高速に選択するために、通常ヒープ構造などが用いら
れる。
Incidentally, a heap structure or the like is usually used to quickly select a set of a node and a cost having the minimum cost.

【0036】仮想座標記憶手段103は、グラフ構造記
憶手段101の各ノードに対応する仮想座標を記憶す
る。
The virtual coordinate storage means 103 stores virtual coordinates corresponding to each node of the graph structure storage means 101.

【0037】第1のしきい値記憶手段104は、予め求
めた最大迂回量を記憶する。
The first threshold value storage means 104 stores the maximum bypass amount obtained in advance.

【0038】第2のしきい値記憶手段105は、予め求
めた最大後戻り量を記憶する。
The second threshold value storage means 105 stores the maximum return amount obtained in advance.

【0039】経路探索手段106は、出発点ノードから
隣接する領域を探索範囲として探索範囲記憶手段102
に記憶させ、逐次探索範囲を広げながら探索範囲内のノ
ードに対して探索を行い、到達点ノードへの最小コスト
経路を探索する。
The route search means 106 sets the area adjacent to the departure point node as a search range as the search range storage means 102
The search is performed on the nodes within the search range while sequentially expanding the search range, and the minimum cost route to the destination node is searched.

【0040】探索範囲限定手段107は、探索範囲記憶
手段102に記憶されている各ノードに対して、対応す
る仮想座標値を仮想座標記憶手段103から読み出し、
迂回量と後戻り量を算出し、第1のしきい値記憶手段1
04より読み出した迂回量(しきい値)と比較し、この
しきい値以上に迂回している場合に、探索範囲記憶手段
102から当該ノードを削除し、第2のしきい値記憶手
段105より読み出した後戻り量(しきい値)と比較
し、このしきい値以上に後戻りしている場合には、探索
範囲記憶手段102から当該ノードを削除する。
The search range limiting means 107 reads the corresponding virtual coordinate value from the virtual coordinate storage means 103 for each node stored in the search range storage means 102,
The amount of detour and the amount of return are calculated, and the first threshold value storing means 1
In comparison with the detour amount (threshold value) read from step S04, if the detour exceeds the threshold value, the node is deleted from the search range storage means 102 and the second threshold value storage means 105 The read-back amount (threshold) is compared with the read-back amount, and if the value has returned beyond this threshold, the node is deleted from the search range storage unit 102.

【0041】本発明の一実施例の経路探索装置の動作に
ついて説明する。
The operation of the route search device according to one embodiment of the present invention will be described.

【0042】図2は、経路探索手段106と、探索範囲
限定手段107の動作を示すフローチャートである。こ
の実施例では、経路探索手段106には、ダイクストラ
(Dijkstra)のアルゴリズムを用いている。
FIG. 2 is a flowchart showing the operation of the route searching means 106 and the search range limiting means 107. In this embodiment, a Dijkstra algorithm is used for the route search means 106.

【0043】図2において、ステップ201、ステップ
205、ステップ207、ステップ208が探索範囲限
定手段107で実行され、ステップ202〜204、ス
テップ206、ステップ209、ステップ210が、経
路探索手段106で実行される。
In FIG. 2, steps 201, 205, 207, and 208 are executed by the search range limiting means 107, and steps 202 to 204, steps 206, 209, and 210 are executed by the route searching means 106. You.

【0044】探索範囲限定手段107が、第1のしきい
値記憶手段104から迂回量のしきい値を読み出す。そ
して、出発点座標と到達点座標とに囲まれる領域に対し
て、迂回量のしきい値分だけ広い領域を探索範囲Pとす
る(ステップ201)。
The search range limiting means 107 reads out the threshold value of the bypass amount from the first threshold value storage means 104. Then, an area wider than the area surrounded by the start point coordinates and the arrival point coordinates by the threshold value of the detour amount is set as the search range P (step 201).

【0045】次に、経路探索手段106が、探索範囲記
憶手段102に、出発点ノードと、それに対応するコス
トとして「0」を記憶させる(ステップ202)。
Next, the route search means 106 causes the search range storage means 102 to store "0" as the starting point node and the cost corresponding thereto (step 202).

【0046】次に、経路探索手段106が、探索範囲記
憶手段102に記憶された、ノードとコストの組のう
ち、コストが最小の組を読み出す(ステップ203)。
Next, the route search means 106 reads out the set having the lowest cost from the set of nodes and costs stored in the search range storage means 102 (step 203).

【0047】次に、上記ステップ203で選択したノー
ドvが到達点か否かを判定する(ステップ204)。到
達点の場合は、出発点から到達点への最短経路が求まっ
たので、結果を出力して終了する。到達点で無い場合
は、ステップ205に進む。
Next, it is determined whether or not the node v selected in step 203 is a destination (step 204). In the case of the arrival point, since the shortest path from the starting point to the arrival point has been obtained, the result is output and the processing is terminated. If not, the process proceeds to step 205.

【0048】次に、上記ステップ203で選択したノー
ドvの座標と、到達点座標との差から目的地乖離距離L
を求める。さらに第2のしきい値記憶手段105から後
戻りのしきい値を読み出し、目的地乖離距離Lと加算
し、解Rを得る(ステップ205)。
Next, based on the difference between the coordinates of the node v selected in step 203 and the coordinates of the destination, the destination deviation distance L
Ask for. Further, a backward threshold value is read from the second threshold value storage means 105 and added to the destination deviation distance L to obtain a solution R (step 205).

【0049】次に、上記ステップ203で選択したノー
ドvに隣接する全てのノードの集合Aを求め、探索範囲
記憶手段102に記憶する(ステップ206)。
Next, a set A of all nodes adjacent to the node v selected in the above step 203 is obtained and stored in the search range storage means 102 (step 206).

【0050】次に、上記ステップ206で求めたノード
の集合Aのうち、ステップ201で求めた探索範囲Pに
含まれるノード集合A′を求め、含まれないノード集合
を、探索範囲記憶手段102から削除する(ステップ2
07)。
Next, a node set A ′ included in the search range P obtained in step 201 is obtained from the node set A obtained in step 206, and a node set not included in the search range P is obtained from the search range storage means 102. Delete (Step 2
07).

【0051】次に、上記ステップ207で求めたノード
集合A′の各ノードの座標と、到達点座標との差から目
的地乖離距離をそれぞれ求め、ステップ205で求めた
Rと比較する。比較した結果R以下のノード集合A″を
求め、Rより大きいノード集合を探索範囲記憶手段10
2から削除する(ステップ208)。
Next, the destination departure distance is obtained from the difference between the coordinates of each node of the node set A 'obtained in step 207 and the coordinates of the destination, and is compared with R obtained in step 205. As a result of the comparison, a node set A ″ equal to or smaller than R is obtained, and a node set larger than R is set as a search range storage unit
2 (step 208).

【0052】次に、ステップ208で求めたノード集合
A″の各ノードへ至る、ステップ203で選択したノー
ドvを経由するコストを求め、ステップ203で選択し
たノードvと組をなすコストに加算し、ノード集合A″
の各ノードのコストとする(ステップ209)。
Next, the cost to reach each node of the node set A ″ obtained in step 208 via the node v selected in step 203 is calculated, and added to the cost forming a pair with the node v selected in step 203. , Node set A ″
(Step 209).

【0053】最後に、ステップ209で求めたノード集
合A″に対応するコストを探索範囲記憶手段102に記
憶する(ステップ210)。もし、ノード集合A″に含
まれるノードについて、既に別のノードを経由するコス
トを求めているために探索範囲記憶手段102にコスト
が記憶されていた場合、より小さいコストを優先して記
憶する。そして、ステップ203に進む。
Finally, the cost corresponding to the node set A "obtained in step 209 is stored in the search range storage means 102 (step 210). If a node included in the node set A" is already replaced by another node, If a cost is stored in the search range storage unit 102 because the cost to go through is found, a smaller cost is stored with priority. Then, the process proceeds to step 203.

【0054】図3を参照して、グラフ構造の各ノードの
仮想空間へのマッピングについて説明する。図3(a)
はグラフ構造の一例を示し、ノード間のアークに付加さ
れた数字はコスト値を示している。また図3(b)は各
ノード間の時間コストを表として示したものである。ノ
ードの仮想空間座標と、正当な経路において生じる迂回
量と後戻り量をしきい値(第1、第2のしきい値記憶手
段に記憶される)とする探索の打ち切りについて簡単に
説明する。
Referring to FIG. 3, the mapping of each node of the graph structure to the virtual space will be described. FIG. 3 (a)
Shows an example of a graph structure, and a number added to an arc between nodes indicates a cost value. FIG. 3B is a table showing the time cost between the nodes. A brief description will be given of the discontinuation of the search in which the virtual space coordinates of the node, the amount of detour and the amount of backward movement occurring on a valid route are set as thresholds (stored in the first and second threshold storage units).

【0055】上記したように、電車や空路を含む交通網
では、各ノード点の経緯度から求まる直線距離と、実際
のコスト(到達時間など)には大きな開きがある。本実
施例では、各ノードを、実際の経路のコストを反映した
仮想空間(仮想座標)にマッピングする。
As described above, in a transportation network including trains and air routes, there is a large difference between the linear distance obtained from the longitude and latitude of each node point and the actual cost (such as arrival time). In this embodiment, each node is mapped to a virtual space (virtual coordinates) reflecting the cost of the actual route.

【0056】まず、実際に全てのノードの組み合せの経
路探索を行い、各ノード間のコストを算出する。求めた
各ノード間のコストをノード間の類似度として、多変量
解析(数値化4類)等を行うことにより、各ノードを任
意の次元の仮想空間にマッピングすることができる。
First, a route search is actually performed for all combinations of nodes, and the cost between each node is calculated. By performing multivariate analysis (4 types of numerical analysis) or the like using the obtained cost between the nodes as the similarity between the nodes, each node can be mapped to a virtual space of an arbitrary dimension.

【0057】例えば、図3に示すグラフ構造の各ノード
を、一次元空間にマッピングすると、A:(234)、
B:(125)、C:(144)、D:(191)、
E:(908)、F:(218)になる。
For example, when each node of the graph structure shown in FIG. 3 is mapped to a one-dimensional space, A: (234),
B: (125), C: (144), D: (191),
E: (908) and F: (218).

【0058】次に全てのノード対の最短経路において生
じる迂回量の増大値を求める。
Next, an increase in the amount of detour occurring in the shortest path of all node pairs is determined.

【0059】迂回量とは、途中ノードの仮想空間座標
(仮想座標)が、出発点ノードの仮想空間座標と目的地
ノードの仮想空間座標とでできる領域から逸脱する量を
いう。
The amount of detour refers to the amount by which the virtual space coordinates (virtual coordinates) of the intermediate node deviate from the area formed by the virtual space coordinates of the starting point node and the virtual space coordinates of the destination node.

【0060】例えば、図3に示した例の場合、A(23
4)→D(191)→F(218)とF(218)→D
(191)→A(234)の2つの経路で生じる迂回量
が共に最大で、領域[218 234]からのノードD
の座標(191)の逸脱量は|191−218|=27
である。
For example, in the case of the example shown in FIG.
4) → D (191) → F (218) and F (218) → D
(191) → A (234), the amount of detour generated in the two routes is the largest, and the node D from the area [218 234]
Of the coordinate (191) is | 191-218 | = 27
It is.

【0061】次に全てのノード対の最短経路において生
じる後戻り量の最大値を求める。
Next, the maximum value of the return amount generated in the shortest path of all the node pairs is obtained.

【0062】後戻り量とは、途中アークを進むことによ
って、前後のノードと目的地ノードの仮想空間との距離
が増加する量である。正確には、ノードiからノードj
へのアークの後戻り量とは、ノードiと目的地ノードの
仮想空間上の距離Riと、ノードjと目的地ノードの仮
想空間上の距離Rjとを用いると、Rj−Riのように定
義される。
The backward movement amount is an amount by which the distance between the preceding and succeeding nodes and the virtual space of the destination node increases as the arc progresses. More precisely, from node i to node j
The arc of turning back amount to the distance R i in the virtual space of the node i and the destination node, using the distance R j in the virtual space of the node j and the destination node, the R j -R i Is defined as

【0063】例えば、前述した例についてみると、F
(218)→D(191)→A(234)の経路で生じ
る後戻り量が最大で、距離RF=[218−234]=
16と、距離RD=|191−234|=43から求ま
り、ノードFからノードDのへのアークの後戻り量はR
D−RF=43−16=27である。
For example, in the example described above, F
The return amount generated in the route of (218) → D (191) → A (234) is the largest, and the distance R F = [218-234] =
16 and the distance R D = | 191-234 | = 43, and the return amount of the arc from the node F to the node D is R
D- R F = 43-16 = 27.

【0064】以上のようにして、各ノードの仮想座標
と、迂回量の最大値と、後量の最大値を求める。
As described above, the virtual coordinates of each node, the maximum value of the detour amount, and the maximum value of the post amount are obtained.

【0065】上記した本実施例においては、与えられた
出発点ノードの仮想座標と、到達点ノードの仮想座標と
で定まる領域を、迂回量のしきい値以上に逸脱する仮想
座標をもつノードを経由する経路を、探索範囲記憶手段
から削除して探索範囲を限定するようにしたものであ
り、追加データとして仮想座標を用いるだけなので、少
量の追加データでグラフ構造の最小コスト経路探索の探
索範囲限定を行うことができる。
In the above-described embodiment, the area defined by the virtual coordinates of the given starting point node and the virtual coordinates of the destination point node is changed to a node having virtual coordinates deviating by more than the threshold value of the detour amount. The route that passes is deleted from the search range storage means to limit the search range. Since only the virtual coordinates are used as additional data, the search range of the minimum cost route search of the graph structure with a small amount of additional data is used. Limitations can be made.

【0066】[0066]

【発明の効果】以上説明したように、本発明によれば、
追加データとして仮想座標を用いるだけなので、少量の
追加データでグラフ構造の最小コスト経路探索の探索範
囲限定を行うことができるという効果を奏する。
As described above, according to the present invention,
Since only the virtual coordinates are used as the additional data, there is an effect that the search range of the minimum cost route search of the graph structure can be limited with a small amount of additional data.

【0067】また本発明によれば、後戻り経路を含む不
用な経路を探索範囲から有効に除去できるため、高速化
を図ることができる、という効果を奏する。
Further, according to the present invention, an unnecessary route including a return route can be effectively removed from the search range, so that the speed can be increased.

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

【図1】本発明の一実施例の経路探索装置の構成を示す
ブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a route search device according to an embodiment of the present invention.

【図2】本発明の一実施例の経路探索装置の動作を説明
するためのフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the route search device according to one embodiment of the present invention.

【図3】本発明の一実施例を説明するための図であり、
仮想座標の設定例を示す説明図である。
FIG. 3 is a diagram for explaining one embodiment of the present invention;
FIG. 9 is an explanatory diagram illustrating an example of setting virtual coordinates.

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

101 グラフ構造記憶手段 102 探索範囲記憶手段 103 仮想座標記憶手段 104 第1のしきい値記憶手段 105 第2のしきい値記憶手段 106 経路探索手段 107 探索範囲限定手段 Reference Signs List 101 Graph structure storage means 102 Search range storage means 103 Virtual coordinate storage means 104 First threshold storage means 105 Second threshold storage means 106 Route search means 107 Search range limitation means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01C 21/00 G06F 17/00 G06F 17/30 G06F 17/50 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continued on the front page (58) Fields investigated (Int. Cl. 7 , DB name) G01C 21/00 G06F 17/00 G06F 17/30 G06F 17/50 JICST file (JOIS)

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】与えられたグラフについて経路を探索し、
与えられた2つのノードを結ぶ最小コスト経路を出力す
る経路探索装置において、 ノードの仮想座標値を記憶する仮想座標記憶手段と、 ノードとノード間を結ぶアークからなるネットワーク構
造を記憶するグラフ構造記憶手段と、 前記グラフ構造記憶手段よりグラフ構造を逐次読み出し
て、探索の対象範囲を探索処理の途中状態として記憶す
る探索範囲記憶手段と、 前記探索範囲記憶手段に対して探索範囲を逐次読み出
し、書き出しを行いながら、与えられた出発点ノードか
ら到達点ノードに至る最短コスト経路を探索する経路探
索手段と、 迂回量のしきい値を記憶する第1のしきい値記憶手段
と、 前記仮想座標記憶手段に記憶された、出発点ノードの仮
想座標と、到達点ノードの仮想座標とで定まる領域を、
前記第1のしきい値記憶手段に記憶された、迂回量のし
きい値以上に逸脱する仮想座標を持つノードを経由する
経路を、前記探索範囲記憶手段から削除する探索範囲限
定手段と、 を備え 前記第1のしきい値記憶手段に記憶された迂回量のしき
い値が、出発点ノードの仮想座標と到達点ノードの仮想
座標とで画定される領域からの、最短コスト経路に含ま
れる全ノードの仮想座標の逸脱量すなわち迂回量を、全
てのノード組について求めた最大値である、 ことを特徴
とする経路探索装置。
1. Searching a path for a given graph,
In a route search device that outputs a minimum cost route connecting two given nodes, virtual coordinate storage means for storing virtual coordinate values of nodes, and graph structure storage for storing a network structure consisting of arcs connecting the nodes. Means, a search range storage means for sequentially reading a graph structure from the graph structure storage means, and storing a search target range as an intermediate state of a search process; and sequentially reading and writing a search range to the search range storage means. While searching for the shortest cost route from a given departure point node to a destination point node; first threshold value storage means for storing a threshold value of the amount of detour; A region defined by the virtual coordinates of the starting point node and the virtual coordinates of the destination point node stored in the means,
A search range limiting unit that deletes, from the search range storage unit, a route that passes through a node having virtual coordinates that deviates by more than the threshold value of the detour amount stored in the first threshold storage unit; comprising, threshold detour amount stored in the first threshold value storage means
Are the virtual coordinates of the starting point node and the virtual coordinates of the destination node.
Included in the shortest cost path from the area defined by the coordinates
Of the virtual coordinates of all nodes
A route search device , which is a maximum value obtained for all node sets .
【請求項2】与えられたグラフについて経路を探索し、
与えられた2つのノードを結ぶ最小コスト経路を出力す
る経路探索装置において、 ノードの仮想座標値を記憶する仮想座標記憶手段と、 ノードとノード間を結ぶアークとからなるネットワーク
構造を記憶するグラフ構造記憶手段と、 前記グラフ構造記憶手段よりグラフ構造を逐次読み出し
て、探索の対象範囲を探索処理の途中状態として記憶す
る探索範囲記憶手段と、 前記探索範囲記憶手段に対して探索範囲を逐次読み出
し、書き出しを行いながら、与えられた出発点ノードか
ら到着点ノードに至る最短コスト経路を探索する経路探
索手段と、 後戻り量を記憶する第2のしきい値記憶手段と、 前記仮想座標記憶手段に記憶された、探索途中の注目ノ
ードの仮想座標と到達点ノードの仮想座標とから、注目
ノードと到達点ノードとの乖離距離を求める乖離距離算
出手段と、 前記乖離距離算出手段で求めた、前記注目ノードへ至っ
た経路上での直前のノードの乖離距離と、注目ノードの
乖離距離との差が、前記第2のしきい値記憶手段に記憶
された、後戻り量のしきい値以上であるアークを経由す
る経路を、前記探索範囲記憶手段から削除する探索範囲
限定手段と、 を備えたことを特徴とする経路探索装置。
2. Searching a path for a given graph,
A route search device for outputting a minimum cost route connecting two given nodes, wherein a virtual coordinate storage means for storing virtual coordinate values of the nodes, and a graph structure for storing a network structure comprising an arc connecting the nodes. A storage unit, a search range storage unit that sequentially reads a graph structure from the graph structure storage unit, and stores a search target range as an intermediate state of a search process, and sequentially reads a search range from the search range storage unit. Route search means for searching for the shortest cost route from a given departure point node to an arrival point node while writing out, a second threshold value storage means for storing a return amount, and storage in the virtual coordinate storage means From the virtual coordinates of the target node in the middle of the search and the virtual coordinates of the destination node, the distance between the target node and the destination node is calculated. The difference between the divergence distance of the immediately preceding node on the route to the node of interest and the divergence distance of the node of interest, obtained by the divergence distance calculation unit for calculating A search range limiting unit that deletes, from the search range storage unit, a route that passes through an arc that is equal to or more than the threshold value of the return amount stored in the threshold storage unit. .
【請求項3】前記第2のしきい値記憶手段に記憶された
後戻り量のしきい値が、最短コスト経路に含まれる全ノ
ードの到達点との乖離距離と、経路上の直前のノードと
到達点との乖離距離との2つの乖離距離の差すなわち後
戻り量を、全てのノード組について求めた最大値であ
る、ことを特徴とする請求項2記載の経路探索装置。
3. A threshold value of a return amount stored in said second threshold value storage means, wherein a threshold value of a divergence distance between all nodes included in the shortest cost route and a node immediately before on the route. 3. The route search device according to claim 2, wherein the difference between the two divergence distances from the arrival point, that is, the return amount, is the maximum value obtained for all node sets.
【請求項4】前記仮想座標記憶手段に記憶された仮想座
標が、全てのノード間の最小コスト経路のコストを、当
該ノード間の相違度として、数値化4類の多変量解析に
よる数値化を行った座標値である、ことを特徴とする請
求項1乃至3のいずれか一に記載の経路探索装置。
4. The virtual coordinates stored in the virtual coordinate storage means are converted into numerical values by multivariate analysis of numerical class 4 using the cost of the minimum cost path between all nodes as the degree of difference between the nodes. The route search device according to any one of claims 1 to 3 , wherein the coordinate value is a coordinate value obtained.
【請求項5】コンピュータで経路探索を行う装置におい
て、ノードの仮想座標値を記憶する仮想座標記憶部と探索の対象範囲を探索処理の途中状態として記憶する探
索範囲記憶部と出発点ノードの仮想座標と到達点ノードの仮想座標とで
画定される領域からの、最短コスト経路に含まれる全ノ
ードの仮想座標の逸脱量すなわち迂回量を全て のノード
組について求めた最大値を、迂回量のしきい値として記
憶する第1のしきい値記憶部と、を備え、 (a)前記仮想座標記憶部に記憶された、与えられた出
発点ノードの仮想座標と到達点ノードの仮想座標とで定
まる領域を、前記第1のしきい値記憶部に記憶された迂
回量のしきい値以上に逸脱する、仮想座標を持つノード
を経由する経路を、前記探索範囲記憶部から削除する探
索範囲限定手段、及び、 (b)前記探索範囲記憶部に対して探索範囲を逐次読み
出し及び書き込みを行いながら、前記与えられた出発点
ノードから到達点ノードに至る最短コスト経路を探索す
る経路探索手段、 の上記(a)及び(b)の各手段を前記コンピュータで
機能させることにより、与えられたグラフについて経路
を探索し、与えられた2つのノードを結ぶ最小コスト経
路を求める、プログラムを記録した記録媒体。
5. An apparatus for performing a route search by a computer.
A virtual coordinate storage unit for storing virtual coordinate values of the nodes, and a search for storing a search target range as an intermediate state of the search processing.
The search range storage unit stores the virtual coordinates of the starting point node and the virtual coordinates of the destination point node.
All nodes in the shortest cost path from the defined area
The amount of deviation of the virtual coordinates of the node, that is, the amount of detour
The maximum value obtained for the pair is recorded as the threshold value for the bypass amount.
A first threshold value storage unit for憶comprises, a region defined by (a) and the virtual coordinate storage unit stored in the virtual coordinates of a given starting point node and the virtual coordinates of the destination point node, deviates more than the first storage detour amount threshold storage unit threshold, the route via the node with virtual coordinates, the search range limiting means for deleting from the search range storing unit and, (b) the while sequentially reading and writing the search range for the search range storing unit, the route searching means for searching for a shortest cost path to reach point node from the given starting point node, the (a) and by functioning the respective means in the computer (b), and search for a route for a given graph, find the minimum cost path connecting two nodes given recording medium which records a program .
【請求項6】コンピュータで経路探索を行う装置におい
て、ノードの仮想座標値を記憶する仮想座標記憶部と探索の対象範囲を探索処理の途中状態として記憶する探
索範囲記憶部と後戻り量のしきい値を記憶する第2のしきい値記憶部
と、を備え、 (a)前記仮想座標記憶部に記憶された、探索途中の注
目ノードの仮想座標と、与えられた到達点ノードの仮想
座標とから、前記注目ノードと前記到達点ノードとの乖
離距離を求める乖離距離算出手段、 (b)前記乖離距離算出手段で求めた、前記注目ノード
へ至った経路上での直前のノードの乖離距離と、前記注
目ノードの乖離距離との差が、前記第2のしきい値記憶
部に記憶された後戻り量のしきい値以上であるアークを
経由する経路を、前記探索範囲記憶部から削除する探索
範囲限定手段、及び、 (c)前記探索範囲記憶部に対して探索範囲を逐次読み
出し及び書き込みを行いながら、前記与えられた出発点
ノードから到達点ノードに至る最短コスト経路を探索す
る経路探索手段、 の上記(a)乃至(c)の各手段を前記コンピュータで
機能させることにより、与えられたグラフについて経路
を探索し、与えられた2つのノードを結ぶ最小コスト経
路を求める、プログラムを記録した記録媒体。
6. An apparatus for performing a route search by a computer.
A virtual coordinate storage unit for storing virtual coordinate values of the nodes, and a search for storing a search target range as an intermediate state of the search processing.
Search range storage unit, and second threshold storage unit for storing a threshold value of the return amount
When provided with a, stored in (a) the virtual coordinate storage unit, and the virtual coordinates of the search middle node of interest, and a virtual coordinate of a given goal node, with the goal node and the node of interest Divergence distance calculation means for calculating a divergence distance, (b) a difference between the divergence distance of the immediately preceding node on the route to the target node and the divergence distance of the target node, obtained by the divergence distance calculation means, the second of stored backtracking amount threshold storage unit path through arc is greater than or equal to the threshold, search range restriction unit to be deleted from the search range storing unit, and, (c) said search range while sequentially reads and writes the search range to the storage unit, each of the route search means for searching for a shortest cost path to reach point node from the given starting point node, the (a) to (c) Before the means By function in serial computer, search for a route for a given graph, find the minimum cost path connecting two nodes given recording medium recording a program.
【請求項7】与えられたグラフについて経路を探索し、
与えられた2つのノードを結ぶ最小コスト経路を出力す
る経路探索方法において、 各ノード間の最小経路コストを求め、これを相違度とし
て各ノードの仮想座標を求め、再度、全対問題を解く過
程で、仮想座標上での出発点と到達点との領域を迂回す
る最大量と、経路中の各アークのうち、到達点と逆方向
に進む、後戻り量の最大量を求め、求めた、前記迂回量
と前記後戻り量をしきい値として記憶しておき、最小コ
スト経路探索を行う際に、その探索範囲を限定する、こ
とを特徴とする経路探索方法。
7. Searching a path for a given graph,
In a route search method for outputting a minimum cost route connecting two given nodes, a process of obtaining a minimum route cost between each node, obtaining a virtual coordinate of each node by using this as a degree of difference, and solving the all-pair problem again In, the maximum amount detouring around the area between the starting point and the arrival point on the virtual coordinates, and, among the arcs in the route, the maximum amount of the backward movement, which proceeds in the opposite direction to the arrival point, was obtained and obtained. A route search method, wherein the amount of detour and the amount of return are stored as threshold values, and a search range is limited when a minimum cost route search is performed.
【請求項8】出発点ノードの仮想座標と、到達点ノード
の仮想座標とで定まる領域を、記憶された迂回量のしき
い値以上に逸脱する仮想座標をもつノードを経由する経
路を、探索の対象範囲から削除する、ことを特徴とする
請求項記載の経路探索方法。
8. An area defined by the virtual coordinates of the starting point node and the virtual coordinates of the destination node is searched for a route passing through a node having virtual coordinates that deviate from the threshold value of the stored detour amount or more. The route search method according to claim 7 , wherein the route is deleted from the target range.
【請求項9】探索途中の注目ノードの仮想座標と、与え
られた到達点ノードの仮想座標とから、前記注目ノード
と前記到達点ノードとの乖離距離を求め、 前記注目ノードへ至った経路上での直前のノードの乖離
距離と、前記注目ノードの乖離距離との差が、記憶され
た後戻り量のしきい値以上であるアークを経由する経路
を、探索の対象範囲から削除する、ことを特徴とする請
求項記載の経路探索方法。
9. A divergence distance between the target node and the destination node is determined from virtual coordinates of the target node in the middle of the search and virtual coordinates of the given destination node. In the method, the difference between the divergence distance of the immediately preceding node and the divergence distance of the target node is equal to or greater than the threshold value of the stored return amount. The route search method according to claim 7, wherein:
JP18773397A 1997-06-27 1997-06-27 Route search apparatus and method Expired - Fee Related JP3036473B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18773397A JP3036473B2 (en) 1997-06-27 1997-06-27 Route search apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18773397A JP3036473B2 (en) 1997-06-27 1997-06-27 Route search apparatus and method

Publications (2)

Publication Number Publication Date
JPH1123303A JPH1123303A (en) 1999-01-29
JP3036473B2 true JP3036473B2 (en) 2000-04-24

Family

ID=16211244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18773397A Expired - Fee Related JP3036473B2 (en) 1997-06-27 1997-06-27 Route search apparatus and method

Country Status (1)

Country Link
JP (1) JP3036473B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5036573B2 (en) * 2008-01-22 2012-09-26 日本信号株式会社 Network generation device for total minimum cost route search, generation method, and route search device using this network
JP5271817B2 (en) * 2009-06-10 2013-08-21 日本電信電話株式会社 Route search method, apparatus and program
JP6129011B2 (en) * 2013-07-25 2017-05-17 日置電機株式会社 Inspection point setting device and substrate inspection device

Also Published As

Publication number Publication date
JPH1123303A (en) 1999-01-29

Similar Documents

Publication Publication Date Title
US6038509A (en) System for recalculating a path
US6016485A (en) System for pathfinding
KR960016255B1 (en) Route selection method and apparatus therefor
US7877203B2 (en) Map information processing apparatus and storage medium of map information
CN113341991A (en) Path optimization method based on dynamic window and redundant node filtering
JP5675838B2 (en) A method to simplify the description of travel routes
KR100270941B1 (en) Topology network data storage method and device
NL8702014A (en) ROUTE DETERMINATION UNIT.
US6885937B1 (en) Shortcut generator
JPH09184734A (en) Route selection method and system
CN113468293B (en) Top-k route query method of road network based on multi-keyword coverage
Guzolek et al. Real-time route planning in road networks
JP2002514805A (en) Method for manufacturing storage medium with map
He et al. Exploring public transport transfer opportunities for pareto search of multicriteria journeys
JP3036473B2 (en) Route search apparatus and method
CN115946742A (en) Method and device for automatically generating train monitoring system operation traffic data
KR0159922B1 (en) Bucket-oriented route planning method and navigation system comprising planner for carrying out such a method
KR102668821B1 (en) Turn-based optimal path search method and system
CN111444286A (en) A Long-distance Traffic Node Association Mining Method Based on Trajectory Data
JP3495220B2 (en) Least cost route search method and system
JPH1026535A (en) Optimum route searching method
CN113361788A (en) Path planning method for multi-type service demand under urban environment
Custers et al. Physically consistent map matching
JP2007171211A (en) Optimum path searching method
CN110968658B (en) Vector map preprocessing method for jump point search shortest path algorithm

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000125

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130225

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130225

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130225

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140225

Year of fee payment: 14

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees