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
JP3176009B2 - Route search device - Google Patents
[go: Go Back, main page]

JP3176009B2 - Route search device - Google Patents

Route search device

Info

Publication number
JP3176009B2
JP3176009B2 JP8437494A JP8437494A JP3176009B2 JP 3176009 B2 JP3176009 B2 JP 3176009B2 JP 8437494 A JP8437494 A JP 8437494A JP 8437494 A JP8437494 A JP 8437494A JP 3176009 B2 JP3176009 B2 JP 3176009B2
Authority
JP
Japan
Prior art keywords
route
time
line
station
point
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
JP8437494A
Other languages
Japanese (ja)
Other versions
JPH07294270A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP8437494A priority Critical patent/JP3176009B2/en
Publication of JPH07294270A publication Critical patent/JPH07294270A/en
Application granted granted Critical
Publication of JP3176009B2 publication Critical patent/JP3176009B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Instructional Devices (AREA)
  • Navigation (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Traffic Control Systems (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 device,
In particular, the present invention relates to an apparatus for searching for a route from a certain point to another certain point, including a transfer of a railway.

【0002】[0002]

【従来の技術】従来、ある地点から他のある地点までの
乗り継ぎ等を含めた経路の探索は、人手で判断すること
が多かったが、コンピュータで計算する方法としてはダ
イクストラ法が知られている。この方法は計算の対象と
なる経路を幾つも区切って、区切った点をノードとし、
ノードとノードとを含む経路をリンクとし、出発地点に
最も近いノードまたはリンクを始点とし、目的地点に最
も近いノードまたはリンクを終点とし、始点から終点に
至るリンクのツリーを想定し、ツリーを構成するすべて
の経路のリンクコストを順次加算して目的地点に到達す
る最もリンクコストの少ない経路のみを選択する方法で
ある。この方法で経路を計算すれば、出発地点から目的
地点に至る経路が存在する限り、確実に目的地点に到達
する。
2. Description of the Related Art Hitherto, the search for a route including a transit from a certain point to another certain point has often been made manually, but the Dijkstra method is known as a method of calculating with a computer. . In this method, the route to be calculated is divided into a number of parts, and the divided points become nodes,
A path including nodes and nodes is set as a link, a node or link closest to the starting point is set as a start point, a node or link closest to the destination is set as an end point, and a tree of links from the start point to the end point is assumed, and a tree is formed. This is a method of sequentially adding the link costs of all the routes to be performed and selecting only the route with the lowest link cost that reaches the destination. If the route is calculated in this way, as long as there is a route from the starting point to the destination, the vehicle will surely reach the destination.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
ようなダイクストラ法は、計算の対象となる領域にある
ノードの数やリンクの数に応じて計算時間が決まる。し
たがって、ノードの数やリンクの数が増えると爆発的に
計算時間が増加してしまうため、実用時間内で所望の経
路が求まらなくなる可能性があった。
However, in the above-described Dijkstra method, the calculation time is determined according to the number of nodes and the number of links in an area to be calculated. Therefore, when the number of nodes and the number of links increase, the calculation time explosively increases, and there is a possibility that a desired route cannot be obtained within a practical time.

【0004】この発明は上記のような課題を解決するた
めになされたもので、簡易な計算によって実用時間内で
所望の経路を求めることができる経路探索装置を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and has as its object to provide a route search device capable of finding a desired route within a practical time by a simple calculation.

【0005】[0005]

【課題を解決するための手段】請求項1の発明に係る経
路探索装置は、出発地点と目的地点との間の経路を探索
する経路探索装置であって、任意の地点を、その一つ以
上の最寄駅とその最寄駅の路線との対に対応付ける場所
情報を記憶する記憶手段と、記憶された場所情報に基づ
いて、出発地点を、出発地点の一つ以上の最寄駅とその
最寄駅の路線との対として要素を表わし、路線の数を次
元数とする第1のベクトルで表わす出発地点表示手段
と、記憶された場所情報に基づいて、目的地点を、目的
地点の一つ以上の最寄駅とその最寄駅の路線との対とし
て要素を表わし、路線の数を次元数とする第2のベクト
ルで表わす目的地点表示手段と、第1のベクトルと第2
のベクトルとの内積を求める内積手段とを備えたもので
ある。
Means for Solving the Problems] route search device according to the invention of claim 1 is a route search device for searching for a route between the departure point and the destination point, any point, one or more
Location to associate with the pair of the nearest station above and the line of the nearest station
Storage means for storing information; and
And the starting point is defined as one or more nearest stations
Express the element as a pair with the line of the nearest station.
A departure point is displayed based on the departure point display means represented by a first vector as an element number and the stored location information.
A pair of one or more nearest stations at a point and the line of the nearest station
Destination display means for representing an element by a second vector having the number of routes as the number of dimensions;
Inner product means for obtaining an inner product with the vector of

【0006】請求項の発明に係る経路探索装置は、出
発地点と目的地点との間の経路を探索する経路探索装置
であって、任意の地点を、その一つ以上の最寄駅とその
最寄駅の路線との対に対応付ける場所情報を記憶する記
憶手段と、記憶された場所情報に基づいて、出発地点
を、出発地点の一つ以上の最寄駅とその最寄駅の路線と
の対として要素を表わし、路線の数を次元数とする第1
のベクトルで表わす出発地点表示手段と、記憶された場
所情報に基づいて、目的地点を、目的地点の一つ以上の
最寄駅とその最寄駅の路線との対として要素を表わし、
路線の数を次元数とする第2のベクトルで表わす目的地
点表示手段と、ある路線と他の路線との乗換情報を、路
線の種類を行および列にそれぞれ対応付け、乗換可能な
駅の対を要素とする行列で表わす接続状況表示手段と、
第1のベクトルまたは第2のベクトルと、行列との乗算
を任意の回数行なう乗算手段と、乗算手段によって得ら
れた第3のベクトルと、第2のベクトルまたは第1のベ
クトルとの内積を求める内積手段とを備えたものであ
る。
[0006] route searching apparatus according to the invention of claim 3, a route search device for route searching the between the departure point and the destination point, the arbitrary point, the one or more nearest station THEREOF
A record that stores the location information associated with the pair with the line of the nearest station
Based on the storage means and the stored location information
With one or more nearest stations of departure and the routes of the nearest stations
Represents the element as a pair of
The starting point display means for representing a vector of the stored field
Based on the location information, the destination point can be
Express the element as a pair of the nearest station and the line of the nearest station,
Destination point display means represented by a second vector having the number of routes as the number of dimensions , and transfer information between a certain route and another route,
Line types can be assigned to rows and columns, and transfers can be made
Connection status display means represented by a matrix having station pairs as elements ,
Multiplying means for multiplying the first vector or the second vector by the matrix an arbitrary number of times; and calculating an inner product of the third vector obtained by the multiplying means and the second vector or the first vector And inner product means.

【0007】[0007]

【作用】請求項1の発明においては、出発地点を表わす
第1のベクトルと目的地点を表わす第2のベクトルとの
内積が求められる。
According to the first aspect of the present invention, an inner product of a first vector representing a starting point and a second vector representing a destination point is obtained.

【0008】請求項の発明においては、ある路線と他
の路線との乗換情報を表わした行列を第1または第2の
ベクトルに任意の回数乗算し、その乗算結果と第2また
は第1のベクトルとの内積が求められる。
[0008] In the invention of claim 3 , a certain route and another route
The first or second vector is multiplied an arbitrary number of times by a matrix representing the transfer information with the route of, and the inner product of the multiplication result and the second or first vector is obtained.

【0009】[0009]

【実施例】図1はこの発明の第1の実施例による経路探
索装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a route search apparatus according to a first embodiment of the present invention.

【0010】この実施例の経路探索装置は、鉄道の乗り
継ぎを探索する装置として示されている。ここで、「リ
ンク」は「路線」に、「ノード」は「駅」に対応する。
図を参照して、入力部101には(出発地点,目的地
点)というペアの情報が入力される。このペアの情報は
場所ノード対応付け部103に渡される。場所情報記憶
部102には任意の場所から一般によく利用される(路
線,駅)のペアの情報が記憶されている。なお、場所情
報記憶部102に記憶されていなくても、駅名自体や、
路線名と駅名とのペア自体によって地点を特定できる場
合にはその地点を出発地点や目的地点として設定でき
る。
The route search device of this embodiment is shown as a device for searching for a transit of a railway. Here, “link” corresponds to “route”, and “node” corresponds to “station”.
Referring to the figure, information of a pair (departure point, destination point) is input to input unit 101. The information of this pair is passed to the location node association unit 103. The location information storage unit 102 stores information on a pair of (route, station) that is commonly used from an arbitrary location. In addition, even if it is not stored in the location information storage unit 102, the station name itself,
If a point can be specified by a pair of a line name and a station name itself, the point can be set as a departure point or a destination point.

【0011】場所ノード対応付け部103は場所情報記
憶部102の情報を参照して出発地点や目的地点を(路
線,駅)のペアの情報に対応づける。具体的には路線の
数が次元数で、各列が路線に対応し、要素がその列に対
応する路線の駅名となっているベクトルで表わされる。
便宜上出発地点をベクトルで表わしたものをVS、目的
地点をベクトルで表わしたものをVDと呼ぶことにす
る。
The location node associating unit 103 refers to the information in the location information storage unit 102 and associates a departure point and a destination with information of a pair of (route, station). Specifically, the number of routes is the number of dimensions, each column corresponds to a route, and the element is represented by a vector in which the elements are the station names of the route corresponding to the column.
For convenience, the starting point represented by a vector is referred to as VS, and the destination point represented by a vector is referred to as VD.

【0012】たとえば、場所情報記憶部102に、海浜
幕張駅近辺にある「A社Bビル」という場所が(京葉
線,海浜幕張)や(京葉快速,海浜幕張)や(幕張本郷
D路線バス,D路線バスのA社前停留所)に対応づけら
れるとし、東京駅近辺にある「C書店」という場所が
(京葉線,東京)や(京葉快速,東京)や(山手線,東
京)に対応づけられているとする。また路線は京葉線、
京葉快速、幕張本郷D路線バス、山手線の4つとし、こ
の順番でベクトルの列に対応するとする。そして入力部
101から(出発地点,目的地点)として(A社Bビ
ル,C書店)が入力されると、出発地点に対応するベク
トルは、 VS=(京葉線の海浜幕張,京葉快速の海浜幕張,幕張
本郷D路線バスのA社前停留所,NULL) となり、目的地点に対応するベクトルは、 VD=(京葉線の東京,京葉快速の東京,NULL,山
手線の東京) となる。
For example, in the location information storage unit 102, locations such as "Company A B Building" near Kaihin Makuhari Station (Keiyo Line, Kaihin Makuhari), (Keiyo Rapid Service, Kaihin Makuhari) or (Makuhari Hongo D Route Bus, It is said that it can be associated with the D route bus in front of Company A), and the location called "C bookstore" near Tokyo Station is associated with (Keiyo Line, Tokyo), (Keiyo Rapid Service, Tokyo) and (Yamanote Line, Tokyo) It is assumed that The line is Keiyo Line,
It is assumed that there are four Keiyo Rapid Service, Makuhari Hongo D Route Bus, and Yamanote Line, which correspond to the vector columns in this order. When (A company B building, C bookstore) is input as (departure point, destination point) from the input unit 101, the vector corresponding to the departure point is VS = (Keiyo Line Kaihin Makuhari, Keiyo Rapid Kaihin Makuhari) , Makuhari Hongo D route bus stop in front of Company A, NULL), and the vector corresponding to the destination is VD = (Tokyo on Keiyo Line, Tokyo on Keiyo Rapid Service, NULL, Tokyo on Yamanote Line).

【0013】そしてこの2つのベクトルの内積をとると
乗換えなしの経路が得られる。ここで言う内積とは以下
のようなものであり、またここで言うNULLとは該当
する駅や路線がないことを意味する。
By taking the inner product of these two vectors, a path without transfer is obtained. The inner product here is as follows, and the NULL here means that there is no corresponding station or route.

【0014】すなわち、路線が3つあり、それぞれ路線
、路線、路線とする。 (a,b,c)と(d,e,f)の内積=a・dまたは
b・eまたはc・f となる。ここで右辺の意味として、 x・y=その要素に対応する路線を利用してxからyま
で行く経路 (ただし、x,yのどちらかまたは両方がNULLのと
きには、x・y=NULL)となる。結局、上記の内積
の結果の具体的な意味は、 (a,b,c)・(d,e,f)=路線を利用してa
からdまで行くか、路線を利用してbからeまで行く
か、路線を利用してcからfまで行くか、 の経路となる。
That is, there are three routes, each of which is a route, a route, and a route. The inner product of (a, b, c) and (d, e, f) = ad or be or cf. Here, the meaning of the right side is as follows: xy = route from x to y using the route corresponding to the element (however, if either or both of x and y are NULL, xy = NULL) Become. After all, the specific meaning of the result of the inner product is (a, b, c) · (d, e, f) = a
Or d from the route, from b to e using the route, or from c to f using the route.

【0015】先の例で言えば、 VS・VD=(京葉線の海浜幕張,京葉快速の海浜幕
張,幕張本郷D路線バスのA社前停留所,NULL)・
(京葉線の東京,京葉快速の東京,NULL,山手線の
東京)=京葉線で海浜幕張から東京まで行くか、京葉快
速で海浜幕張から東京まで行くか、の経路 が得られる。
In the above example, VS · VD = (Kaiyo Line Kaihin Makuhari, Keiyo Rapid Rapid Kaihin Makuhari, Makuhari Hongo D route bus stop in front of Company A, NULL)
(Tokyo on Keiyo Line, Tokyo on Keiyo Rapid Line, NULL, Tokyo on Yamanote Line) = You can get the route from Keihin Line from Kaihin Makuhari to Tokyo or Keiyo Rapid Line from Kaihin Makuhari to Tokyo.

【0016】乗換え情報を利用しない場合は乗換えをし
ないで到達できる経路しか得られないが、乗換え情報記
憶部104の情報を利用することで経路探索部105
で、乗換えを利用した経路を得ることができる。この処
理には、路線の数が次元数となり、各行各列が路線に対
応し、要素がその行の路線からその列の路線への乗換え
情報となっている行列を用いる。便宜上この行列をTで
表わすことにする。
When the transfer information is not used, only a route that can be reached without transfer is obtained. However, by using the information in the transfer information storage unit 104, the route search unit 105 is used.
Thus, a route using transfer can be obtained. In this processing, a matrix is used in which the number of routes is the number of dimensions, each row and each column corresponds to a route, and the elements are information on transfer from the route in the row to the route in the column. For convenience, this matrix is represented by T.

【0017】たとえば乗換え情報記憶部104に、「京
葉線の新浦安と京葉快速の新浦安とは乗換えることがで
きる」「京葉線の東京と京葉快速の東京とは乗換えるこ
とができる」「京葉線の東京と山手線の東京は乗換える
ことができる」「京葉快速の東京と山手線の東京は乗換
えることができる」という情報が記憶されているとする
と、乗換え行列は図2のように表わされることになる。
For example, in the transfer information storage unit 104, "You can transfer between Shin-Urayasu on Keiyo Line and Shin-Urayasu on Keiyo Rapid", "You can transfer between Tokyo on Keiyo Line and Tokyo on Keiyo Rapid", "Keiyo Line If the information "Tokyo on the Yamanote Line and Tokyo on the Yamanote Line can be changed" is stored, the transfer matrix is expressed as shown in FIG. Will be.

【0018】この場合、各行各列は左上から順に、京葉
線、京葉快速、幕張本郷D路線バス、山手線に対応して
いる。(X,Y)は、行に対応する路線のX駅から列に
対応する路線のY駅に乗換えることができることを示し
ている。NULLは、行に対応する路線から列に対応す
る路線へは直接には乗換えできないことを表わす。なお
()内に駅名を2つ記載するのは、路線によっては駅名
が異なる駅で乗換えることができるため、2つの駅名が
必要となるからである。
In this case, each row and each column correspond to the Keiyo Line, Keiyo Rapid Service, Makuhari Hongo D Route Bus, and Yamanote Line in order from the upper left. (X, Y) indicates that it is possible to transfer from the X station on the line corresponding to the row to the Y station on the line corresponding to the column. NULL indicates that it is not possible to transfer directly from a line corresponding to a row to a line corresponding to a column. The reason why two station names are described in parentheses is that, depending on the route, it is possible to transfer at a station having a different station name, so two station names are required.

【0019】経路探索部105ではVS、VD、Tを用
いて経路を探索するが、その方法を図3を参照して説明
する。図3はこの発明の第1の実施例による経路探索部
105の経路探索の具体的内容を示すフローチャートで
ある。
The route search unit 105 searches for a route using VS, VD, and T. The method will be described with reference to FIG. FIG. 3 is a flowchart showing specific contents of the route search by the route search unit 105 according to the first embodiment of the present invention.

【0020】まずステップS601で、出発地点をベク
トルで表わしたVS、目的地点をベクトルで表わしたV
D、乗換え情報を行列で表わしたTがそれぞれ設定され
る。次にステップS602で、ループカウンタiを0に
初期化する。ステップS603で、VSとVDとの内積
を求め、それを経路を格納する変数Aに代入する。次に
ステップS604、605、606で、AがNULLで
ある間、乗換え情報Tの値をVSに乗算していくと、V
Sからi回乗換えをして到達できる路線がVDで表わさ
れる路線まで到達できるか否かを調べる。
First, in step S601, the starting point is represented by a vector VS, and the destination point is represented by a vector Vs.
D and T representing transfer information in a matrix are set. Next, in step S602, a loop counter i is initialized to 0. In step S603, an inner product of VS and VD is obtained, and the obtained inner product is substituted into a variable A storing a route. Next, in steps S604, 605, and 606, while A is NULL, the value of the transfer information T is multiplied by VS.
It is checked whether or not the route that can be reached by changing from S for i times can reach the route represented by VD.

【0021】この部分をより詳しく説明する。まず、V
Sは最初は出発地点から乗換えなしで到達できる路線の
駅が代入されている。これにTを乗算した値を新たにV
Sに置換えると、このVSは出発地点から乗換えを1回
して到達できる路線に対応する列の要素として、出発地
点からその路線までの経路が格納される。この置換えは
VSやTの構成を考えれば明らかである。
This part will be described in more detail. First, V
In S, a station on a route that can be reached from the starting point without transfer is initially assigned. A value obtained by multiplying this by T is newly added to V
When replaced with S, this VS stores the route from the departure point to the route as an element of a column corresponding to the route that can be reached by one transfer from the departure point. This replacement is apparent when considering the configuration of VS and T.

【0022】たとえば、先に挙げた例で説明すると、 VS・T=((京葉快速の海浜幕張から新浦安で京葉線
に乗換え,京葉快速の海浜幕張から東京で京葉線に乗換
え),(京葉線の海浜幕張から新浦安で京葉快速に乗換
え,京葉線の海浜幕張から東京で京葉快速に乗換え),
NULL,(京葉線の海浜幕張から東京で山手線に乗換
え,京葉快速の海浜幕張から東京で山手線に乗換え))
となる。
For example, in the above-mentioned example, VS.T = ((Transfer from Keihin Expressway Kaihin Makuhari to Keiyo Line at Shin-Urayasu, change from Keiyo Rapid Kaikai Makuhari to Tokyo to Keiyo Line), (Keiyo Line Transfer to Keiyo Rapid at Shin-Urayasu from Kaihin Makuhari, and transfer to Keiyo Rapid at Tokyo from Kaihin Makuhari on Keiyo Line)
NULL, (Transfer from Kaihin Makuhari on Keiyo Line to Yamanote Line in Tokyo, and transfer from Kaihin Makuhari on Keiyo Rapid to Tokyo on Yamanote Line)
Becomes

【0023】これを新たにVSとして、VS・VDを計
算すれば乗換えを1回して目的地に到達できるならその
経路が、到達できないならNULLが得られる。経路が
得られなければNULLが得られているので、この場合
はさらにVS・Tの計算を行なって乗換えの回数を増や
して経路が得られるか否かを調べていく。しかし、乗換
えを全路線数の回数だけ行なっても経路が得られないの
なら、それ以上いくら乗換えを繰返しても経路は得られ
ないことは明らかであるので、計算を打ち切る(ステッ
プS604、607、608の部分)。一方、経路が得
られた場合、その最初に得られた経路は乗換え回数が最
少のものだけである。そこで、その後さらに1回以上V
S・Tの計算を行なう(S609)ことで、乗換え回数
が最少でない経路も得ることができる。経験的には路線
数の3倍の回数だけVS・Tの計算を行なえば実用上す
べての経路を得ることができる。したがって、計算時間
が十分とれる場合には、合計して全路線数の3倍の回数
だけTを乗算するようにすればいいし、最少の乗換え数
の経路だけが求まればよい場合は、ステップS609お
よび610のループは0回にしてしまえばよい。
If this is newly set as VS and VS · VD is calculated, the route can be obtained if the transfer can be made once and the destination can be reached, and if not, NULL can be obtained. If a route cannot be obtained, NULL has been obtained. In this case, VS · T is further calculated to increase the number of transfers and check whether a route can be obtained. However, if the route is not obtained even if the transfer is performed the number of times equal to the total number of routes, it is clear that the route cannot be obtained even if the transfer is repeated more than that. Therefore, the calculation is terminated (steps S604, 607, S604). 608). On the other hand, when a route is obtained, the first route obtained is the one with the least number of transfers. Therefore, after that, once more V
By calculating S · T (S609), it is possible to obtain a route with the least number of transfers. Empirically, all routes can be practically obtained by calculating VS · T three times the number of routes. Therefore, if the calculation time is sufficient, it is sufficient to multiply T by a total of three times the total number of routes. If only the route with the minimum number of transfers needs to be obtained, the step The loop of S609 and 610 may be reduced to zero.

【0024】このようにして、ベクトルVSは、出発地
点からそれまでの乗換え回数分だけTを右から乗算する
ことで、VSの各要素には、出発地点からその要素の路
線に到達するまでの経路が格納される。そこで、これに
VDを乗算することで出発地点から目的地点までの経路
が得られるのである。
In this manner, the vector VS is obtained by multiplying T from the right by the number of transfers from the start point to the number of transfers from the start point to each element of the VS from the start point to the route of the element from the start point. The route is stored. Therefore, by multiplying this by VD, a route from the starting point to the destination point can be obtained.

【0025】今までの経路計算過程において、求められ
た経路はすべてAに加算するようにしてあるので、ステ
ップS611でAには求められた全経路が格納されてい
ることになる。なお、VSにTを乗算したときに、同じ
駅での乗換えが連続して起こる経路が得られることがあ
るが、これは無意味な乗換えになるので、このような経
路は以後の経路探索の過程においては無視するようにし
た方が以後の計算の効率がよくなる。
In the route calculation process so far, all the obtained routes are added to A, so that all the obtained routes are stored in A in step S611. In addition, when VS is multiplied by T, a route in which transfer at the same station occurs continuously may be obtained. However, this is meaningless transfer, and such a route is used for subsequent route search. In the process, ignoring them in the process improves the efficiency of subsequent calculations.

【0026】図4はこの発明の第2の実施例による経路
探索装置の構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of a route search device according to a second embodiment of the present invention.

【0027】この実施例の経路探索装置も鉄道の乗り継
ぎを探索し、得られた経路の運賃や時間、出発時刻や到
着時刻が得られる。この場合「リンク」は「路線」に、
「ノード」は「駅」に対応する。
The route search device of this embodiment also searches for a transit of a railway and obtains the fare, time, departure time, and arrival time of the obtained route. In this case, "link" becomes "route"
“Node” corresponds to “station”.

【0028】入力部501には、運賃や所要時間だけを
求めたいのであれば、(出発地点,目的地点)というペ
アが入力され、出発時刻を求めたいのであれば(出発地
点,目的地点,到着時刻)が入力され、到着時刻を求め
たいのであれば(出発地点,目的地点,出発時刻)が入
力される。これらのデータは、場所ノード対応付け部5
03に渡される。場所情報記憶部502には、任意の場
所から一般によく利用される(路線,駅,その場所から
路線のその駅までの所要時間)が記憶されている。な
お、場所情報記憶部502に記憶されていなくても、駅
名自体や、路線名と駅名のペア自体によって地点を特定
できる場合にはその地点を出発地点や目的地点として設
定でき、この場合は、駅までの所要時間は0と設定され
る。
If only the fare and the required time are to be obtained, a pair of (departure point, destination point) is input to the input unit 501, and if the departure time is to be obtained, the (departure point, destination point, arrival time) ) Is input, and (departure point, destination point, departure time) is input if it is desired to obtain the arrival time. These data are stored in the location node associating unit 5
03 is passed. The location information storage unit 502 stores commonly used locations (routes, stations, and time required from the location to the station on the route) from an arbitrary location. Even if the location is not stored in the location information storage unit 502, if the location can be specified by the station name itself or the pair of the route name and the station name itself, the location can be set as a departure point or a destination point. In this case, The required time to the station is set to zero.

【0029】場所ノード対応付け部503は場所情報記
憶部502の情報を参照して出発地点や目的地点を(路
線,駅,所要時間)に対応づける。これは路線の数が次
元数となり、各列が路線に対応し、要素がその列に対応
する路線の駅名と所要時間になっているベクトルで表わ
される。便宜上出発地点をベクトルで表わしたものをV
S、目的地点をベクトルで表わしたものをVDと呼ぶこ
とにする。
The place node associating unit 503 refers to the information in the place information storage unit 502 and associates a departure point and a destination point with (route, station, required time). This is represented by a vector in which the number of lines is the number of dimensions, each column corresponds to a line, and the elements are the station name and the required time of the line corresponding to the line. For convenience, the starting point is represented by a vector V
S, a destination point represented by a vector is referred to as VD.

【0030】たとえば場所情報記憶部502に「A社B
ビル」という場所が(京葉線,海浜幕張,10分)や
(京葉快速,海浜幕張,10分)や(幕張本郷D路線バ
ス,D路線バスのA社前停留所,3分)に対応づけられ
ているとし、浜松町駅近辺にある「Eタワー」という場
所が(山手線,浜松町,15分)に対応づけられている
とする。また路線は京葉線,京葉快速,幕張本郷D路線
バス,山手線とし、この順番でベクトルの列に対応する
とする。そして入力部501から(出発地点,目的地
点)として(A社Bビル,Eタワー)が入力されると、
出発地点に対応するベクトルは、 VS=(京葉線の海浜幕張まで10分,京葉快速の海浜
幕張まで10分,幕張本郷D路線バスのA社前停留所ま
で3分,NULL) となり、目的地点に対応するベクトルは、 VD=(NULL,NULL,NULL,山手線の浜松
町まで15分) となる。
For example, the location information storage unit 502 stores “Company A B
"Building" is associated with (Keiyo Line, Kaihin Makuhari, 10 minutes), (Keiyo Rapid, Kaihin Makuhari, 10 minutes) and (Makuhari Hongo D route bus, D route bus stop in front of Company A, 3 minutes). It is assumed that a place called “E Tower” near Hamamatsucho Station is associated with (Yamanote Line, Hamamatsucho, 15 minutes). The routes are Keiyo Line, Keiyo Rapid Service, Makuhari Hongo D Route Bus, Yamanote Line, and correspond to the vector columns in this order. Then, when (A company B building, E tower) is input as the (departure point, destination point) from the input unit 501,
The vector corresponding to the departure point is VS = (10 minutes to Kaihin Makuhari on the Keiyo Line, 10 minutes to Kaihin Makuhari on the Keiyo Rapid Line, 3 minutes to the stop in front of Company A of Makuhari Hongo D route bus, NULL) The corresponding vector is VD = (NULL, NULL, NULL, 15 minutes to Hamamatsucho on the Yamanote Line).

【0031】この2つのベクトルの内積をとると乗換え
なしの経路が得られる。NULLや内積の定義は先の実
施例で説明したものと同様である。
By taking the inner product of these two vectors, a path without transfer is obtained. The definitions of NULL and inner product are the same as those described in the previous embodiment.

【0032】今の例で言えば、 VS・VD=(京葉線の海浜幕張まで10分,京葉快速
の海浜幕張まで10分,幕張本郷D路線バスのA社前停
留所まで3分,NULL)・(NULL,NULL,N
ULL,山手線の浜松町まで15分)=NULL となって、乗換えなしでは、「A社Bビル」から「Eタ
ワー」へ到達できないことがわかる。
In the present example, VS.VD = (10 minutes to Kaihin Makuhari on Keiyo Line, 10 minutes to Kaihin Makuhari on Keiyo Rapid, 3 minutes to stop in front of Company A of Makuhari Hongo D route bus, NULL). (NULL, NULL, N
UL, 15 minutes to Hamamatsucho on the Yamanote Line) = NULL, indicating that it is not possible to reach "E Tower" from "Company B Building" without transfer.

【0033】乗換えをして得られる経路に関しては先の
実施例でした説明と同様にして得られる(異なるのは乗
換え情報記憶部には乗換えに要する時間も記憶されてい
るという点だけである)。そこで、たとえば、乗換え情
報記憶部504に、「京葉線の新浦安と京葉快速の新浦
安とは1分で乗換えることができる」「京葉線の東京と
京葉快速の東京とは1分で乗換えることができる」「京
葉線の東京と山手線の東京は5分で乗換えることができ
る」「京葉快速の東京と山手線の東京は5分で乗換える
ことができる」という情報が記憶されているとすると、
乗換え行列Tは図5のように表わされることになる。
The route obtained by the transfer is obtained in the same manner as described in the previous embodiment (the only difference is that the time required for the transfer is stored in the transfer information storage unit). . Therefore, for example, in the transfer information storage unit 504, "It is possible to transfer between Shin-Urayasu on the Keiyo Line and Shin-Urayasu on the Keiyo Rapid in one minute" and "Transfer between Tokyo on the Keiyo Line and Tokyo on the Keiyo Rapid in one minute.""You can transfer between Tokyo on the Keiyo Line and Tokyo on the Yamanote Line in 5 minutes" and "You can transfer between Tokyo on the Keiyo Rapid Line and Tokyo on the Yamanote Line in 5 minutes." Then
The transfer matrix T is represented as shown in FIG.

【0034】各行各列が左上から順に、京葉線、京葉快
速、幕張本郷D路線バス、山手線に対応している。
(X,Y,n)は行に対応する路線のX駅から列に対応
する路線のY駅にn分で乗換えることができることを示
している。NULLは、行に対応する路線から列に対応
する路線へは直接には乗換えできないことを表わす。
Each row and column corresponds to the Keiyo Line, Keiyo Rapid Service, Makuhari Hongo D Route Bus, and Yamanote Line in order from the upper left.
(X, Y, n) indicates that it is possible to transfer from the X station on the line corresponding to the row to the Y station on the line corresponding to the column in n minutes. NULL indicates that it is not possible to transfer directly from a line corresponding to a row to a line corresponding to a column.

【0035】経路探索部505は先の実施例の経路探索
部105と同様にして経路を探索する。したがって、こ
の実施例による経路探索の例を図3のフローチャートに
沿ってその処理を説明する。
The route search unit 505 searches for a route in the same manner as the route search unit 105 of the previous embodiment. Therefore, an example of the route search according to this embodiment will be described with reference to the flowchart of FIG.

【0036】まず、ステップS601、602でVS,
VD,T,iの値がそれぞれセットされる。次に、ステ
ップS603で、A=VS・VD=NULLとなって、
AにはNULLがセットされる。AがNULLなので、
フローはステップS605に行き、VS=VS・Tを計
算する。この例では、 VS=VS・T=((京葉快速の海浜幕張まで10分で
行きそこから新浦安まで行き1分で京葉線に乗換える,
京葉快速海浜幕張まで10分で行きそこから東京まで行
き、5分で京葉線に乗換える),(京葉線海浜幕張まで
10分で行きそこから新浦安まで1分で京葉快速に乗換
える,京葉線海浜幕張まで10分で行きそこから東京ま
で行き5分で京葉快速に乗換える),NULL,(京葉
線海浜幕張まで10分で行きそこから東京まで行き5分
で山手線に乗換える,京葉快速海浜幕張まで10分で行
きそこから東京まで行き5分で山手線に乗換える)) となる。
First, in steps S601 and 602, VS,
The values of VD, T, and i are set, respectively. Next, in step S603, A = VS.VD = NULL, and
A is set to NULL. Since A is NULL,
The flow goes to step S605 to calculate VS = VS · T. In this example, VS = VS · T = (Go to Kaihin Makuhari of Keiyo Rapid in 10 minutes, then go to Shin-Urayasu and transfer to Keiyo Line in 1 minute,
Take the Keiyo Rapid Kaihin Makuhari in 10 minutes, then go to Tokyo and go to Tokyo in 5 minutes, transfer to the Keiyo Line in 10 minutes. Go to the Keiyo Line Kaihin Makuhari in 10 minutes and go there in 1 minute to Shin-Urayasu, transfer to Keiyo Rapid. 10 minutes to Kaihin Makuhari, then go to Tokyo and change to Keiyo Rapid in 5 minutes., NULL, (10 minutes to Keihin Line Kaihin Makuhari, then go to Tokyo and change to Yamanote Line in 5 minutes, Keiyo Rapid It takes 10 minutes to Kaihin Makuhari and from there it goes to Tokyo and transfers to Yamanote Line in 5 minutes)).

【0037】こうしてベクトルVSに、出発地点からそ
れまでの乗換え回数分だけTを右から乗算することで、
VSの各要素には、出発地点からその要素の路線に到達
するまでの経路が乗換えに要する時間等とともに格納さ
れる。そこで、これにVDを乗算することで出発地点か
ら目的地点までの経路が、乗換えに要する時間等ととも
に得られる。
By multiplying the vector VS from the right by the number of transfers from the departure point to the number of transfers from the starting point,
In each element of the VS, the route from the starting point to the route of the element is stored together with the time required for transfer. Therefore, by multiplying this by VD, a route from the starting point to the destination point can be obtained together with the time required for transfer.

【0038】たとえばこの新たなVSについてVDとの
内積を計算すれば、 VS・VD=京葉線海浜幕張まで10分で行き、そこか
ら東京まで行き、5分で山手線に乗換えて浜松町まで行
き、そこから15分かかる経路、または京葉快速海浜幕
張まで10分で行き、そこから東京まで行き、5分で山
手線に乗換えて浜松町まで行き、そこから15分かかる
経路 が得られる。
For example, if the inner product of this new VS and VD is calculated, VS · VD = Keiyo Line Kaihin Makuhari in 10 minutes, then to Tokyo, and in 5 minutes, transfer to Yamanote Line and go to Hamamatsucho From there, you can take a 15-minute route, or go to Keiyo Rapid Kaihin Makuhari in 10 minutes, then go to Tokyo, change to the Yamanote Line in 5 minutes, go to Hamamatsucho, and get a route that takes 15 minutes.

【0039】なお、VSにTを乗算したときに、同じ駅
での乗換えが連続して起こる経路が得られることがある
が、これは無意味な乗換えになるのでこのような経路は
削除するようにした方が以後の計算の効率がよくなる。
Note that when VS is multiplied by T, a route in which transfer at the same station occurs successively may be obtained. However, this is meaningless transfer, and such a route is deleted. The efficiency of the subsequent calculation is improved by setting to.

【0040】このようにして乗換えを1回して到達でき
る経路=VS・T・VD=京葉線の海浜幕張まで10分
で行き、そこから東京まで行き、5分で山手線に乗換え
て浜松町まで行き、そこから15分かかる経路か、京葉
快速の海浜幕張まで10分で行き、そこから東京まで行
き、5分で山手線に乗換えて浜松町まで行き、そこから
15分かかる経路 乗換えを2回して到達できる経路=VS・T・T・VD =京葉快速の海浜幕張まで10分で行き、そこから新浦
安まで行き、1分で京葉線に乗換えて東京まで行き、5
分で山手線に乗換えて浜松町まで行き、そこから15分
かかる経路か、京葉線の海浜幕張まで10分で行き、そ
こから新浦安まで行き、1分で京葉快速に乗換えて東京
まで行き、5分で山手線に乗換えて浜松町まで行き、そ
こから15分かかる経路 が求まる。この例では、乗換えを2回して到達できる経
路の探索において、VS・T・Tの計算時に東京駅で京
葉快速から京葉線に乗換え、さらに山手線に乗換える経
路が得られるが、これは無意味な乗換えを含む経路なの
で削除している。
In this way, the route which can be reached by one transfer = VS, T, VD = Keihin Makuhari on the Keiyo Line in 10 minutes, then go to Tokyo and transfer to Yamanote Line in 5 minutes to Hamamatsucho From there, take the route that takes 15 minutes, or take the Keiyo Rapid Rapid Kaihin Makuhari in 10 minutes, then go to Tokyo, change to the Yamanote line in 5 minutes, go to Hamamatsucho, and take the route that takes 15 minutes from there. Route = VS, TT, T, VD = Keiyo Rapid Express Kaihin Makuhari in 10 minutes, then go to Shin-Urayasu, transfer to Keiyo line in 1 minute, go to Tokyo, 5
Transfer to Yamanote Line in 1 minute and go to Hamamatsucho, then take 15 minutes from there, or go to Keihin Line Kaihin Makuhari in 10 minutes, then go to Shin-Urayasu, transfer to Keiyo Rapid in 1 minute and go to Tokyo, 5 minutes Change to the Yamanote line in 1 minute and go to Hamamatsucho, from which you can find a route that takes 15 minutes. In this example, when searching for a route that can be reached by making two transfers, a route that changes from the Keiyo Rapid Service to the Keiyo Line at the Tokyo Station and then transfers to the Yamanote Line at the time of calculating VS / TT is obtained. Since the route includes a meaningful transfer, it has been deleted.

【0041】このようにして経路が得られたら、この経
路の情報は時刻計算部507,時間計算部509および
運賃計算部511に渡される。
When the route is obtained in this manner, the information on the route is passed to the time calculation unit 507, the time calculation unit 509, and the fare calculation unit 511.

【0042】時間計算部509では、各路線の1回の時
間を時間情報記憶部508を参照して得ることによっ
て、経路探索部505で得られた経路の所要時間が得ら
れる。この例では、時間情報記憶部508に、「京葉線
の海浜幕張から東京まで39分」「京葉快速の海浜幕張
から東京まで31分」「山手線の東京から浜松町まで6
分」という情報が入っているとする。すると、時間計算
部509では、「京葉線海浜幕張まで10分で行き、そ
こから東京まで行き、5分で山手線に乗換えて浜松町ま
で行き、そこから15分かかる」経路だと、 10+39+5+6+15=75 となって、この経路には75分かかり、「京葉快速海浜
幕張まで10分で行き、そこから東京まで行き、5分で
山手線に乗換えて浜松町まで行き、そこから15分かか
る」経路だと、 10+31+5+6+15=67 となって、この経路には67分かかることが計算され
る。
The time calculation unit 509 obtains one time of each route with reference to the time information storage unit 508, thereby obtaining the required time of the route obtained by the route search unit 505. In this example, the time information storage unit 508 stores “39 minutes from Kaihin Makuhari on the Keiyo Line to Tokyo”, “31 minutes from Kaihin Makuhari on the Keiyo Rapid Service to Tokyo”, and “6 minutes from Tokyo on the Yamanote Line to Hamamatsucho”.
Minute "is included. Then, in the time calculation unit 509, the route "10 minutes to Keihin Line Kaihin Makuhari, then go to Tokyo, change to the Yamanote Line in 5 minutes, go to Hamamatsucho, and then take 15 minutes", 10 + 39 + 5 + 6 + 15 = 75, this route takes 75 minutes, and it takes "10 minutes to Keiyo Rapid Kaihin Makuhari, then to Tokyo, and in 5 minutes, transfer to the Yamanote Line to Hamamatsucho and take 15 minutes from there." Then, 10 + 31 + 5 + 6 + 15 = 67, and it is calculated that this route takes 67 minutes.

【0043】運賃計算部511では、各路線の駅間の運
賃を運賃情報記憶部510を参照して得ることによって
経路探索部505で得られた経路の運賃が得られる。こ
の例では運賃情報記憶部510に「JRの海浜幕張から
浜松町までの運賃は610円」という情報が入っている
とすると、運賃計算部511では、先のVS・VDで得
られた2つの経路のどちちでも運賃は610円であるこ
とが計算される。運賃は路線の会社によって体系が異な
るので、各路線に電鉄会社名を付加しておき、この情報
を用いて運賃を求めるようにするとよい。この例では京
葉線、京葉快速、山手線がすべてJRであることが登録
されているとして運賃を求めている。
The fare calculation unit 511 obtains the fare between the stations on each route by referring to the fare information storage unit 510, thereby obtaining the fare of the route obtained by the route search unit 505. In this example, assuming that the information that the fare from JR Kaihin Makuhari to Hamamatsucho is 610 yen is stored in the fare information storage unit 510, the fare calculation unit 511 calculates the two fares obtained by the previous VS / VD. It is calculated that the fare is 610 yen for either route. Since fares have different systems depending on the route company, it is advisable to add a railway company name to each route and calculate the fare using this information. In this example, the fare is calculated on the assumption that the Keiyo Line, Keiyo Rapid Service, and Yamanote Line are all registered as JR.

【0044】時刻計算部507では、各路線の列車が各
駅をいつ発着するかという情報を、時刻情報記憶部50
6を参照して得ることによって到着時刻や出発時刻を得
ることができる。この例では図6に示すような時刻情報
が入っているとする。なお図において、HH:MM/h
h:mmはその駅に到着する時刻がHH:MMで、その
駅を出発する時刻がhh:mmであることを表わす。な
おHH:MMだけしかないものは、その駅に到着する時
刻がHH:MMであることを表わす。
The time calculation unit 507 stores information indicating when a train on each line departs and arrives at each station in the time information storage unit 50.
6, the arrival time and the departure time can be obtained. In this example, it is assumed that time information as shown in FIG. 6 is included. In the figure, HH: MM / h
h: mm indicates that the time of arrival at the station is HH: MM and the time of departure from the station is hh: mm. If there is only HH: MM, it means that the time of arrival at the station is HH: MM.

【0045】ここでたとえば出発地点「A社Bビル」、
目的地点「Eタワー」、出発時刻「13:55」が入力
されて到着時刻を求める場合を想定する。この場合、経
路探索部505で得られた経路を時刻情報をチェックし
ながら辿っていく。
Here, for example, the departure point “Company A B Building”
It is assumed that a destination point “E tower” and a departure time “13:55” are input to determine an arrival time. In this case, the route obtained by the route search unit 505 is traced while checking the time information.

【0046】この処理をまずVS・VDの最初の経路に
ついて説明する。A社Bビルを時刻13:55に出発す
るので、京葉線の海浜幕張駅に到着するのは時刻14:
05である。時刻情報を参照すると時刻14:06に海
浜幕張を出発する京葉線があるので、これに乗ると時刻
14:50に京葉線の東京に到着するので、そこで山手
線に乗換える。乗換えの時間に5分要するので、東京駅
の山手線のホームに到着するのは時刻14:55であ
る。時刻情報を参照すると時刻14:55に東京を出発
する山手線があるので、これに乗ると時刻15:01に
浜松町に到着する。ここから15分かかってEタワーに
到着するので、Eタワーに到着する時刻は15:16と
いうことになる。出発時刻が13:55で到着時刻が1
5:16であるから所要時間は1時間21分であること
が求められる。
This processing will be described first for the first path of VS / VD. Departing from Company A's B Building at 13:55, so you arrive at Kaihin Makuhari Station on Keiyo Line at 14:55.
05. Referring to the time information, there is the Keiyo Line departing from Kaihin Makuhari at time 14:06. If you get on this, you will arrive at Tokyo on the Keiyo Line at time 14:50, so transfer to the Yamanote Line there. It takes 5 minutes to transfer, so it is 14:55 to arrive at the Yamanote Line platform at Tokyo Station. Referring to the time information, there is a Yamanote Line departing Tokyo at time 14:55, so when you get on it, you will arrive at Hamamatsucho at time 15:01. Since it takes 15 minutes from here to arrive at the E tower, the time to arrive at the E tower is 15:16. Departure time is 13:55 and arrival time is 1
Since it is 5:16, the required time is required to be 1 hour and 21 minutes.

【0047】次に2番目の経路について説明する。A社
Bビルを時刻13:55に出発するので、京葉快速の海
浜幕張駅に到着するのは時刻14:05である。時刻情
報を参照すると時刻14:12に海浜幕張を出発する京
葉快速があるので、これに乗ると時刻14:43に京葉
快速の東京に到着するので、そこで山手線に乗換える。
乗換え時間に5分要するので、東京駅の山手線のホーム
に到着するのは時刻14:48である。時刻情報を参照
すると時刻14:50に東京駅を出発する山手線がある
ので、これに乗ると、時刻14:56に浜松町に到着す
る。ここから15分かかってEタワーに到着するので、
Eタワーに到着する時刻は15:11ということにな
る。出発時刻が13:55で到着時刻が15:11であ
るから所要時間は1時間16分であることが求められ
る。
Next, the second route will be described. Since the departure from Building A at 13:55 at time 13:55, it is 14:05 to arrive at Kaihin Makuhari Station on the Keiyo Rapid Service. If you refer to the time information, there is Keiyo Rapid Service departing Kaihin Makuhari at time 14:12. If you get on it, you will arrive at Tokyo at Keiyo Rapid Service at time 14:43, so transfer to the Yamanote Line there.
The transfer time is 5 minutes, so you arrive at the platform on the Yamanote Line at Tokyo Station at 14:48. Referring to the time information, there is a Yamanote Line departing from Tokyo Station at 14:50, so when you get on it, you will arrive at Hamamatsucho at 14:56. It will take 15 minutes from here to arrive at E Tower,
The time of arrival at E Tower is 15:11. Since the departure time is 13:55 and the arrival time is 15:11, the required time is required to be 1 hour and 16 minutes.

【0048】次にたとえば出発地点「A社Bビル」、目
的地点「Eタワー」、到着時刻「15:20」が入力さ
れて出発時刻を求める場合を想定する。この場合、経路
探索部505で得られた経路を逆向きに時刻情報をチェ
ックしながら辿っていく。
Next, it is assumed that the departure time is obtained by inputting, for example, the departure point “Company A B Building”, the destination point “E Tower”, and the arrival time “15:20”. In this case, the route obtained by the route search unit 505 is traced in the opposite direction while checking the time information.

【0049】この処理をまず最初の経路について説明す
る。Eタワーへの到着時刻が15:20であるから、山
手線の浜松町駅に時刻15:05には到着していなけれ
ばならない。時刻情報を参照すると時刻15:05以前
で最も遅く浜松町駅に到着する山手線は浜松町駅に時刻
15:01に到着するものであり、この列車は東京駅を
時刻14:55に出発している。山手線の東京駅を時刻
14:55に出発するには、京葉線の東京駅に時刻1
4:50には到着していなければならない。時刻情報を
参照すると時刻14:50に到着する京葉線があり、こ
の列車は時刻14:06に海浜幕張駅を出発している。
時刻14:06に京葉線海浜幕張駅を出発するためには
A社Bビルを時刻13:56には出発していなければな
らない。したがって、求める出発時刻は13:56とい
うことになる。出発時刻が13:56で到着時刻が1
5:20であるから所要時間は1時間24分であること
が求められる。
This process will be described first for the first route. Since the arrival time at E-Tower is 15:20, it must arrive at Hamamatsucho Station on the Yamanote Line at 15:05. Referring to the time information, the latest Yamanote line arriving at Hamamatsucho Station before 15:05 arrives at Hamamatsucho Station at 15:01, and this train leaves Tokyo Station at 14:55. ing. To depart from Tokyo Station on the Yamanote Line at 14:55, take the Tokyo Station on the Keiyo Line at 1
You must have arrived at 4:50. Referring to the time information, there is the Keiyo Line arriving at time 14:50, and this train has left Kaihin Makuhari Station at time 14:06.
To depart from Kaihin Makuhari Station on the Keiyo Line at time 14:06, you must have departed from Company A Building B at time 13:56. Therefore, the required departure time is 13:56. Departure time is 13:56 and arrival time is 1
Since it is 5:20, the required time is required to be 1 hour and 24 minutes.

【0050】次に2番目の経路について説明する。Eタ
ワーへの到着時刻が15:20であるから、山手線の浜
松町駅に時刻15:05には到着していなければならな
い。時刻情報を参照すると、時刻15:05以前で最も
遅く浜松町駅に到着する山手線は時刻15:01に到着
するものであり、この列車は東京駅を時刻14:55に
出発している。山手線の東京駅を時刻14:55に出発
するには、京葉快速の東京駅に時刻14:50には到着
していなければならない。時刻情報を参照すると時刻1
4:43に到着する京葉快速があり、これは時刻14:
12に海浜幕張駅を出発している。時刻14:12に京
葉線の海浜幕張駅を出発するためにはA社Bビルを時刻
14:02には出発していなければならない。したがっ
て、求める出発時刻は14:02ということになる。出
発時刻が14:02で到着時刻が15:20であるから
所要時間は1時間18分であることが求められる。
Next, the second route will be described. Since the arrival time at E-Tower is 15:20, it must arrive at Hamamatsucho Station on the Yamanote Line at 15:05. Referring to the time information, the latest Yamanote Line arriving at Hamamatsucho Station before time 15:05 arrives at time 15:01, and this train leaves Tokyo Station at time 14:55. To depart from Tokyo Station on the Yamanote Line at 14:55, you must arrive at Tokyo Station on the Keiyo Rapid Service at 14:50. When you refer to the time information, time 1
There is Keiyo Rapid Service arriving at 4:43, which is at 14:43
12 departs from Kaihin Makuhari Station. To depart from Kaihin Makuhari Station on the Keiyo Line at time 14:12, you must have departed from Company A Building B at time 14:02. Therefore, the required departure time is 14:02. Since the departure time is 14:02 and the arrival time is 15:20, the required time is required to be 1 hour and 18 minutes.

【0051】なお、この2つの経路の例では簡単のため
到着時刻は15:20のままで所要時間を計算したが、
本当の到着時刻は求められた出発時刻から経路を順方向
に辿っていくことで得られる。このようにすれば、最初
の経路では到着時刻は15:16になるので所要時間は
1時間20分となり、2番目の経路では到着時刻は1
5:11になるので所要時間は1時間9分となることが
求められる。
In the example of the two routes, the required time was calculated with the arrival time kept at 15:20 for simplicity.
The real arrival time can be obtained by following the route in the forward direction from the obtained departure time. In this case, since the arrival time is 15:16 on the first route, the required time is 1 hour and 20 minutes, and the arrival time is 1 hour on the second route.
Since it is 5:11, the required time is required to be 1 hour and 9 minutes.

【0052】以上説明したようにして、所要時間、運
賃、到着時刻、出発時刻が求められ、これらは条件判断
部512に渡される。また、経路探索部505から経路
自体も条件判断部512に渡され、経路や乗換えの手間
の情報を得ることができる。条件判断部512では求め
られた全経路の中から、入力部501から入力された条
件に合うものを選び出して、出力部513に渡す。通常
は最も所要時間の少ない経路や運賃の安い経路、最も遅
い出発時刻の経路や最も早い到着時刻の経路、乗換え回
数の少ない経路が選ばれることになる。選ばれた経路
と、その所要時間、運賃、出発時刻、到着時刻の中で必
要な情報は出力部513で出力される。
As described above, the required time, the fare, the arrival time, and the departure time are obtained, and these are passed to the condition determination unit 512. In addition, the route itself is also passed from the route search unit 505 to the condition determination unit 512, so that information on the route and the trouble of transferring can be obtained. The condition determination unit 512 selects a route that satisfies the condition input from the input unit 501 from all the obtained routes, and passes it to the output unit 513. Usually, the route with the shortest required time, the route with the lowest fare, the route with the latest departure time, the route with the earliest arrival time, and the route with the least number of transfers are selected. Information necessary for the selected route and its required time, fare, departure time, and arrival time is output by the output unit 513.

【0053】また上記の第2の実施例の応用として、最
適な出発時刻を求めることもできる。これは入力として
(出発地点,目的地点,出発時刻)が与えられたときに
「到着時刻」を計算した後で、求められた経路を「到着
時刻」から逆に辿っていって「出発時刻」を求めるもの
である。この「出発時刻」はその「到着時刻」に到着す
るための最適な出発時刻となっていることは先の実施例
での出発時刻を求める方法を参照すれば明らかである。
As an application of the second embodiment, an optimum departure time can be obtained. This is because, when (departure point, destination point, departure time) is given as input, the "arrival time" is calculated, and the obtained route is traced backward from "arrival time" to obtain "departure time". Is what you want. It is clear from the method of obtaining the departure time in the previous embodiment that the "departure time" is the optimal departure time for arriving at the "arrival time".

【0054】たとえば先ほどの例で、入力として出発地
点「A社Bビル」、目的地点「Eタワー」、出発時刻
「13:55」が与えられたときに到着時刻を求める
と、最初の経路での到着時刻は15:16で、2番目の
経路での到着時刻は15:11であることが求まった
が、今度は15:16が到着時刻となる最初の経路での
出発時刻や、15:11が到着時刻となる2番目の経路
での出発時刻を同様にして求める。
For example, in the above example, when the departure point “A company B building”, the destination point “E tower”, and the departure time “13:55” are given as inputs, the arrival time is obtained. Is determined to be 15:16 and the arrival time on the second route is 15:11. This time, the departure time on the first route where 15:16 is the arrival time, The departure time on the second route where 11 is the arrival time is obtained in the same manner.

【0055】まず、最初の経路について説明する。Eタ
ワーへの到着時刻が15:16であるから、山手線の浜
松町駅に時刻15:01には到着していなければならな
い。時刻情報を参照すると、時刻15:01以前で最も
遅く浜松町駅に到着する山手線は浜松町駅に15:01
に到着するものであり、この列車は東京駅を時刻14:
55に出発している。山手線の東京駅を時刻14:55
に出発するには、京葉線の東京駅に14:50には到着
していなければならない。時刻情報を参照すると時刻1
4:50に到着する京葉線があり、この列車は時刻1
4:06に海浜幕張駅を出発している。時刻14:06
に京葉線の海浜幕張駅を出発するためにはA社Bビルを
時刻13:56には出発していなければならない。した
がって、求める出発時刻は13:56ということにな
る。出発時刻が13:56で到着時刻が15:16であ
るから所要時間は1時間20分であることが求められ
る。
First, the first route will be described. Since the time of arrival at E Tower is 15:16, it must arrive at Hamamatsucho Station on the Yamanote Line at 15:01. Referring to the time information, the latest Yamanote line arriving at Hamamatsucho Station before time 15:01 arrives at Hamamatsucho Station at 15:01.
This train arrives at Tokyo Station at time 14:
Departure for 55. 14:55 at Tokyo Station on the Yamanote Line
You must arrive at Tokyo Station on the Keiyo Line at 14:50 before you can leave. When you refer to the time information, time 1
There is a Keiyo line arriving at 4:50, and this train is at time 1
Departing Kaihin Makuhari Station at 4:06. Time 14:06
In order to depart from Kaihin Makuhari Station on the Keiyo Line, you must depart from Bldg. A at 13:56. Therefore, the required departure time is 13:56. Since the departure time is 13:56 and the arrival time is 15:16, the required time is required to be 1 hour and 20 minutes.

【0056】次に2番目の経路について説明する。Eタ
ワーへの到着時刻が15:11であるから、山手線の浜
松町駅に時刻14:56には到着していなければならな
い。時刻情報を参照すると、時刻14:56以前で最も
遅く浜松町駅に到着する山手線は時刻14:56に到着
するものであり、この列車は東京駅を時刻14:50に
出発している。山手線の東京駅を時刻14:50に出発
するには、京葉快速の東京駅には時刻14:45には到
着していなければならない。時刻情報を参照すると時刻
14:43に到着する京葉快速があり、この列車は時刻
14:12に海浜幕張駅を出発している。時刻14:1
2に京葉線の海浜幕張駅を出発するためにはA社Bビル
を時刻14:02には出発しなければならない。したが
って、求める出発時刻は14:02ということになる。
出発時刻が14:02で到着時刻が15:11であるか
ら所要時間は1時間9分であることが求められる。
Next, the second route will be described. Since the arrival time at the E tower is 15:11, it is necessary to arrive at Hamamatsucho Station on the Yamanote Line at 14:56. Referring to the time information, the Yamanote Line, which arrives at Hamamatsucho Station latest before time 14:56, arrives at time 14:56, and this train leaves Tokyo Station at time 14:50. To depart from Tokyo Station on the Yamanote Line at 14:50, you must arrive at Tokyo Station on the Keiyo Rapid Service at 14:45. Referring to the time information, there is Keiyo Rapid Service arriving at time 14:43, and this train leaves Kaihin Makuhari Station at time 14:12. Time 14: 1
In order to depart from Kaihin Makuhari Station on the Keiyo Line in 2nd, you have to depart from Company A Building B at 14:02. Therefore, the required departure time is 14:02.
Since the departure time is 14:02 and the arrival time is 15:11, the required time is required to be 1 hour and 9 minutes.

【0057】以上より、最初に入力した出発時刻は1
3:55であったが、最初の経路で行く場合は13:5
6に出発しても間に合い、2番目の経路で行く場合は時
刻14:02に出発しても間に合うことがわかる。この
ようにして最適な出発時刻を求めることができる。
From the above, the departure time entered first is 1
3:55, but 13: 5 if going on the first route
It turns out that it is in time to depart at time 6 even if it departs at 14:02 when going on the second route. In this way, an optimal departure time can be obtained.

【0058】また、上記の第2の実施例の別の応用とし
て時刻計算部において、時刻情報記憶部を参照して最適
な時刻に発着する列車の探索に加えて、それよりも1,
2本遅い列車や1,2本早い列車を利用した場合の時刻
も求めることで、出発時刻、到着時刻、これらの差の所
要時間がどのように変化するかを確認することができ
る。利用する列車を遅らせたり早めたりするのは、出発
地点に最も近い駅、目的地点に最も近い駅、各乗換え駅
において可能であるが、通常は出発地点に最も近い駅で
の出発時刻を遅らせたり早めたりし、それ以外の駅では
最適な時刻に発着するとして計算を行なうのが現実の利
用形態に最も合った形になると考えられる。
As another application of the second embodiment, the time calculation unit refers to the time information storage unit to search for the train arriving and departing at the optimal time,
By determining the times when two slower trains and one or two faster trains are used, it is possible to confirm how the departure time, the arrival time, and the required time of the difference between them change. It is possible to delay or advance the train used at the station closest to the departure point, the station closest to the destination point, or at each transfer station, but usually delays the departure time at the station closest to the departure point It is thought that it is best to perform the calculation assuming that it arrives early or arrives and departs at the optimal time at other stations.

【0059】さらに上記第2の実施例の応用として先ほ
どの例で入力として、出発地点「A社Bビル」、目的地
点「Eタワー」、出発時刻「13:55」が与えられる
ときに到着時刻を求めると、最初の経路での到着時刻は
15:16で、2番目の経路での到着時刻は15:11
であることが求まったが、出発地点に最も近い駅での列
車を1本遅らせるとどうなるかをこの例の2つの経路に
ついて説明する。
Further, as an application of the second embodiment, when the departure point “A company B building”, the destination point “E tower” and the departure time “13:55” are given as inputs in the above example, the arrival time Is obtained, the arrival time on the first route is 15:16, and the arrival time on the second route is 15:11.
However, what happens when one train at the station closest to the departure point is delayed by one train will be described for the two routes in this example.

【0060】最初の経路ではA社Bビルを時刻13:5
5に出発するので、京葉線海浜幕張駅に到着するのは時
刻14:05である。時刻情報を参照すると時刻14:
06に海浜幕張駅を出発する京葉線があるが、1本列車
を遅らせるので、次の時刻14:24に海浜幕張を出発
する京葉線に乗る。すると、時刻15:03に京葉線の
東京駅に到着するので、山手線に乗換える。乗換えの時
間に5分要するので、東京駅の山手線のホームに到着す
るのは時刻15:08である。時刻情報を参照すると時
刻15:10に東京駅を出発する山手線があるので、こ
れに乗ると時刻15:16に浜松町駅に到着する。ここ
から15分かかってEタワーに到着するのでEタワーに
到着する時刻は15:31ということになる。出発時刻
が13:55で到着時刻が15:31であるから、所要
時間は1時間36分であることが求められる。なお、到
着時刻が15:31の場合の最適な出発時刻は14:1
6であることが求められるので、海浜幕張駅で京葉線を
1本遅らせたものに乗る場合の所要時間は1時間15分
であることがわかる。
In the first route, the building B of the company A is switched to the time 13: 5.
Departing at 5 and arriving at Kaihin Makuhari Station on the Keiyo Line at 14:05. When referring to the time information, time 14:
There is Keiyo Line departing from Kaihin Makuhari Station at 06, but one train will be delayed, so I will take the Keiyo Line departing Kaihin Makuhari at the next time 14:24. Then, we arrive at Tokyo Station on the Keiyo Line at 15:03, so transfer to the Yamanote Line. Since it takes 5 minutes to transfer, it is 15:08 to arrive at the platform on the Yamanote Line at Tokyo Station. Referring to the time information, there is a Yamanote Line departing from Tokyo Station at time 15:10, so when you get on it, you will arrive at Hamamatsucho Station at time 15:16. It takes 15 minutes from here to arrive at the E tower, so the time to arrive at the E tower is 15:31. Since the departure time is 13:55 and the arrival time is 15:31, the required time is required to be 1 hour and 36 minutes. When the arrival time is 15:31, the optimal departure time is 14: 1.
Since it is required to be 6, it takes one hour and fifteen minutes to get on the Keiyo Line at Kaihin Makuhari Station.

【0061】2番目の経路ではA社Bビルを時刻13:
55に出発するので、京葉快速海浜幕張駅に到着するの
は時刻14:05である。時刻情報を参照すると時刻1
4:12に海浜幕張駅を出発する京葉快速があるが、列
車を1本遅らせるので、次の時刻14:42に海浜幕張
駅を出発する京葉快速に乗る。すると、時刻15:13
に京葉快速の東京駅に到着するので、そこで山手線に乗
換える。乗換えの時間に5分要するので、東京駅の山手
線のホームに到着するのは時刻15:18である。時刻
情報を参照すると時刻15:20に東京駅を出発する山
手線があるので、これに乗ると時刻15:26に浜松町
駅に到着する。ここから15分かかってEタワーに到着
するので、Eタワーに到着する時刻は15:41という
ことになる。出発時刻が13:55で到着時刻が15:
41であるから、所要時間は1時間46分であることが
求められる。なお、到着時刻が15:41の場合の最適
な出発時刻は14:32であることが求められるので、
海浜幕張駅で京葉快速を1本遅らせたものに乗る場合の
所要時間は1時間9分であることがわかる。
In the second route, the building B of the company A is set at the time 13:
Since it departs at 55, it arrives at Keiyo Rapid Kaihin Makuhari Station at 14:05. When you refer to the time information, time 1
At 4:12 there is Keiyo Rapid Service departing Kaihin Makuhari Station, but one train will be delayed, so we will take Keiyo Rapid Service departing Kaihin Makuhari Station at the next time 14:42. Then, at time 15:13
Arrives at Keiyo Rapid Tokyo Station, so transfer to the Yamanote Line there. It takes 5 minutes to transfer, so we arrive at the Tokyo Station Yamanote Line platform at 15:18. Referring to the time information, there is a Yamanote Line departing from Tokyo Station at 15:20, so when you get on it, you will arrive at Hamamatsucho Station at 15:26. Since it takes 15 minutes from here to arrive at the E tower, the time to arrive at the E tower is 15:41. Departure time is 13:55 and arrival time is 15:
Since it is 41, the required time is required to be 1 hour and 46 minutes. When the arrival time is 15:41, the optimal departure time is required to be 14:32.
It can be seen that the time required to get on at Keihin Makuhari Station with one Keiyo Rapid Service is one hour and nine minutes.

【0062】この発明による経路探索装置は、列車の乗
り継ぎなどの経路を効率的に探索し、その経路の乗換え
の回数や所要時間、運賃、出発時刻、到着時刻等を求め
ることができるものである。ただし、時刻情報なしで求
められる所要時間は列車の乗り継ぎの待合せ時間を考慮
できないため、あまり正確なものとは言えない。したが
って、時刻情報が得られる環境でならば所要時間は時刻
情報を参照して出発時刻と到着時刻の差から得た方が好
ましい。ただし、時刻情報は時間情報に比べると膨大な
ため、小規模なシステムでは全データを記憶させておく
のは困難だと思われる。小規模なシステムでは時刻計算
を行なうのを省くか、または特定のエリアのみ時刻情報
を持たせ、経路がその特定のエリアに入っている場合の
み時刻計算を行なうようにするのが現実的であると考え
られる。
The route search device according to the present invention is capable of efficiently searching for a route such as a train connection and obtaining the number of times of transfer, the required time, the fare, the departure time, the arrival time, etc. of the route. . However, the required time obtained without time information cannot be said to be very accurate because the waiting time for connecting trains cannot be considered. Therefore, in an environment where time information can be obtained, it is preferable that the required time be obtained from the difference between the departure time and the arrival time with reference to the time information. However, since time information is enormous compared to time information, it seems difficult to store all data in a small system. In a small-scale system, it is practical to omit the time calculation or to have time information only in a specific area and to calculate the time only when the route is in the specific area. it is conceivable that.

【0063】また、本実施例での経路探索装置では出発
地点ベクトルVSと乗換え情報行列Tとの乗算を繰返し
て経路を探索しているが、これは乗換え情報行列Tと目
的地点ベクトルVDとの乗算を繰返すことでも経路探索
ができるし、またVS・Tと、T・VDとを組合せて経
路を探索してもよい。いずれにしても全経路Aは
In the route search apparatus of this embodiment, a route is searched for by repeatedly multiplying the departure point vector VS and the transfer information matrix T. This is because the transfer information matrix T and the destination point vector VD A route search can be performed by repeating the multiplication, or a route may be searched by combining VS · T and T · VD. In any case, the whole route A

【0064】[0064]

【数1】 (Equation 1)

【0065】で表わされる。ここでN=全路線数×3と
おけば実用上すべての経路を求めることができる。
## EQU5 ## Here, if N = the total number of routes × 3, practically all routes can be obtained.

【0066】図7および図8はこの発明の第2の実施例
における出力部513の具体的な出力内容を示す図であ
る。
FIGS. 7 and 8 are diagrams showing specific output contents of the output unit 513 in the second embodiment of the present invention.

【0067】図7はその一例として、文章形式で出力す
るようになっており、これは音声出力などで案内する場
合に都合がよい。
FIG. 7 shows, as an example, an output in a sentence format, which is convenient when providing guidance by voice output or the like.

【0068】図8は他の例として、見やすさに重点を置
いており、ディスプレイで確認するときに都合がよい出
力となっている。
FIG. 8 shows another example in which the emphasis is placed on ease of viewing, and the output is convenient for checking on a display.

【0069】なお、両図において「経路X−Y」という
のは、X番目の経路において最初の駅(海浜幕張)にY
番目に到着した列車に乗車して目的地に向かう経路を示
している。そして得られた経路を出発時刻が遅い順に出
力している。
In both figures, the "route XY" refers to the first station (Kahin Makuhari) in the X-th route.
It shows the route to the destination by getting on the train that arrived the second time. The obtained routes are output in the order of later departure time.

【0070】図7および図8の出力形態をさらに進め
て、時刻部分をマウスなどを用いてクリックするとそこ
の時刻の修正ができるようにし、経路の一部の時刻が修
正されたら経路全体の各部分の時刻を再計算するように
構成するとより使いやすい経路探索装置となる。
7 and 8, the time portion can be corrected by clicking the time portion with a mouse or the like, and when the time portion of the route is corrected, each portion of the entire route is corrected. If the configuration is made so that the times of the parts are recalculated, the route search device becomes easier to use.

【0071】図9はこの発明の第3の実施例による経路
探索装置の構成を示すブロック図である。
FIG. 9 is a block diagram showing the configuration of a route search device according to the third embodiment of the present invention.

【0072】図を参照して、この実施例による経路探索
装置は、図1の第1の実施例の構成に時刻情報記憶部2
06および時刻計算部207を加えたものである。付加
されたこれらの構成要素の動作は、図4で示した第2の
実施例における対応要素の動作と同様であるので、ここ
での説明は繰返さない。
Referring to the figure, the route search device according to the present embodiment has a configuration similar to that of the first embodiment shown in FIG.
06 and the time calculation unit 207. The operations of these added components are the same as the operations of the corresponding components in the second embodiment shown in FIG. 4, and thus description thereof will not be repeated.

【0073】この実施例によれば、到着時刻や出発時刻
を考慮した最適な経路を容易に探索することができる。
According to this embodiment, it is possible to easily search for the optimum route in consideration of the arrival time and the departure time.

【0074】図10はこの発明の第4の実施例による経
路探索装置の構成を示すブロック図である。
FIG. 10 is a block diagram showing the configuration of a route search device according to a fourth embodiment of the present invention.

【0075】図を参照して、この実施例による経路探索
装置は、図1の第1の実施例の構成に時間情報記憶部3
06および時間計算部307を加えたものである。付加
されたこれらの要素の動作は、図4で示された第2の実
施例における対応要素の動作と同様であるので、ここで
の説明は繰返さない。
Referring to the figure, the route search device according to this embodiment has a configuration similar to that of the first embodiment shown in FIG.
06 and a time calculation unit 307. The operation of these added elements is the same as the operation of the corresponding elements in the second embodiment shown in FIG. 4, and the description thereof will not be repeated.

【0076】この実施例によれば、出発場所から目的場
所までの所要時間を考慮した最適な経路を容易に探索す
ることができる。
According to this embodiment, it is possible to easily search for an optimal route in consideration of the required time from the departure place to the destination place.

【0077】図11はこの発明の第5の実施例による経
路探索装置の構成を示すブロック図である。
FIG. 11 is a block diagram showing the configuration of a route search device according to a fifth embodiment of the present invention.

【0078】図を参照して、この実施例による経路探索
装置は、図1の第1の実施例の構成に運賃情報記憶部4
06と運賃計算部407を加えたものである。付加され
たこれらの要素の動作は、図4で示した第2の実施例に
おける対応要素の動作と同様であるので、ここでの説明
は繰返さない。
Referring to the figure, the route search device according to this embodiment has a configuration similar to that of the first embodiment shown in FIG.
06 and the fare calculation unit 407. The operations of these added elements are the same as the operations of the corresponding elements in the second embodiment shown in FIG. 4, and thus description thereof will not be repeated.

【0079】この実施例によれば、出発場所から目的場
所までの所要運賃を考慮した最適な経路を容易に探索す
ることができる。
According to this embodiment, it is possible to easily search for an optimal route in consideration of the required fare from the departure place to the destination place.

【0080】[0080]

【発明の効果】請求項1の発明は以上説明したとおり、
出発地点を表わす第1のベクトルと目的地点を表わす第
2のベクトルとの内積が求められるので、出発地点と目
的地点とを結ぶ経路の存在が迅速に判別できる。
According to the first aspect of the present invention, as described above,
Since the inner product of the first vector representing the departure point and the second vector representing the destination point is obtained, the existence of a route connecting the departure point and the destination point can be quickly determined.

【0081】請求項の発明は以上説明したとおり、
る路線と他の路線との乗換情報を表わした行列を第1ま
たは第2のベクトルに任意の回数乗算し、その乗算結果
と第2または第1のベクトルとの内積が求められるの
で、出発地点と目的地点とを結ぶ経路の存在が、経路間
の接続状況も考慮して迅速に判別できる。
[0081] As described claim 3 of the invention is more, Oh
The first or second vector is multiplied by an arbitrary number of times with a matrix representing transfer information between another route and another route, and the inner product of the multiplication result and the second or first vector is obtained. The existence of the route connecting the destination and the destination can be quickly determined in consideration of the connection status between the routes.

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

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

【図2】この発明の第1の実施例による経路探索の演算
に用いられる乗換え行列の具体的内容を示した図であ
る。
FIG. 2 is a diagram showing specific contents of a transfer matrix used in a route search calculation according to the first embodiment of the present invention.

【図3】この発明の第1の実施例による経路探索の具体
的内容を示したフローチャートである。
FIG. 3 is a flowchart showing specific contents of a route search according to the first embodiment of the present invention.

【図4】この発明の第2の実施例による経路探索装置の
構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a route search device according to a second embodiment of the present invention.

【図5】この発明の第2の実施例による経路探索の演算
に用いられる乗換え行列の具体的内容を示したフローチ
ャートである。
FIG. 5 is a flowchart showing specific contents of a transfer matrix used in a route search operation according to the second embodiment of the present invention.

【図6】図4の時刻情報記憶部506に格納されている
時刻情報の具体的な内容を示した図である。
6 is a diagram showing a specific content of time information stored in a time information storage unit 506 in FIG. 4;

【図7】図4の出力部513から出力される表示の一例
を示した図である。
FIG. 7 is a diagram illustrating an example of a display output from an output unit 513 in FIG. 4;

【図8】図4の出力部513から出力される表示の他の
例を示した図である。
8 is a diagram showing another example of the display output from the output unit 513 in FIG.

【図9】この発明の第3の実施例による経路探索装置の
構成を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of a route search device according to a third embodiment of the present invention.

【図10】この発明の第4の実施例による経路探索装置
の構成を示すブロック図である。
FIG. 10 is a block diagram showing a configuration of a route search device according to a fourth embodiment of the present invention.

【図11】この発明の第5の実施例による経路探索装置
の構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of a route search device according to a fifth embodiment of the present invention.

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

101 入力部 102 場所情報記憶部 103 場所ノード対応付け部 104 乗換え情報記憶部 105 経路探索部 106 出力部 501 入力部 502 場所情報記憶部 503 場所ノード対応付け部 504 乗換え情報記憶部 505 経路探索部 513 出力部 101 input unit 102 place information storage unit 103 place node correspondence unit 104 transfer information storage unit 105 route search unit 106 output unit 501 input unit 502 place information storage unit 503 place node correspondence unit 504 transfer information storage unit 505 route search unit 513 Output section

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B61L 25/02 G08G 1/005 G09B 29/00 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) B61L 25/02 G08G 1/005 G09B 29/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 出発地点と目的地点との間の経路を探索
する経路探索装置であって、任意の地点を、その一つ以上の最寄駅とその最寄駅の路
線との対に対応付ける場所情報を記憶する記憶手段と、 前記記憶された場所情報に基づいて、前記出発地点を、
出発地点の一つ以上の最寄駅とその最寄駅の路線との対
として要素を表わし、路線の数を次元数とする 第1のベ
クトルで表わす出発地点表示手段と、前記記憶された場所情報に基づいて、前記目的地点を、
目的地点の一つ以上の最寄駅とその最寄駅の路線との対
として要素を表わし、路線の数を次元数とする 第2のベ
クトルで表わす目的地点表示手段と、 前記第1のベクトルと前記第2のベクトルとの内積を求
める内積手段とを備えた、経路探索装置。
1. A route search device for searching for a route between a start point and a destination point, wherein an arbitrary point is located at one or more nearest stations and a route between the nearest stations.
Storage means for storing location information associated with a pair with a line , based on the stored location information,
Pairs with one or more nearest stations of departure point and the routes of the nearest stations
Based on the stored location information, the departure point display means expressing the element as a first vector having the number of routes as the number of dimensions ,
A pair of one or more nearest stations at the destination and the line of the nearest station
A route search comprising: destination point display means for representing an element as a second vector having the number of routes as a dimension number; and inner product means for obtaining an inner product of the first vector and the second vector. apparatus.
【請求項2】 さらに、各路線について、各駅の着時刻
および発時刻を記憶した時刻表記憶手段を備え、 前記記憶手段は、任意の地点から最寄駅までの所要時間
をさらに記憶する、請求項1に記載の経路探索装置。
2. The arrival time at each station for each line.
And timetable storage means for storing the departure time, wherein the storage means is a time required from any point to the nearest station.
The route search device according to claim 1, further comprising:
【請求項3】 出発地点と、目的地点との間の経路を探
索する経路探索装置であって、 任意の地点を、その一つ以上の最寄駅とその最寄駅の路
線との対に対応付ける場所情報を記憶する記憶手段と、 前記記憶された場所情報に基づいて、前記出発地点を、
出発地点の一つ以上の最寄駅とその最寄駅の路線との対
として要素を表わし、路線の数を次元数とする第1のベ
クトルで表わす出発地点表示手段と、 前記記憶された場所情報に基づいて、前記目的地点を、
目的地点の一つ以上の最寄駅とその最寄駅の路線との対
として要素を表わし、路線の数を次元数とする第2のベ
クトルで表わす目的地点表示手段と、 ある路線と他の路線との乗換情報を、路線の種類を行お
よび列にそれぞれ対応付け、乗換可能な駅の対を要素と
する行列で表わす接続状況表示手段と、 前記第1のベクトルまたは前記第2のベクトルと、前記
行列との乗算を任意の回数行なう乗算手段と、 前記乗算手段によって得られた第3のベクトルと、前記
第2のベクトルまたは前記第1のベクトルとの内積を求
める内積手段とを備えた、経路探索装置。
3. Search for a route between a starting point and a destination point.
A route search device that searches for an arbitrary point by selecting one or more nearest stations and a route between the nearest stations.
Storage means for storing location information associated with a pair with a line , based on the stored location information,
Pairs with one or more nearest stations of departure point and the routes of the nearest stations
Represents the element as
Starting point display means expressed in cuttle, and the destination point based on the stored location information,
A pair of one or more nearest stations at the destination and the line of the nearest station
, And the number of routes is the number of dimensions.
The destination point display means expressed by a vector and the transfer information between a certain route and another route are indicated by the type of route.
And columns, and the pairs of transitable stations as elements
A connection status display means represented by a matrix to perform, the first vector or the second vector,
A multiplying means for multiplying the matrix by an arbitrary number of times, a third vector obtained by the multiplying means,
Find the inner product of a second vector or the first vector
A route search device comprising:
【請求項4】 さらに、各路線について、各駅の着時刻
および発時刻を記憶した時刻表記憶手段を備え、 前記記憶手段は、任意の地点から最寄駅までの所要時間
をさらに記憶し、 前記接続状況表示手段の行列の要素には、その駅の対の
乗換に要する時間も記録されている、請求項3に記載の
経路探索装置。
4. The arrival time of each station for each line
And timetable storage means for storing the departure time, wherein the storage means is a time required from any point to the nearest station.
Is further stored, and the elements of the matrix of the connection status display means include the pair of the station.
4. The method according to claim 3, wherein the time required for transfer is also recorded.
Route search device.
JP8437494A 1994-04-22 1994-04-22 Route search device Expired - Fee Related JP3176009B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8437494A JP3176009B2 (en) 1994-04-22 1994-04-22 Route search device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8437494A JP3176009B2 (en) 1994-04-22 1994-04-22 Route search device

Publications (2)

Publication Number Publication Date
JPH07294270A JPH07294270A (en) 1995-11-10
JP3176009B2 true JP3176009B2 (en) 2001-06-11

Family

ID=13828768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8437494A Expired - Fee Related JP3176009B2 (en) 1994-04-22 1994-04-22 Route search device

Country Status (1)

Country Link
JP (1) JP3176009B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10170288A (en) * 1996-12-13 1998-06-26 Toyota Motor Corp Ride information providing system
JP4485095B2 (en) * 2001-03-30 2010-06-16 アイシン・エィ・ダブリュ株式会社 Computer system and route guidance information distribution method
JP4505705B2 (en) * 2001-06-05 2010-07-21 株式会社エクォス・リサーチ Information providing apparatus and information providing method
JP4726030B2 (en) * 2001-08-21 2011-07-20 Kddi株式会社 Railway network optimum route guidance system for elderly and disabled people and program for it
JP4511953B2 (en) * 2005-01-11 2010-07-28 富士通テン株式会社 Transportation guidance apparatus and method
JP4648010B2 (en) * 2005-01-11 2011-03-09 富士通テン株式会社 Transportation guidance apparatus and method
CN112686457B (en) * 2021-01-04 2022-06-03 腾讯科技(深圳)有限公司 Route arrival time estimation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
JPH07294270A (en) 1995-11-10

Similar Documents

Publication Publication Date Title
US5797113A (en) Method and system for determining transportation route
JP3176009B2 (en) Route search device
EP3112808A1 (en) Route-finding device, route-finding method, and program
US6256581B1 (en) Navigation method, device, system and computer readable medium
US10422651B2 (en) Route evaluation apparatus and route evaluation method
CN105224643A (en) Logistics information querying method and device
CN101762279A (en) Navigation method and device
CN115268466B (en) Method, system, device and medium for planning aerial reconnaissance maneuvering path of convoy
JP4529604B2 (en) Route guidance device
KR102242422B1 (en) Server and method for searching path of mass transportation
JP5038644B2 (en) Navigation system, route search server, terminal device, and advertisement display method
JP2002148067A (en) System and method for navigation
JP4131745B1 (en) Navigation system, route search server, route search method, and terminal device
US20090048772A1 (en) Method and apparatus for searching target location
CN110766187B (en) Path planning method, device, server and storage medium
JP2000193470A (en) Route search device, route search method, and medium recording route search program
US20230147258A1 (en) Method for managing travel, travel management apparatus, and non-transitory computer-readable recording medium
Chen et al. Minimization of travel time and weighted number of stops in a traffic-light network
JP4708323B2 (en) Navigation system, route search server, route search method, and terminal device
JP2001298765A (en) Mobile phone
JP2001264097A (en) Method and device for searching optimum route, and recording medium with program related to the method recorded therein
JPH0877491A (en) Road guide device
CN115705516A (en) Storage medium, route search method and information processing device
JP2011112387A (en) Navigation system, route search server, terminal, method of navigation, and navigation device
JP2007188247A (en) Transfer guidance system

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: 20010321

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

Free format text: PAYMENT UNTIL: 20080406

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees