JP6867314B2 - Program and passenger travel route estimation device - Google Patents

Program and passenger travel route estimation device Download PDF

Info

Publication number
JP6867314B2
JP6867314B2 JP2018010734A JP2018010734A JP6867314B2 JP 6867314 B2 JP6867314 B2 JP 6867314B2 JP 2018010734 A JP2018010734 A JP 2018010734A JP 2018010734 A JP2018010734 A JP 2018010734A JP 6867314 B2 JP6867314 B2 JP 6867314B2
Authority
JP
Japan
Prior art keywords
node
entry
search
station
route
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.)
Active
Application number
JP2018010734A
Other languages
Japanese (ja)
Other versions
JP2019001448A (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.)
Railway Technical Research Institute
Original Assignee
Railway Technical Research Institute
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 Railway Technical Research Institute filed Critical Railway Technical Research Institute
Publication of JP2019001448A publication Critical patent/JP2019001448A/en
Application granted granted Critical
Publication of JP6867314B2 publication Critical patent/JP6867314B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、旅客の移動経路を推定する旅客移動経路推定装置等に関する。 The present invention relates to a passenger movement route estimation device and the like that estimate a passenger movement route.

列車ダイヤの評価や検証のため、コンピュータを用いた列車ダイヤに対する旅客流動シミュレーションが行われている。旅客流動シミュレーションでは、所与の列車ダイヤに対する各旅客の移動経路(乗車経路)の推定が行われる。旅客の出現駅(出発駅)から目的駅に至る移動経路は複数有る場合が多く、これらの複数の経路のうちから、最も早く目的駅に到着する、乗換回数が最も少ないといった所定条件を満たす一つの経路が選択される。旅客流動シミュレーションにおいて想定する旅客は、例えば、時間帯別の出現駅と目的駅との組み合わせ(OD:Origin Destination)毎に出現する旅客数を定めたODデータによって与えられる(例えば、特許文献1参照)。 In order to evaluate and verify train schedules, passenger flow simulations for train schedules are being conducted using computers. In the passenger flow simulation, the movement route (boarding route) of each passenger with respect to a given train schedule is estimated. In many cases, there are multiple travel routes from the station where passengers appear (departure station) to the destination station, and among these multiple routes, one that satisfies certain conditions such as the earliest arrival at the destination station and the least number of transfers. Two routes are selected. The passengers assumed in the passenger flow simulation are given by, for example, OD data in which the number of passengers appearing for each combination (OD: Origin Destination) of the appearance station and the destination station for each time zone is determined (see, for example, Patent Document 1). ).

特開2008−62729号公報Japanese Unexamined Patent Publication No. 2008-62729

近年では、自動改札機から取得できる各旅客の通過時刻(入出場時刻)の記録データ(以下、「入出場データ」という)の活用方法が検討されている。入出場データとして、例えば1分単位の駅改札の入出場時刻のデータが取得できる。このため、最大2時間程度の時間帯別のデータであるODデータを用いる場合と比較して、旅客の移動経路を精度良く推定することが可能となる。しかし、入出場データを利用する場合には、数十万〜数百万人分といった非常に膨大なデータを扱うことになり、旅客ひとりひとりの移動経路の推定を行うとなると、演算量が膨大となるため、処理の高速化が必要である。 In recent years, a method of utilizing recorded data (hereinafter referred to as "entrance / exit data") of each passenger's transit time (entrance / exit time) that can be acquired from an automatic ticket gate has been studied. As the entry / exit data, for example, the entry / exit time data of the station ticket gate in units of 1 minute can be acquired. Therefore, it is possible to accurately estimate the movement route of the passenger as compared with the case of using the OD data which is the data for each time zone of up to about 2 hours. However, when using entry / exit data, it is necessary to handle a huge amount of data such as hundreds of thousands to millions of people, and when it comes to estimating the movement route of each passenger, the amount of calculation is enormous. Therefore, it is necessary to speed up the processing.

また、近年では、いわゆる駅ナカ施設の充実等によって、買い物や飲食を目的とした駅改札内での滞在時間が増加しており、目的駅までの到達時間や乗換回数といった従来の条件のみでは、適切な旅客の移動経路の推定としては不充分な場合があった。更に、上述の入出場データを用いる場合、各旅客の入場時刻及び出場時刻が与えられるため、与えられた入場時刻に入場駅に入場し、与えられた出場時刻に目的駅から出場するように、移動途中の滞在駅や滞在時間を考慮して移動経路を推定する必要がある。しかしながら、従来の手法では、駅改札内の滞在を考慮した乗車経路の推定は行われていなかった。 In recent years, the time spent at station ticket gates for shopping and eating and drinking has increased due to the enhancement of so-called station Naka facilities, and the conventional conditions such as the time to reach the destination station and the number of transfers are sufficient. In some cases, it was insufficient to estimate an appropriate passenger travel route. Furthermore, when using the above-mentioned entry / exit data, the entry time and entry time of each passenger are given, so that the passengers enter the entrance station at the given entry time and exit from the target station at the given entry time. It is necessary to estimate the travel route in consideration of the station and the length of stay during the journey. However, in the conventional method, the boarding route is not estimated in consideration of the stay in the station ticket gate.

本発明は、上記事情に鑑みてなされたものであり、その目的とするところは、駅改札内での滞在を考慮した旅客の移動経路の推定を行えるようにするとともに、各旅客の移動経路の推定の高速化を図ることである。 The present invention has been made in view of the above circumstances, and an object of the present invention is to enable estimation of a passenger's travel route in consideration of staying at a station ticket gate, and to enable each passenger's travel route to be estimated. The speed of estimation is to be increased.

上記課題を解決するための第1の発明は、
コンピュータを、
所与の列車ダイヤに基づいて、1)各列車の各駅の着発に係る事象を表す着ノード及び発ノードを設定し、前記列車の運行に沿って前記着ノード及び前記発ノードをエッジで繋ぐこと、2)各列車の各駅の前記着ノード及び前記発ノードに対応して、当該駅における旅客の入出場に係る事象を表す入場ノード及び出場ノードと、当該駅の駅滞在ノードとを設定して、当該駅滞在ノードを対応する前記着ノード又は前記発ノードとエッジで繋ぎ、前記入場ノードを対応する前記発ノードとエッジで繋ぎ、前記出場ノードを対応する前記着ノードとエッジで繋ぐこと、3)各駅における時間的に隣り合う前記入場ノード同士、前記出場ノード同士、前記駅滞在ノード同士をエッジで繋ぐこと、4)各エッジに所与のコストを設定すること、を行ってダイヤネットワークを作成する作成手段、
前記ダイヤネットワークのうちの所与の探索対象入場ノードから所与の探索対象出場ノードに至る最小コスト経路を、前記エッジに設定されたコストに基づいて探索する探索手段、
として機能させるためのプログラムである。
The first invention for solving the above problems is
Computer,
Based on a given train schedule, 1) set arrival nodes and departure nodes that represent events related to arrivals and departures at each station of each train, and connect the arrival nodes and departure nodes with edges along the operation of the train. 2) Corresponding to the arrival node and the departure node of each station of each train, an entrance node and an exit node representing an event related to the entry and exit of passengers at the station, and a station stay node of the station are set. The station stay node is connected to the corresponding arrival node or the departure node at the edge, the entrance node is connected to the corresponding departure node at the edge, and the entry node is connected to the corresponding arrival node at the edge. 3) Connecting the entrance nodes, the entry nodes, and the station stay nodes that are adjacent to each other in time at each station with an edge, and 4) setting a given cost at each edge to form a diamond network. Creation method to create,
A search means for searching the minimum cost route from a given search target entry node to a given search target entry node in the diamond network based on the cost set at the edge.
It is a program to function as.

他の発明として、
所与の列車ダイヤに基づいて、1)各列車の各駅の着発に係る事象を表す着ノード及び発ノードを設定し、前記列車の運行に沿って前記着ノード及び前記発ノードをエッジで繋ぐこと、2)各列車の各駅の前記着ノード及び前記発ノードに対応して、当該駅における旅客の入出場に係る事象を表す入場ノード及び出場ノードと、当該駅の駅滞在ノードとを設定して、当該駅滞在ノードを対応する前記着ノード又は前記発ノードとエッジで繋ぎ、前記入場ノードを対応する前記発ノードとエッジで繋ぎ、前記出場ノードを対応する前記着ノードとエッジで繋ぐこと、3)各駅における時間的に隣り合う前記入場ノード同士、前記出場ノード同士、前記駅滞在ノード同士をエッジで繋ぐこと、4)各エッジに所与のコストを設定すること、を行ってダイヤネットワークを作成する作成手段と、
前記ダイヤネットワークのうちの所与の探索対象入場ノードから所与の探索対象出場ノードに至る最小コスト経路を、前記エッジに設定されたコストに基づいて探索する探索手段と、
を備えた旅客移動経路推定装置を構成しても良い。
As another invention
Based on a given train schedule, 1) set arrival nodes and departure nodes that represent events related to arrivals and departures at each station of each train, and connect the arrival nodes and departure nodes with edges along the operation of the train. 2) Corresponding to the arrival node and the departure node of each station of each train, an entrance node and an exit node representing an event related to the entry and exit of passengers at the station, and a station stay node of the station are set. The station stay node is connected to the corresponding arrival node or the departure node at the edge, the entrance node is connected to the corresponding departure node at the edge, and the entry node is connected to the corresponding arrival node at the edge. 3) Connecting the entrance nodes, the entry nodes, and the station stay nodes that are adjacent to each other in time at each station with an edge, and 4) setting a given cost at each edge to form a diamond network. How to create and how to create
A search means for searching the minimum cost route from a given search target entry node to a given search target entry node in the diamond network based on the cost set at the edge.
A passenger movement route estimation device including the above may be configured.

第1の発明等によれば、所与のダイヤに基づくダイヤネットワークとして、各駅の各列車の着ノード及び発ノードそれぞれに対応して駅滞在ノードを設定し、当該駅滞在ノードを対応する着ノード又は発ノードとエッジで繋ぐとともに、入場ノードを対応する発ノードとエッジで繋ぎ、出場ノードを対応する着ノードとエッジで繋ぎ、各駅における時間的に隣り合う入場ノード同士、出場ノード同士、駅滞在ノード同士、をエッジで繋ぐことで、旅客の駅改札内での滞在を考慮したダイヤネットワークを作成することができる。そして、作成したダイヤネットワークの所与の探索対象入場ノードから所与の探索対象出場ノードに至る最小コスト経路をエッジに設定されたコストに基づき探索することで、駅改札内での滞在を考慮した旅客の移動経路の推定が可能となる。例えば、各駅のエッジのコストを当該駅改札内での滞在のし易さに応じて設定することで、旅客の移動経路として、滞在のし易い駅に滞在するような経路を推定することができる。 According to the first invention or the like, as a diamond network based on a given timetable, a station stay node is set corresponding to each train arrival node and departure node of each station, and the station stay node corresponds to the arrival node. Alternatively, connect the departure node with the edge, connect the entry node with the corresponding departure node with the edge, connect the entry node with the corresponding arrival node with the edge, and connect the entry nodes that are temporally adjacent to each other at each station, the entry nodes, and the station stay. By connecting the nodes with an edge, it is possible to create a diamond network that takes into consideration the passenger's stay at the station ticket gate. Then, by searching for the minimum cost route from the given search target entry node of the created diamond network to the given search target entry node based on the cost set at the edge, the stay in the station ticket gate was considered. It is possible to estimate the travel route of passengers. For example, by setting the cost of the edge of each station according to the ease of staying at the ticket gate of the station, it is possible to estimate a route for passengers to stay at a station where it is easy to stay. ..

第2の発明は、第1の発明のプログラムであって、
前記探索手段は、
前記探索対象出場ノードから遡るようにして最小コストとなる前記エッジを選択してゆくことで、選択したエッジに繋がれているノードから前記探索対象出場ノードに至るまでの最小コスト経路を順次確定してゆく経路探索処理を行って、前記探索対象入場ノードから前記探索対象出場ノードに至る最小コスト経路を探索する、
プログラムである。
The second invention is a program of the first invention.
The search means
By selecting the edge that has the minimum cost by going back from the search target participation node, the minimum cost route from the node connected to the selected edge to the search target participation node is sequentially determined. Performs a route search process to search for the minimum cost route from the search target entry node to the search target entry node.
It is a program.

第2の発明によれば、最小コスト経路の探索は、探索対象出場ノードから遡るようにして最小コストとなるエッジを選択してゆくことで、選択したエッジに繋がれているノードから探索対象出場ノードに至るまでの最小コスト経路を順次確定してゆく経路探索処理によって行われる。 According to the second invention, in the search of the minimum cost route, the search target participation is performed from the node connected to the selected edge by selecting the edge having the minimum cost by tracing back from the search target participation node. It is performed by a route search process that sequentially determines the minimum cost route to the node.

第3の発明は、第2の発明のプログラムであって、
各旅客の入場駅、入場時刻、出場駅及び出場時刻が定められた入出場データに基づいて、前記ダイヤネットワークにおける前記各旅客の入場ノード(以下「特定入場ノード」という)及び出場ノード(以下「特定出場ノード」という)を特定する特定手段、
として前記コンピュータを機能させ、
前記探索手段は、
前記特定出場ノードが同じ旅客について、当該特定出場ノードを前記探索対象出場ノードとし、重複する最小コスト経路の探索結果を流用することで、重複する探索を省略した前記経路探索処理を行って、当該特定出場ノードが同じ旅客に関する各特定入場ノードから当該特定出場ノードまでの最小コスト経路を探索する、
プログラムである。
The third invention is a program of the second invention.
Based on the entry / exit data in which the entry station, entry time, entry station, and entry time of each passenger are determined, the entry node (hereinafter referred to as "specific entry node") and entry node (hereinafter "specific entry node") of each passenger in the timetable network. Specific means to identify (referred to as "specific participation node"),
To make the computer function as
The search means
For passengers with the same specific participation node, the specific participation node is set as the search target participation node, and the search result of the overlapping minimum cost route is diverted to perform the route search process omitting the duplicate search. Search for the minimum cost route from each specific entry node to the specific entry node for the same passenger with the specific entry node.
It is a program.

第3の発明によれば、探索対象出場ノードから遡るようにした最小コスト経路の探索が第2の発明の経路探索処理によって行われることで、特定出場ノードが同じ旅客についての最小コスト経路は、当該特定出場ノードに至る一部の経路部分が重複することになる。このため、重複する探索結果を流用することで、旅客の移動経路の推定にかかる演算量を削減し、処理の高速化を図ることができる。 According to the third invention, the search for the minimum cost route traced back from the search target participation node is performed by the route search process of the second invention, so that the minimum cost route for passengers having the same specific participation node is determined. Part of the route to the specific participating node will overlap. Therefore, by diverting the duplicated search results, it is possible to reduce the amount of calculation required for estimating the passenger's movement route and speed up the processing.

第4の発明は、第3の発明のプログラムであって、
前記探索手段は、
前記特定出場ノードが同じ旅客について、前記特定入場ノードの設定時刻の早い順に前記経路探索処理を行う、
プログラムである。
The fourth invention is a program of the third invention.
The search means
For passengers with the same specific entry node, the route search process is performed in the order of the earliest set time of the specific entry node.
It is a program.

第4の発明によれば、特定出場ノードが同じ旅客について、特定入場ノードの設定時刻の早い順に経路探索処理を行うことで、先行して広い範囲の経路探索処理を行うこととなり、後から経路探索処理を行う場合には重複する最小コスト経路の経路部分がより広い範囲となり得るため、旅客の移動経路の推定に要する演算量の更なる削減を図ることが可能となる。 According to the fourth invention, for passengers having the same specific entry node, the route search process is performed in the order of the earliest set time of the specific entry node, so that the route search process is performed in a wide range in advance, and the route is performed later. When the search process is performed, the route portion of the overlapping minimum cost route can be in a wider range, so that it is possible to further reduce the amount of calculation required for estimating the movement route of the passenger.

第5の発明は、第3又は第4の発明のプログラムであって、
前記探索手段は、
前記特定出場ノードが同じ旅客のグループのうち、前記特定出場ノードの設定時刻の遅いグループから順に最小コスト経路の探索を行い、
今回探索するグループに係る前記特定出場ノードが、従前のグループで探索した最小コスト経路内に経由ノードとして含まれている場合に、当該経由ノードから遡って探索済みの探索結果を流用することで、重複する探索を省略した前記経路探索処理を行う、
プログラムである。
The fifth invention is a program of the third or fourth invention.
The search means
From the group of passengers with the same specific participation node, the minimum cost route is searched in order from the group with the latest set time of the specific participation node.
When the specific participating node related to the group to be searched this time is included as a transit node in the minimum cost route searched in the previous group, the search result searched retroactively from the transit node can be diverted. Perform the route search process omitting the duplicate search.
It is a program.

第5の発明によれば、今回探索するグループに係る特定出場ノードが従前のグループで探索した最小コスト経路内に経由ノードとして含まれている場合、今回の探索と従前の探索とで最小コスト経路の一部が重複しているので、従前の探索結果を流用することで、旅客の移動経路の推定に要する演算量の更なる削減を図ることが可能となる。 According to the fifth invention, when the specific participating node related to the group to be searched this time is included as a transit node in the minimum cost route searched by the previous group, the minimum cost route in the current search and the previous search. Since a part of the above is duplicated, it is possible to further reduce the amount of calculation required for estimating the movement route of the passenger by diverting the previous search result.

ダイヤネットワークの一例。An example of a diamond network. 列車ダイヤの一例。An example of a train schedule. 図2の列車ダイヤを表すダイヤネットワーク。A diamond network representing the train schedule shown in FIG. 入出場データの一例。An example of entry / exit data. 入出場データに対するグループ分けの一例。An example of grouping for entry / exit data. 図4の入出場データに対応する探索ノードペアリスト。A search node pair list corresponding to the entry / exit data of FIG. 最小コスト経路の探索の一例。An example of searching for the lowest cost route. 旅客移動経路推定装置の機能構成図。Functional configuration diagram of the passenger movement route estimation device. 旅客移動経路推定処理のフローチャート。Flowchart of passenger movement route estimation processing. 最小コスト経路の探索の一例。An example of searching for the lowest cost route. 最小コスト経路の探索の一例。An example of searching for the lowest cost route.

[概要]
本実施形態は、所与の列車ダイヤに対する旅客流動推定のため、自動改札機から取得できる各旅客の通過時刻(入出場時刻)の記録データ(入出場データ)に基づく多数の旅客を想定し、列車ダイヤ上の旅客の移動をモデル化したダイヤネットワークを用いて、各旅客の乗車列車や乗換駅などを特定した移動経路を推定するものである。
[Overview]
In this embodiment, in order to estimate the passenger flow for a given train schedule, it is assumed that a large number of passengers are based on the recorded data (entrance / exit data) of the passage time (entrance / exit time) of each passenger that can be acquired from the automatic ticket gate. Using a diamond network that models the movement of passengers on the train schedule, the movement route that specifies the boarding train and transfer station of each passenger is estimated.

[原理]
(A)ダイヤネットワーク
図1は、ダイヤネットワークの概略を説明するため、部分的に示した一例である。図1に示すように、ダイヤネットワークは、列車や旅客に関する事象を表すノードP(Pa,Pb,Pc,Pd,Pe)を、旅客の移動を表すエッジQ(Qa,Qb,Qc,Qd,Qe)で繋いで構成される。また、図面に向かって右方向が時間経過を表し、エッジQは時間経過に沿った方向にのみ繋がれ、時間経過に逆らう方向へは繋がれない。
[principle]
(A) Diamond network FIG. 1 is an example partially shown for explaining the outline of the diamond network. As shown in FIG. 1, the diamond network has nodes P (Pa, Pb, Pc, Pd, Pe) representing events related to trains and passengers, and edges Q (Qa, Qb, Qc, Qd, Qe) representing the movement of passengers. ) Is connected. Further, the right direction of the drawing represents the passage of time, and the edge Q is connected only in the direction along the passage of time, not in the direction against the passage of time.

ノードPは、列車ダイヤ(列車運行)に従った列車が駅に到着する事象(着駅および着時刻)を表す着ノードPaと、列車ダイヤ(列車運行)に従った列車が駅から発車する事象(発駅および発時刻)を表す発ノードPbと、発ノードPbに対応して旅客の駅改札内への入場を表す入場ノードPcと、着ノードPaに対応して旅客の駅改札外への出場を表す出場ノードPdと、着ノードPa及び発ノードPbそれぞれに対応して旅客の駅改札内での滞在を表す駅滞在ノードPeと、を含む。 Node P is the arrival node Pa, which represents the event (arrival station and arrival time) when the train arrives at the station according to the train schedule (train operation), and the event where the train according to the train schedule (train operation) departs from the station. Departure node Pb indicating (departure station and departure time), entrance node Pc indicating passenger entry into the station ticket gate corresponding to departure node Pb, and passenger outside the station ticket gate corresponding to arrival node Pa It includes a participation node Pd representing participation and a station stay node Pe indicating a passenger's stay in the station ticket gate corresponding to each of the arrival node Pa and the departure node Pb.

各ノードPには、該当する事象の発生時刻を表す基準時刻が定められる。時刻は図面に向かって左右方向の位置で示される。すなわち、着ノードPaの基準時刻は、該当列車の該当駅の着時刻であり、発ノードPbの基準時刻は、該当列車の該当駅の発時刻であり、入場ノードPcの基準時刻は、対応する発ノードPbの基準時刻(発時刻)と同じであり、出場ノードPdの基準時刻は、対応する着ノードPaの基準時刻(着時刻)と同じであり、駅滞在ノードPeの基準時刻は、対応する着ノードPa或いは発ノードPbの基準時刻と同じである。 A reference time representing the occurrence time of the corresponding event is set for each node P. The time is indicated in the horizontal position with respect to the drawing. That is, the reference time of the arrival node Pa is the arrival time of the corresponding station of the corresponding train, the reference time of the departure node Pb is the departure time of the corresponding station of the corresponding train, and the reference time of the entrance node Pc corresponds to it. It is the same as the reference time (departure time) of the departure node Pb, the reference time of the participation node Pd is the same as the reference time (arrival time) of the corresponding arrival node Pa, and the reference time of the station stay node Pe corresponds to it. It is the same as the reference time of the incoming node Pa or the outgoing node Pb.

エッジQは、基準時刻が早いほうのノードPから遅いほうのノードPに向かう有向エッジであり、列車ダイヤ(列車運行)に沿って各列車の着ノードPa及び発ノードPbを繋ぐ列車エッジQaと、各駅において駅滞在ノードPeとそれに対応する着ノードPa又は発ノードPbとを繋ぐ、或いは、入場ノードPcとそれに対応する発ノードPbとを繋ぐ、或いは、出場ノードとそれに対応する着ノードPaとを繋ぐ乗降エッジQbと、各駅において基準時刻が前後の駅滞在ノードPe同士を繋ぐエッジであって、旅客が当該駅改札内に滞在していることを表す駅滞在エッジQeと、各駅において基準時刻が前後の入場ノードPc同士を繋ぐエッジであって、入場した旅客が当該駅改札内に滞在していることを表す入場エッジQcと、各駅において基準時刻が前後の出場ノードPd同士を繋ぐエッジであって、目的駅で降車した旅客が当該駅改札内に滞在していることを表す出場エッジQdと、を含む。 The edge Q is a directed edge from the earlier node P to the later node P, and is a train edge Qa connecting the arrival node Pa and the departure node Pb of each train along the train schedule (train operation). At each station, the station stay node Pe and the corresponding arrival node Pa or the departure node Pb are connected, or the entrance node Pc and the corresponding departure node Pb are connected, or the entry node and the corresponding arrival node Pa are connected. The boarding / alighting edge Qb that connects the two, and the station stay edge Qe that indicates that the passenger is staying in the ticket gate of the station, which is the edge that connects the station stay nodes Pe that have the reference time before and after at each station, and the reference at each station. The edge that connects the entry nodes Pc before and after the time, and the entry edge Qc that indicates that the passenger who entered is staying in the ticket gate of the station, and the edge that connects the entry nodes Pd whose reference time is before and after at each station. The entry edge Qd, which indicates that the passenger who got off at the destination station is staying in the ticket gate of the station, is included.

各エッジQにはコストが設定される。コストとは、そのエッジQの経路としての選択され難さを示す値であり、小さい方が経路として選択され易いことを示す。なお、コストの代わりに、逆に大きい方が選択され易い値を定義して用いてもよいが、その場合には、その値の大小関係を逆にした値(例えば逆数)がコストに相当することとなるため、コストと均等の値といえる。本実施形態では、基本的には、ノードP間の遷移に要する時間、すなわち、エッジQの始端ノードの基準時刻と終端ノードの基準時刻との時間差に応じた値が、エッジQのコストとして設定される。各エッジQのコストは、時間差に加え、そのエッジを通る経路が選択され易いように設定できる。例えば、なるべく駅に滞在するような経路が選択されるようにするには、駅滞在エッジQeや入場エッジQc、出場エッジQdのコストを小さくし、逆に、なるべく列車に乗っているような経路が選択されるようにするには、列車エッジQaのコストを小さくするように設定する。また、駅滞在エッジQe、入場エッジQc及び出場エッジQdについても、時間差に加え、該当駅の滞在のし易さを考慮してコストが設定される。この“滞在のし易さ”とは、旅客が列車の乗り換え以外の目的で旅客が滞在する傾向にあることを意味し、例えば、駅ナカ施設を備える駅における各エッジQのコストを、他の駅における各エッジQよりも小さくするように設定することができる。これにより、滞在し易い特定の駅に滞在するような移動経路を推定することができる。 A cost is set for each edge Q. The cost is a value indicating the difficulty of selecting the edge Q as a route, and the smaller the cost, the easier it is to be selected as a route. On the contrary, instead of the cost, a value that is easier to be selected may be defined and used, but in that case, the value obtained by reversing the magnitude relation of the value (for example, the reciprocal) corresponds to the cost. Therefore, it can be said that the value is equal to the cost. In the present embodiment, basically, the time required for the transition between the nodes P, that is, the value corresponding to the time difference between the reference time of the start node of the edge Q and the reference time of the end node is set as the cost of the edge Q. Will be done. The cost of each edge Q can be set so that a route passing through the edge can be easily selected in addition to the time difference. For example, in order to select a route that stays at the station as much as possible, the costs of the station stay edge Qe, the entrance edge Qc, and the entry edge Qd should be reduced, and conversely, the route that is on the train as much as possible. Is set to reduce the cost of the train edge Qa so that is selected. In addition, the costs of the station stay edge Qe, the entrance edge Qc, and the entry edge Qd are set in consideration of the ease of staying at the relevant station in addition to the time difference. This "ease of stay" means that passengers tend to stay for purposes other than changing trains, for example, the cost of each edge Q at a station equipped with station Naka facilities, other It can be set to be smaller than each edge Q at the station. As a result, it is possible to estimate a travel route for staying at a specific station where it is easy to stay.

(B)移動経路の推定
具体例として、図2に示す列車ダイヤに対する旅客の移動経路の推定を説明する。図2の列車ダイヤは、C駅からB駅を経由してA駅に向かう3本の列車(1〜3列車)で構成される。この列車ダイヤに対して、C駅又はB駅に入場してA駅から出場する旅客を想定する。
(B) Estimating the movement route As a specific example, the estimation of the passenger's movement route with respect to the train schedule shown in FIG. 2 will be described. The train schedule in FIG. 2 is composed of three trains (1 to 3 trains) heading from station C to station A via station B. For this train schedule, it is assumed that a passenger enters C station or B station and exits from A station.

図3は、図2の列車ダイヤに対するダイヤネットワークである。C駅又はB駅に入場してA駅から出場する旅客を想定しているため、図3のダイヤネットワークでは、C駅の着ノードPa、出場ノードPd、及び、駅滞在ノードPeと、B駅の出場ノードPdと、A駅の発ノードPb、入場ノードPc、及び、駅滞在ノードPeと、を省略している。つまり、C駅における1〜3列車それぞれの発ノードPb5,Pb4,Pb3と、B駅における1,2列車それぞれの着ノードPa5,Pa4及び発ノードPb2,Pb1と、A駅における1〜3列車それぞれの着ノードPa3,Pa1,Pa2と、B駅における1,2列車それぞれの着ノードPa5,Pa4及び発ノードPb2,Pb1それぞれに対応する駅滞在ノードPe4,Pe2,Pe3,Pe1と、C駅における1〜3列車それぞれの発ノードPb5,Pb4,Pb3に対応する3つの入場ノードPc5,Pc4,Pc3と、B駅における1,2列車それぞれの発ノードPb2,Pb1に対応する2つの入場ノードPc2,Pc1と、A駅における1〜3列車それぞれの着ノードPa3,Pa1,Pa2に対応する3つの出場ノードPd3,Pd1,Pd2と、を有するダイヤネットワークとなっている。 FIG. 3 is a diagram network for the train diagram of FIG. Since it is assumed that passengers enter C station or B station and exit from A station, in the timetable network of FIG. 3, the arrival node Pa, entry node Pd, station stay node Pe, and station B station of C station are assumed. Participation node Pd, departure node Pb of station A, entry node Pc, and station stay node Pe are omitted. That is, the departure nodes Pb5, Pb4, Pb3 of the 1st to 3rd trains at the C station, the arrival nodes Pa5, Pa4 and the departure nodes Pb2, Pb1 of the 1st and 2nd trains at the B station, and the 1st to 3rd trains at the A station, respectively. Arrival nodes Pa3, Pa1, Pa2, station stay nodes Pe4, Pe2, Pe3, Pe1 corresponding to the arrival nodes Pa5, Pa4 and departure nodes Pb2, Pb1 of the 1st and 2nd trains at station B, and 1 at station C. ~ 3 entrance nodes Pc5, Pc4, Pc3 corresponding to the departure nodes Pb5, Pb4, Pb3 of each of the 3 trains, and 2 entrance nodes Pc2, Pc1 corresponding to the departure nodes Pb2, Pb1 of the 1st and 2nd trains at B station And, it is a diamond network having three entry nodes Pd3, Pd1, Pd2 corresponding to the arrival nodes Pa3, Pa1, Pa2 of each of the 1st to 3rd trains at the A station.

図4は、入出場データ306の一例である。入出場データ306は、1件の明細が1人の旅客の入場から出場までの1回の鉄道利用に相当する複数の明細で構成され、各明細は、入場駅、入場時刻、出場駅、及び、出場時刻のデータ項目を有する。図4に示す入出場データ306は、7件の明細で構成されており、C駅から入場してA駅から出場する6人の旅客(明細IDが“1”〜“4”,“6”,“7”に相当)と、B駅から入場してA駅から出場する1人の旅客(明細IDが“5”に相当)との7人の旅客を想定している。 FIG. 4 is an example of entry / exit data 306. The entry / exit data 306 is composed of a plurality of details in which one statement corresponds to one railroad use from entry to exit of one passenger, and each statement includes an entry station, an entry time, an entry station, and , Has a data item of entry time. The entry / exit data 306 shown in FIG. 4 is composed of seven items, and six passengers (detail IDs "1" to "4", "6") who enter from station C and exit from station A. , "7") and one passenger entering from station B and exiting from station A (corresponding to "5" in detail ID), and seven passengers are assumed.

入出場データ306で定められる各旅客について、入場ノードPc及び出場ノードPdを特定する。すなわち、ある旅客の入場駅における入場時刻の直後の入場ノードPcを、当該旅客の入場ノードPcとして特定し、出場駅における出場時刻の直前の出場ノードPdを、当該旅客の出場ノードPdとして特定する。例えば、明細IDが“1”の旅客については、“C駅”を“5:50”に入場しているので、入場ノードPcは、基準時刻が“6:00”である“入場ノードPc5”となり、“A駅”を“7:40”に出場しているので、出場ノードPdは、基準時刻が“7:30”である“出場ノードPd3”となる。 For each passenger defined in the entry / exit data 306, the entry node Pc and the entry node Pd are specified. That is, the entry node Pc immediately after the entry time at the entrance station of a certain passenger is specified as the entry node Pc of the passenger, and the entry node Pd immediately before the entry time at the entry station is specified as the entry node Pd of the passenger. .. For example, for a passenger whose detail ID is "1", since "C station" is entered at "5:50", the entrance node Pc is "entrance node Pc5" whose reference time is "6:00". Therefore, since the player participates in "A station" at "7:40", the participation node Pd becomes the "participation node Pd3" whose reference time is "7:30".

そして、これらの各旅客について、ダイヤネットワークにおける特定した入場ノードPcから出場ノードPdに至る経路であって、経由するエッジQのコストの総和が最小となる最小コスト経路を探索することで、当該旅客の移動経路を推定する。 Then, for each of these passengers, the passenger is searched for the minimum cost route that is the route from the specified entry node Pc to the exit node Pd in the diamond network and that minimizes the total cost of the edge Q passing through. Estimate the movement route of.

(C)最小コスト経路の探索
入出場データ306によって想定される旅客は、説明の簡明化のため図4の例では7件と少ない数としたが、実際の旅客流動推定においては多数であり、この多数の旅客それぞれについて最小コスト経路の探索を行おうとすると、かかる演算量は膨大なものとなる。そこで、本実施形態では、演算量の削減のため、最小コスト経路の探索を次のように行っている。
(C) Search for the minimum cost route The number of passengers assumed by the entry / exit data 306 is as small as 7 in the example of FIG. 4 for the sake of simplification of explanation, but it is large in the actual passenger flow estimation. If we try to search for the minimum cost route for each of these many passengers, the amount of calculation will be enormous. Therefore, in the present embodiment, in order to reduce the amount of calculation, the search for the minimum cost route is performed as follows.

先ず、図5に示すように、旅客を出場ノードPdでグループ分けし、出場ノードPdの基準時刻が遅い順に並べ替える。更に、各グループについて、旅客を入場ノードPcの基準時刻が早い順に並べ替える。すなわち、図4に示す入出場データ306の各旅客は、出場ノードPdの基準時刻が遅い順に、3人の旅客(明細IDが“3”,“5”,“7”に相当)を含む出場ノードPd1のグループと、3人の旅客(明細IDが“2”,“4”,“6”に相当)を含む出場ノードPd2のグループと、1人の旅客(明細IDが“1”に相当)を含む出場ノードPd3のグループと、にグループ分けされ、さらに各グループ内において、入場ノードPcの基準時刻が早い順に旅客が並べ替えられている。 First, as shown in FIG. 5, passengers are grouped by the participation node Pd and sorted in the order of the latest reference time of the participation node Pd. Further, for each group, the passengers are sorted in order from the earliest reference time of the entrance node Pc. That is, each passenger of the entry / exit data 306 shown in FIG. 4 participates including three passengers (corresponding to the detailed IDs “3”, “5”, “7”) in the order of the latest reference time of the entry node Pd. A group of participating nodes Pd2 including a group of node Pd1 and three passengers (corresponding to detail IDs "2", "4", "6") and one passenger (corresponding to detail ID "1") ) Is included in the group of the entry node Pd3, and the passengers are further sorted in each group in the order of the earliest reference time of the entry node Pc.

次いで、このグループ分けの結果をもとに、各旅客の入場ノードPcと出場ノードPdとの組み合わせを最小コスト経路の探索対象となる探索ノードペアとして、これらを重複無しで列挙した探索ノードペアリスト310を作成する。 Next, based on the result of this grouping, the combination of the entry node Pc and the exit node Pd of each passenger is set as the search node pair to be searched for the minimum cost route, and the search node pair list 310 listing these without duplication is provided. create.

図6は、図4の入出場データ306に対して作成された探索ノードペアリスト310である。探索ノードペアリスト310では、探索ノードペアが、出場ノードPdの基準時刻が遅いグループから順に列挙されているとともに、各グループにおいて、入場ノードPcの基準時刻が早い順に列挙されている。図6の探索ノードペアリスト310では、6組の探索ノードペアが、出場ノードPd1を含む3組の探索ノードペア、出場ノードPd2を含む2組の探索ノードペア、出場ノードPd3を含む1組の探索ノードペアの順に列挙されている。探索ノードペアリスト310において、各探索ノードペアに対応付けられている“探索フラグ”は、当該探索ノードペアについての最小コスト経路が探索されたかを示すフラグである。 FIG. 6 is a search node pair list 310 created for the entry / exit data 306 of FIG. In the search node pair list 310, the search node pairs are listed in order from the group with the latest reference time of the entry node Pd, and in each group, the reference time of the entry node Pc is listed in the order of earliest. In the search node pair list 310 of FIG. 6, the six search node pairs are in the order of three search node pairs including the participation node Pd1, two search node pairs including the participation node Pd2, and one search node pair including the participation node Pd3. Enumerated. In the search node pair list 310, the “search flag” associated with each search node pair is a flag indicating whether the minimum cost route for the search node pair has been searched.

探索ノードペアリスト310の作成を行うことで、入場ノードPc及び出場ノードPdの組み合わせが同じ複数の旅客については、当該組み合わせについて最小コスト経路の探索を1回行えば済むため、同じ組み合わせについての最小コスト経路の探索を複数回行ってしまうことを防止できる。 By creating the search node pair list 310, for a plurality of passengers who have the same combination of the entry node Pc and the entry node Pd, it is sufficient to search the minimum cost route once for the combination, so that the minimum cost for the same combination is the minimum cost. It is possible to prevent the route from being searched multiple times.

そして、このように作成した探索ノードペアリスト310に列挙されている順に、探索ノードペアを探索対象として選択し、入場ノードPcから出場ノードPdに至る最小コスト経路を探索する。探索ノードペアリスト310では、探索ノードペアが、出場ノードPdの基準時刻が遅いグループから順に列挙されているとともに、各グループについては入場ノードPcの基準時刻が早い順に列挙されているため、出場ノードPdの基準時刻が最も遅い探索ノードペアのうち、入場ノードPcの基準時刻が最も早い探索ノードペアが、最初の探索対象となる。すなわち、図6の例では、入場ノードPc4、及び、出場ノードPd1の探索ノードペアが、最初の探索の対象となる。 Then, the search node pair is selected as the search target in the order listed in the search node pair list 310 created in this way, and the minimum cost route from the entry node Pc to the entry node Pd is searched. In the search node pair list 310, the search node pairs are listed in order from the group with the latest reference time of the entry node Pd, and each group is listed in order from the earliest reference time of the entry node Pc. Among the search node pairs with the latest reference time, the search node pair with the earliest reference time of the entrance node Pc is the first search target. That is, in the example of FIG. 6, the entry node Pc4 and the search node pair of the entry node Pd1 are the targets of the first search.

図7は、最小コスト経路の探索の説明図である。図7では、入場ノードPc4から出場ノードPd1に至る最小コスト経路の探索を行う場合を示している。最小コスト経路の探索は、ダイクストラ法に基づく経路探索法によって行う。すなわち、経路の終点となる出場ノードPd1から、エッジQを逆方向に遡るようにして出場ノードPd1に至る経路のコストが最小となるノードを順次確定してゆき、経路の始点となる入場ノードPc4に到達した時点で探索を終了する経路探索法であり、この探索の過程において、出場ノードPd1に至る経路の最小コストが求められた(以下、「探索済み」という)各ノードPについて、当該最小コストと、当該経路の次のエッジQと、の情報(以下、「ノード探索情報」という)を記憶しておく。 FIG. 7 is an explanatory diagram of the search for the minimum cost route. FIG. 7 shows a case where the search for the minimum cost route from the entry node Pc4 to the entry node Pd1 is performed. The search for the minimum cost route is performed by the route search method based on Dijkstra's algorithm. That is, the node that minimizes the cost of the route from the entry node Pd1 that is the end point of the route to the entry node Pd1 by tracing the edge Q in the opposite direction is sequentially determined, and the entry node Pc4 that is the start point of the route is determined. This is a route search method that ends the search when the node P reaches, and in the process of this search, the minimum cost of the route to the participating node Pd1 is obtained (hereinafter, referred to as “searched”) for each node P. Information on the cost and the next edge Q of the route (hereinafter referred to as "node search information") is stored.

図7は、探索が終了した時点における状態であり、探索済みの各ノードPについてノード探索情報が示されている。つまり、入場ノードPc4から出場ノードPd1に至る最小コスト経路として、入場ノードPc4から、入場ノードPc3、発ノードPb3、着ノードPa2、出場ノードPd2を経由して、出場ノードPd1に至る経路が探索されたことが示されている。 FIG. 7 shows a state at the time when the search is completed, and node search information is shown for each node P that has been searched. That is, as the minimum cost route from the entry node Pc4 to the entry node Pd1, the route from the entry node Pc4 to the entry node Pd1 via the entry node Pc3, the departure node Pb3, the arrival node Pa2, and the entry node Pd2 is searched. It is shown that

この経路探索法の特徴として、求めたい経路の始点である入場ノードPc4から終点である出場ノードPd1に至る最小コスト経路の探索過程において、他のノードPから終点である出場ノードPd1に至る最小コスト経路も求められることが挙げられる。図7の例では、入場ノードPc4から出場ノードPd1に至る最小コスト経路の探索過程において、他の入場ノードPcそれぞれから、出場ノードPd1に至る最小コスト経路も求められている。すなわち、図6の探索ノードペアリスト310において、同じ出場ノードPd1のグループに列挙されている、入場ノードPc2と出場ノードPd1との探索ノードペア、及び、入場ノードPc3と出場ノードPd1との探索ノードペアについても、最小コスト経路が求められたことになる。 A feature of this route search method is the minimum cost from another node P to the entry node Pd1 which is the end point in the search process of the minimum cost route from the entry node Pc4 which is the start point of the desired route to the entry node Pd1 which is the end point. The route is also required. In the example of FIG. 7, in the process of searching for the minimum cost route from the entry node Pc4 to the entry node Pd1, the minimum cost route from each of the other entry nodes Pc to the entry node Pd1 is also obtained. That is, in the search node pair list 310 of FIG. 6, the search node pair of the entry node Pc2 and the entry node Pd1 and the search node pair of the entry node Pc3 and the entry node Pd1 are also listed in the same group of the entry node Pd1. , The minimum cost route has been sought.

つまり、探索ノードペアリスト310に列挙されているある出場ノードPdのグループについて、最初に、入場ノードPcの基準時刻が最も早い探索ノードペアについて探索を行うことで、ダイヤネットワークにおける探索範囲が最も“広い”範囲となり得るため、その探索過程において、同じグループの他の探索ノードペアについても最小コスト経路を求めている可能性が高まることになる。これにより、出場ノードPdが同じ旅客について、重複する最小コスト経路の探索結果を流用することで、重複する経路の探索を省略した最小コスト経路の探索を行うことができる。 That is, for a group of participating nodes Pd listed in the search node pair list 310, the search range in the diamond network is the widest by first searching for the search node pair having the earliest reference time of the entry node Pc. Since it can be a range, it is more likely that the minimum cost route is being sought for other search node pairs in the same group during the search process. As a result, it is possible to search for the minimum cost route without searching for the overlapping route by diverting the search result of the overlapping minimum cost route for the passengers having the same participating node Pd.

[機能構成]
図8は、旅客移動経路推定装置1の機能構成図である。図8によれば、旅客移動経路推定装置1は、操作入力部102と、表示部104と、音出力部106と、通信部108と、処理部200と、記憶部300とを備え、一種のコンピュータシステムとして構成される。
[Functional configuration]
FIG. 8 is a functional configuration diagram of the passenger movement route estimation device 1. According to FIG. 8, the passenger movement route estimation device 1 includes an operation input unit 102, a display unit 104, a sound output unit 106, a communication unit 108, a processing unit 200, and a storage unit 300, and is a kind of type. It is configured as a computer system.

操作入力部102は、例えばキーボードやマウス、タッチパネル、各種スイッチ等で実現される入力装置であり、操作入力に応じた操作信号を処理部200に出力する。表示部104は、例えば液晶ディスプレイや有機ELディスプレイ等で実現される表示装置であり、処理部200からの表示信号に基づく各種表示を行う。音出力部106は、例えばスピーカ等で実現される音声出力装置であり、処理部200からの音声信号に基づく各種音声出力を行う。通信部108は、例えば無線通信モジュール、有線用の通信ケーブルのジャックや制御回路等で実現される通信装置であり、外部装置との間でデータ通信を行う。 The operation input unit 102 is an input device realized by, for example, a keyboard, a mouse, a touch panel, various switches, etc., and outputs an operation signal corresponding to the operation input to the processing unit 200. The display unit 104 is a display device realized by, for example, a liquid crystal display or an organic EL display, and performs various displays based on a display signal from the processing unit 200. The sound output unit 106 is an audio output device realized by, for example, a speaker or the like, and outputs various audio based on an audio signal from the processing unit 200. The communication unit 108 is a communication device realized by, for example, a wireless communication module, a jack of a wired communication cable, a control circuit, or the like, and performs data communication with an external device.

処理部200は、例えばCPU(Central Processing Unit)等の演算装置で実現され、記憶部300に記憶されたプログラムやデータに従って、所与の列車ダイヤに沿った旅客の移動経路の推定を行う。旅客の移動経路の推定を実現する機能部として、処理部200は、ダイヤネットワーク作成部202と、入出場ノード特定部204と、探索ノードペアリスト作成部206と、最小コスト経路探索部208と、移動経路推定部210とを有し、旅客移動経路推定プログラム302に従った旅客移動経路推定処理(図9参照)を行う。これらの機能部は、プログラムを実行することによりソフトウェアとして実現される処理ブロックであってもよいし、ASIC(Application Specific Integrated Circuit)や、FPGA(Field Programmable Gate Array)等のハードウェア回路によって実現される回路ブロックであってもよい。本実施形態では、旅客移動経路推定プログラム302を実行することにより、ソフトウェアとして実現される処理ブロックとして説明する。 The processing unit 200 is realized by an arithmetic unit such as a CPU (Central Processing Unit), and estimates a passenger's movement route along a given train schedule according to a program or data stored in the storage unit 300. As a functional unit that realizes the estimation of the passenger's movement route, the processing unit 200 moves with the diamond network creation unit 202, the entry / exit node identification unit 204, the search node pair list creation unit 206, and the minimum cost route search unit 208. It has a route estimation unit 210 and performs passenger movement route estimation processing (see FIG. 9) according to the passenger movement route estimation program 302. These functional parts may be processing blocks realized as software by executing a program, or are realized by hardware circuits such as ASIC (Application Specific Integrated Circuit) and FPGA (Field Programmable Gate Array). It may be a circuit block. In the present embodiment, it will be described as a processing block realized as software by executing the passenger movement route estimation program 302.

ダイヤネットワーク作成部202は、作成手段に相当し、所与の列車ダイヤに基づいて、1)各列車の各駅の着発に係る事象を表す着ノード及び発ノードを設定し、列車の運行に沿って着ノード及び発ノードをエッジで繋ぐこと、2)各列車の各駅の着ノード及び発ノードに対応して、当該駅における旅客の入出場に係る事象を表す入場ノード及び出場ノードと、当該駅の駅滞在ノードとを設定して、当該駅滞在ノードを対応する着ノード又は発ノードとエッジで繋ぎ、前記入場ノードを対応する前記発ノードとエッジで繋ぎ、前記出場ノードを対応する前記着ノードとエッジで繋ぐこと、3)各駅における時間的に隣り合う入場ノード同士、出場ノード同士、駅滞在ノード同士をエッジで繋ぐこと、4)各エッジに所与のコストを設定すること、を行ってダイヤネットワークを作成する。 The timetable network creation unit 202 corresponds to the creation means, and based on a given train timetable, 1) sets arrival nodes and departure nodes that represent events related to arrivals and departures at each station of each train, and follows the operation of the train. Connecting the arrival node and departure node with an edge, 2) Corresponding to the arrival node and departure node of each station of each train, the entrance node and exit node representing the event related to the entry and exit of passengers at the station, and the station Station stay node is set, the station stay node is connected to the corresponding arrival node or departure node at the edge, the entrance node is connected to the corresponding departure node at the edge, and the entry node is connected to the corresponding arrival node. 3) Connecting entry nodes, exit nodes, and station stay nodes that are adjacent in time at each station with an edge, and 4) Setting a given cost for each edge. Create a diamond network.

すなわち、列車ダイヤデータ304として記憶されている所与のダイヤを表すダイヤネットワークを作成する。具体的には、各列車の各駅における着発事象を表す着ノードPa及び発ノードPbを設定し、列車の運行に沿って、着ノードPa及び発ノードPbを列車エッジQaで繋ぐ。また、着ノードPaに対応し旅客の駅改札外への出場を表す出場ノードPd、及び、発ノードPbに対応し旅客の駅改札内への入場を表す入場ノードPcの設定し、着ノードPa及び発ノードPbを、対応する出場ノード又は入場ノードPcと乗降エッジQbで繋ぐ。更に、各駅において、基準時刻が前後の出場ノードPd同士を出場エッジQdで繋ぎ、基準時刻が前後の入場ノードPc同士を入場エッジQcで繋ぐ。また、着ノードPa及び発ノードPbそれぞれに対応する駅滞在ノードPeを設定し、駅滞在ノードPeを対応する着ノードPa又は発ノードPbに繋ぐ。更に、各駅において、基準時刻が前後の駅滞在ノードPe同士を、駅滞在エッジQeで繋ぐ。そして、各エッジQに、始端ノード及び終端ノードの基準時刻の時間差や、列車の乗り易さと駅の滞在のし易さとの相対的な差、他の駅との相対的な滞在のし易さなどに応じたコストを設定する(図1参照)。作成したダイヤネットワークは、ダイヤネットワークデータ308として記憶される。 That is, a diamond network representing a given diamond stored as train diamond data 304 is created. Specifically, the arrival node Pa and the departure node Pb representing the arrival / departure event at each station of each train are set, and the arrival node Pa and the departure node Pb are connected by the train edge Qa along with the operation of the train. In addition, the entry node Pd corresponding to the arrival node Pa and indicating the passenger's participation outside the station ticket gate and the entry node Pc corresponding to the departure node Pb indicating the passenger's entry into the station ticket gate are set, and the arrival node Pa is set. And the departure node Pb are connected to the corresponding entry node or entry node Pc by the boarding / alighting edge Qb. Further, at each station, the entry nodes Pd whose reference time is before and after are connected by the entry edge Qd, and the entry nodes Pc whose reference time is before and after are connected by the entry edge Qc. Further, the station stay node Pe corresponding to each of the arrival node Pa and the departure node Pb is set, and the station stay node Pe is connected to the corresponding arrival node Pa or the departure node Pb. Further, at each station, the station stay nodes Pes whose reference times are before and after are connected by the station stay edge Qe. Then, at each edge Q, the time difference between the reference times of the start node and the end node, the relative difference between the ease of getting on the train and the ease of staying at the station, and the relative ease of staying with other stations. Set the cost according to the above (see Fig. 1). The created diamond network is stored as diamond network data 308.

入出場ノード特定部204は、特定手段に相当し、各旅客の入場駅、入場時刻、出場駅及び出場時刻が定められた入出場データに基づいて、ダイヤネットワークにおける各旅客の入場ノード(以下「特定入場ノード」という)及び出場ノード(以下「特定出場ノード」という)を特定する。 The entry / exit node identification unit 204 corresponds to a specific means, and is based on the entry / exit data in which the entry station, entry time, entry station, and entry time of each passenger are determined, and the entry node of each passenger in the diamond network (hereinafter, "" Specify the entry node (hereinafter referred to as the "specific entry node") and the entry node (hereinafter referred to as the "specific entry node").

すなわち、入出場データ306で定められる各旅客について、入場ノードPc及び出場ノードPdを特定する。具体的には、ある旅客の入場駅における入場時刻の直後の入場ノードPcを、当該旅客の入場ノードPcとして特定し、出場駅における出場時刻の直前の出場ノードPdを、当該旅客の出場ノードPdとして特定する(図4,図5参照)。 That is, the entry node Pc and the entry node Pd are specified for each passenger defined by the entry / exit data 306. Specifically, the entry node Pc immediately after the entry time at the entrance station of a certain passenger is specified as the entry node Pc of the passenger, and the entry node Pd immediately before the entry time at the entry station is the entry node Pd of the passenger. (See FIGS. 4 and 5).

探索ノードペアリスト作成部206は、入出場データ306で定められる各旅客を、特定した出場ノードPdでグループ分けし、出場ノードPdの基準時刻が遅い順に並べ替えるとともに、各グループについて、入場ノードPcの基準時刻が早い順に並べ替える。次いで、このグループ分けの結果をもとに、各旅客の入場ノードPcと出場ノードPdとの組み合わせを探索ノードペアとして、これらを重複無しで列挙した探索ノードペアリスト310を作成する(図4〜図6参照)。 The search node pair list creation unit 206 groups each passenger defined by the entry / exit data 306 by the specified entry node Pd, sorts the passengers in the order of the latest reference time of the entry node Pd, and for each group, the entry node Pc. Sort in ascending order of reference time. Next, based on the result of this grouping, the combination of the entry node Pc and the entry node Pd of each passenger is used as a search node pair, and a search node pair list 310 in which these are listed without duplication is created (FIGS. 4 to 6). reference).

最小コスト経路探索部208は、探索手段に相当し、ダイヤネットワークのうちの所与の探索対象入場ノードから所与の探索対象出場ノードに至る最小コスト経路を、エッジに設定されたコストに基づいて探索する。また、探索対象出場ノードから遡るようにして最小コストとなるエッジを選択してゆくことで、選択したエッジに繋がれているノードから探索対象入場ノードに至るまでの最小コスト経路を順次確定してゆく経路探索処理を行って、探索対象入場ノードから探索対象出場ノードに至る最小コスト経路を探索する、また、特定出場ノードが同じ旅客について、当該特定出場ノードを探索対象出場ノードとし、重複する最小コスト経路の探索結果を流用することで、重複する探索を省略した経路探索処理を行って、特定出場ノードが同じ旅客に関する各特定入場ノードから当該特定出場ノードまでの最小コスト経路を探索する。また、特定出場ノードが同じ旅客について、特定入場ノードの設定時刻の早い順に経路探索処理を行う。また、特定出場ノードが同じ旅客のグループのうち、特定出場ノードの設定時刻の遅いグループから順に最小コスト経路の探索を行い、今回探索するグループに係る特定出場ノードが、従前のグループで探索した最小コスト経路内に経由ノードとして含まれている場合に、当該経由ノードから遡って探索済みの探索結果を流用することで、重複する探索を省略した経路探索処理を行う。 The minimum cost route search unit 208 corresponds to the search means, and sets the minimum cost route from a given search target entry node to a given search target entry node in the diamond network based on the cost set at the edge. Explore. In addition, by selecting the edge with the lowest cost by going back from the search target entry node, the minimum cost route from the node connected to the selected edge to the search target entry node is sequentially determined. The route search process is performed to search for the minimum cost route from the search target entry node to the search target entry node, and for passengers with the same specific entry node, the specific entry node is set as the search target entry node, and the minimum duplication By diverting the search result of the cost route, the route search process omitting the duplicate search is performed, and the minimum cost route from each specific entry node to the specific entry node for the same passenger is searched for by the specific entry node. In addition, for passengers with the same specific entry node, the route search process is performed in the order of the earliest set time of the specific entry node. In addition, among the passenger groups with the same specific participation node, the minimum cost route is searched in order from the group with the latest setting time of the specific participation node, and the specific participation node related to the group to be searched this time is the minimum searched in the previous group. When it is included as a transit node in the cost route, the route search process that omits the duplicate search is performed by diverting the search result that has been searched retroactively from the transit node.

すなわち、探索ノードペアリスト310に列挙されている探索ノードペアを列挙されている順に探索対象として選択し、ダイヤネットワークにおいて探索ノードペアの入場ノードPcから出場ノードPdに至る最小コスト経路を探索する。最小コスト経路の探索は、図7を参照して説明した経路探索法によって行い、その探索過程において探索済みの各ノードPについて、当該最小コストと当該経路の次のエッジとのノード探索情報を対応付けて記憶しておく。 That is, the search node pairs listed in the search node pair list 310 are selected as search targets in the order listed, and the minimum cost route from the entry node Pc of the search node pair to the entry node Pd in the search node pair is searched for in the diamond network. The search for the minimum cost route is performed by the route search method described with reference to FIG. 7, and for each node P searched in the search process, the node search information between the minimum cost and the next edge of the route is supported. Attach and remember.

探索対象の探索ノードペアについての最小コスト経路を探索すると、探索ノードペアリスト310において、当該探索対象の探索ノードペアの探索フラグを「1」として“探索完了”とする。また、探索対象の探索ノードペアと同じ出場ノードPdのグループの他の探索ノードペアそれぞれについて、その入場ノードPcが探索過程において探索済みとなったかを判定し、入場ノードPcが探索済みとなった探索ノードペアについて、当該入場ノードPcに対応付けて記憶されているノード探索情報から当該探索ノードペアについての最小コスト経路を求め、探索フラグを「1」として“探索完了”とする。 When the minimum cost route for the search node pair to be searched is searched, the search flag of the search node pair to be searched is set to "1" in the search node pair list 310, and "search completed" is set. Further, for each of the other search node pairs in the same group of participating node Pd as the search node pair to be searched, it is determined whether the entry node Pc has been searched in the search process, and the search node pair in which the entry node Pc has been searched is determined. The minimum cost route for the search node pair is obtained from the node search information stored in association with the entry node Pc, and the search flag is set to "1" to set "search completed".

次いで、探索ノードペアリスト310において、探索対象の探索ノードペアと同じ出場ノードPdのグループに探索フラグが「0」の探索ノードペアが有るならば、その探索ノードペアを列挙順に次の探索対象として、最小コスト経路の探索を行う。このとき、求めたい経路の終点となる出場ノードPdは変わらないので、直前の探索において記憶された各ノードPのノード探索情報をそのまま利用し、直前の探索結果を引き継ぐように、探索対象の探索ノードペアの入場ノードPcに到達するまで、最小コスト経路の探索を行う。 Next, in the search node pair list 310, if there is a search node pair having a search flag of "0" in the same group of participating node Pd as the search node pair to be searched, the search node pair is set as the next search target in the order of enumeration, and the minimum cost route is set. Search for. At this time, since the participating node Pd, which is the end point of the desired route, does not change, the node search information of each node P stored in the previous search is used as it is, and the search target is searched so as to inherit the previous search result. The minimum cost route is searched until the entry node Pc of the node pair is reached.

そして、探索対象のペアと同じ出場ノードPdのグループの全ての探索ノードペアの探索フラグが「1」となったならば、探索ノードペアリスト310において列挙順に次のグループの探索ノードペアを次の探索対象として、同様に最小コスト経路の探索を行う。この場合、求めたい経路の終点となる出場ノードPdが変わるので、記憶された各ノードPのノード探索情報を全てクリアして、最小コスト経路の探索を開始する、探索した各探索ノードペアの最小コスト経路は、最小コスト経路探索結果データ312として記憶される。 Then, if the search flags of all the search node pairs in the group of the participating node Pd that is the same as the pair to be searched are set to "1", the search node pair of the next group is set as the next search target in the search node pair list 310 in the order of enumeration. , Similarly, search for the minimum cost route. In this case, since the participating node Pd, which is the end point of the desired route, changes, the minimum cost of each searched node pair that clears all the stored node search information of each node P and starts the search for the minimum cost route. The route is stored as the minimum cost route search result data 312.

移動経路推定部210は、探索された最小コスト経路に基づき、入出場データ306で定められる各旅客の移動経路を推定する。 The movement route estimation unit 210 estimates the movement route of each passenger defined by the entry / exit data 306 based on the searched minimum cost route.

すなわち、旅客それぞれについて、入場ノードPcと出場ノードPdとの組み合わせに相当する探索ノードペアについて探索された最小コスト経路から、列車ダイヤに基づき、入場駅に入場した後に出場駅で出場するまでの乗車した列車や乗り換え駅、滞在駅といった、当該旅客の移動経路を推定する。推定した各旅客の移動経路は、移動経路推定結果データ314として記憶される。 That is, for each passenger, boarding from the minimum cost route searched for the search node pair corresponding to the combination of the entry node Pc and the entry node Pd to the entry at the entry station after entering the entry station based on the train schedule. Estimate the travel route of the passenger, such as a train, transfer station, or stay station. The estimated travel route of each passenger is stored as the travel route estimation result data 314.

記憶部300は、処理部200が装置を統括的に制御するための諸機能を実現するためのプログラムやデータを記憶するとともに、処理部200の作業領域として用いられ、処理部200が各種プログラムに従って実行した演算結果や、操作入力部102や通信部108からの入力データが一時的に格納される。本実施形態では、記憶部300には、旅客移動経路推定プログラム302と、列車ダイヤデータ304と、入出場データ306と、ダイヤネットワークデータ308と、探索ノードペアリスト310と、最小コスト経路探索結果データ312と、移動経路推定結果データ314と、が記憶される。 The storage unit 300 stores programs and data for realizing various functions for the processing unit 200 to collectively control the device, and is used as a work area of the processing unit 200. The processing unit 200 follows various programs. The executed calculation result and the input data from the operation input unit 102 and the communication unit 108 are temporarily stored. In the present embodiment, the storage unit 300 contains the passenger movement route estimation program 302, the train diagram data 304, the entry / exit data 306, the diagram network data 308, the search node pair list 310, and the minimum cost route search result data 312. And the movement route estimation result data 314 are stored.

[処理の流れ]
図9は、旅客移動経路推定処理のフローチャートである。
この処理は、処理部200が旅客移動経路推定プログラム302を実行することで実現される。
[Processing flow]
FIG. 9 is a flowchart of the passenger movement route estimation process.
This process is realized by the processing unit 200 executing the passenger movement route estimation program 302.

旅客移動経路推定処理では、先ず、ダイヤネットワーク作成部202が、所与の列車ダイヤに基づくダイヤネットワークを作成する(ステップS1)。次いで、入出場ノード特定部204が、入出場データ306の各旅客について、ダイヤネットワークにおける入場ノードPc、及び、出場ノードPdを特定する(ステップS3)。 In the passenger movement route estimation process, first, the diamond network creation unit 202 creates a diamond network based on a given train schedule (step S1). Next, the entry / exit node identification unit 204 identifies the entry node Pc and the entry node Pd in the diamond network for each passenger of the entry / exit data 306 (step S3).

続いて、探索ノードペアリスト作成部206が、旅客を出場ノードPdでグループ分けし(ステップS5)、各旅客の入場ノードPcと出場ノードPdとの組み合わせである探索ノードペアを、重複無しで列挙した探索ノードペアリスト310を作成する(ステップS7)。探索ノードペアリスト310においては、出場ノードの基準時刻が遅い順にグループを列挙するとともに、各グループにおいては、入場ノードPcの基準時刻が早い順に探索ノードペアを列挙する。 Subsequently, the search node pair list creation unit 206 groups the passengers by the entry node Pd (step S5), and lists the search node pairs that are a combination of the entry node Pc and the entry node Pd of each passenger without duplication. The node pair list 310 is created (step S7). In the search node pair list 310, the groups are listed in the order of the latest reference time of the participating nodes, and in each group, the search node pairs are listed in the order of the earliest reference time of the entry node Pc.

続いて、最小コスト経路探索部208が、探索ノードペアリスト310における未探索(探索フラグが「0」)の探索ノードペアのうち、基準時刻が最も遅い出場ノードのグループを選択し(ステップS9)、選択したグループのうち、入場ノードPcの基準時刻が最も早い未探索の探索ノードペアを、探索対象として選択する(ステップS11)。そして、探索対象の探索ノードペアについて、入場ノードPcから出場ノードPdに至る最小コスト経路を探索する(ステップS13)。探索対象の探索ノードペアについての最小コスト経路を探索すると、探索ノードペアリスト310において、当該探索対象の探索ノードペアの探索フラグを「1」として“探索完了”とする(ステップS15)。また、選択したグループの他の探索ノードペアそれぞれについて、その入場ノードPcが探索過程において“探索済み”となったかを判定し、入場ノードPcが探索済みとなった探索ノードペアについて、当該入場ノードPcに対応付けて記憶されているノード探索情報から当該探索ノードペアについての最小コスト経路を求め、探索フラグを「1」として“探索完了”とする(ステップS17)。 Subsequently, the minimum cost route search unit 208 selects and selects the group of the participating nodes having the latest reference time from the unsearched (search flag is “0”) search node pair in the search node pair list 310 (step S9). Among the groups, the unsearched search node pair having the earliest reference time of the entry node Pc is selected as the search target (step S11). Then, the minimum cost route from the entry node Pc to the entry node Pd is searched for the search node pair to be searched (step S13). When the minimum cost route for the search node pair to be searched is searched, the search flag of the search node pair to be searched is set to "1" in the search node pair list 310, and "search completed" is set (step S15). Further, for each of the other search node pairs in the selected group, it is determined whether the entry node Pc has become "searched" in the search process, and the search node pair for which the entry node Pc has been searched is assigned to the entry node Pc. The minimum cost route for the search node pair is obtained from the node search information stored in association with each other, and the search flag is set to "1" to set "search completed" (step S17).

続いて、選択したグループの全ての探索ノードペアが“探索完了”となったかを判定し、未探索の探索ノードペアがあるならば(ステップS19:NO)、ステップS11に戻り、再度、未探索の探索ノードペアのうちから探索対象を選択して同様の処理を行う。 Subsequently, it is determined whether all the search node pairs in the selected group have "search completed", and if there is an unsearched search node pair (step S19: NO), the process returns to step S11, and the unsearched search is performed again. Select the search target from the node pairs and perform the same processing.

選択したグループの全ての探索ノードペアが“探索完了”となったならば(ステップS19:YES)、ダイヤネットワークの各ノードPに対応付けて記憶したノード探索情報をクリアする(ステップS21)、続いて、探索ノードペアリスト310における全ての探索ノードペアが“探索完了”となったかを判定し、未探索の探索ノードペアがあるならば(ステップS23:NO)、ステップS9に戻り、次のグループを選択して同様の処理を行う。 When all the search node pairs in the selected group are "search completed" (step S19: YES), the node search information stored in association with each node P of the diamond network is cleared (step S21), and then. , It is determined whether all the search node pairs in the search node pair list 310 are "search completed", and if there is an unsearched search node pair (step S23: NO), the process returns to step S9 and the next group is selected. Perform the same process.

全ての探索ノードペアが“探索完了”となったならば(ステップS23:YES)、移動経路推定部210が、各旅客について、探索された最小コスト経路に従って、入場駅から出場駅に至る移動経路を推定する(ステップS25)。以上の処理を行うと、旅客移動経路推定処理は終了となる。 When all the search node pairs are "search completed" (step S23: YES), the movement route estimation unit 210 determines the movement route from the entrance station to the exit station for each passenger according to the searched minimum cost route. Estimate (step S25). When the above processing is performed, the passenger movement route estimation processing is completed.

[作用効果]
このように、本実施形態によれば、所与のダイヤに基づくダイヤネットワークとして、各駅の各列車の着ノードPa及び発ノードPbそれぞれに対応して駅滞在ノードPeを設定し、当該駅滞在ノードPeを対応する着ノードPa又は発ノードPbとエッジで繋ぐとともに、入場ノードPcを対応する発ノードPbとエッジで繋ぎ、出場ノードPdを対応する着ノードPaとエッジで繋ぎ、各駅における時間的に隣り合う入場ノードPc同士、出場ノードPd同士、駅滞在ノードPe同士、をエッジで繋ぐことで、旅客の駅改札内での滞在を考慮したダイヤネットワークを作成することができる。そして、作成したダイヤネットワークの所与の探索対象入場ノードから所与の探索対象出場ノードに至る最小コスト経路をエッジに設定されたコストに基づき探索することで、駅改札内での滞在を考慮した旅客の移動経路の推定が可能となる。例えば、各駅のエッジのコストを当該駅改札内での滞在のし易さに応じて設定することで、旅客の移動経路として、滞在のし易い駅に滞在するような経路を推定することができる。
[Action effect]
As described above, according to the present embodiment, as a diamond network based on a given timetable, a station stay node Pe is set corresponding to each of the arrival node Pa and the departure node Pb of each train at each station, and the station stay node is set. Pe is connected to the corresponding arrival node Pa or departure node Pb at the edge, the entrance node Pc is connected to the corresponding departure node Pb at the edge, and the entry node Pd is connected to the corresponding arrival node Pa at the edge, in terms of time at each station. By connecting adjacent entry nodes Pc, entry nodes Pd, and station stay nodes Pe with an edge, it is possible to create a diamond network that takes into consideration the passenger's stay at the station ticket gate. Then, by searching for the minimum cost route from the given search target entry node of the created diamond network to the given search target entry node based on the cost set at the edge, the stay in the station ticket gate was considered. It is possible to estimate the travel route of passengers. For example, by setting the cost of the edge of each station according to the ease of staying at the ticket gate of the station, it is possible to estimate a route for passengers to stay at a station where it is easy to stay. ..

最小コスト経路の探索は、探索対象出場ノードから遡るようにして最小コストとなるエッジを選択してゆくことで、選択したエッジに繋がれているノードから探索対象出場ノードに至るまでの最小コスト経路を順次確定してゆく経路探索処理によって行われる。このため、特定出場ノードが同じ旅客についての最小コスト経路は、当該特定出場ノードに至る一部の経路部分が重複することになる。従って、最小コスト経路の探索過程において、探索対象出場ノードに至る最小コスト経路を確定したノードを探索済みとして、当該ノードに最小コストや最小コスト経路に関する情報(ノード探索情報)を対応付けて記憶しておくことで、重複する探索結果を流用し、旅客の移動経路の推定にかかる演算量を削減して処理の高速化を図ることができる。 The search for the minimum cost route is to select the edge with the lowest cost by going back from the search target participation node, and the minimum cost route from the node connected to the selected edge to the search target participation node. Is performed by a route search process that sequentially determines. Therefore, the minimum cost route for passengers having the same specific participation node overlaps a part of the route portion leading to the specific participation node. Therefore, in the process of searching for the minimum cost route, it is assumed that the node for which the minimum cost route to the search target participating node has been determined has been searched, and the information related to the minimum cost and the minimum cost route (node search information) is stored in association with the node. By doing so, it is possible to divert the duplicated search results, reduce the amount of calculation required for estimating the travel route of the passenger, and speed up the processing.

[変形例]
なお、本発明の適用可能な実施形態は上述の実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で適宜変更可能なのは勿論である。
[Modification example]
It should be noted that the applicable embodiments of the present invention are not limited to the above-described embodiments, and of course, they can be appropriately changed without departing from the spirit of the present invention.

(A)直前の探索結果の流用
直前の探索対象の探索ノードペア(入場ノードと出場ノードとの組み合わせ)とは出場ノードが異なる探索ノードペアについての最小コスト経路の探索を行う際に、当該直前の探索結果を流用することとしても良い。今回の探索対象の探索ノードペアの出場ノードの基準時刻が、直前の探索対象の探索ノードペアの出場ノードの基準時刻より早い場合に、当該直前の探索結果を流用することができる。
(A) Diversion of the previous search result When searching for the minimum cost route for a search node pair whose entry node is different from the search node pair (combination of the entry node and the entry node) of the search target immediately before, the search immediately before the search. The result may be diverted. When the reference time of the entry node of the search node pair of the search target this time is earlier than the reference time of the entry node of the search node pair of the search target immediately before, the search result immediately before can be diverted.

具体的には、図10に示すように、最小コスト経路の探索過程において、探索済みの各ノードのノード探索情報に、探索する経路の終点(図10では、出場ノードPd1)を除く出場ノード(図10では、出場ノードPd2,Pd3)のうち、当該終点に至る最小コスト経路において最も早く到達する出場ノードPdを最早経由ノードとして含めて記憶しておく、図10は、図3のダイヤネットワークに対して、入場ノードPc4から出場ノードPd1に至る最小コスト経路を探索した場合の例である。 Specifically, as shown in FIG. 10, in the process of searching for the minimum cost route, the participating nodes (in FIG. 10, the participating node Pd1 in FIG. 10) are excluded from the node search information of each node that has been searched. In FIG. 10, among the participating nodes Pd2 and Pd3), the participating node Pd that arrives earliest in the minimum cost route to the end point is included and stored as the earliest transit node. On the other hand, this is an example of searching for the minimum cost route from the entry node Pc4 to the entry node Pd1.

次に、このダイヤネットワークに対して、図11に示すように、入場ノードPc5から出場ノードPd2に至る最小コスト経路を探索するとする。この場合、図10に示した直前の探索結果のうち、今回探索する経路の終点となる出場ノードPd2の基準時刻以前のノードであって、ノード探索情報の最早経由ノードが当該終点となる出場ノードPd2の基準時刻以前の出場ノードPdであるノードについて、記憶されているノード探索情報を流用する。それ以外のノードについては、記憶されているノード探索情報を流用せずに削除し、未探索とする。すなわち、図11に示すように、基準時刻が今回の探索の終点となる出場ノードPd2より遅い着ノードPa1や、ノード探索情報の最早経由ノードが出場ノードPd1である駅滞在ノードPe1,Pe2や発ノードPb1、着ノードPa4、入場ノードPc1,Pc2などは、流用の対象とせずに未探索とする。基準時刻が出場ノードPd2の基準時刻以前であり、最早経由ノードが出場ノードPd2,Pd3の何れかである出場ノードPd3、着ノードPa2,Pa3、発ノードPb2,Pb3、入場ノードPc3,Pc4などが、ノード探索情報の流用の対象となる。 Next, it is assumed that the minimum cost route from the entry node Pc5 to the entry node Pd2 is searched for this diamond network as shown in FIG. In this case, among the search results immediately before shown in FIG. 10, the entry node that is the node before the reference time of the entry node Pd2 that is the end point of the route to be searched this time and the node that has passed through the node search information at the earliest is the end point. The stored node search information is diverted for the node that is the participating node Pd before the reference time of Pd2. For other nodes, the stored node search information is deleted without being diverted, and the node is not searched. That is, as shown in FIG. 11, the arrival node Pa1 whose reference time is later than the entry node Pd2 which is the end point of this search, the station stay nodes Pe1 and Pe2 whose entry node Pd1 is the earliest transit node of the node search information, and the departure node. Nodes Pb1, arrival node Pa4, entrance nodes Pc1, Pc2, etc. are not diverted and are not searched. The entry node Pd3, the arrival node Pa2, Pa3, the departure node Pb2, Pb3, the entry node Pc3, Pc4, etc., whose reference time is before the reference time of the entry node Pd2 and whose transit node is any of the entry nodes Pd2 and Pd3, are , The target of diversion of node search information.

そして、流用の対象となる各ノードについて、記憶されているノード探索情報の最小コストを、今回の探索の終点となる出場ノードPd2から直前の探索の終点となった出場ノードPd1に至る最小コストだけ減算した値に更新する。今回探索する経路の終点が探索済みとなっている場合、当該終点のノード探索情報の最小コストが、直前の探索の終点に至る最小コストに相当する。このように、直前の探索結果を流用し、一部のノードが探索済みとなってノード探索情報が記憶されている状態において、今回の探索を行う。 Then, for each node to be diverted, the minimum cost of the stored node search information is set to the minimum cost from the entry node Pd2 which is the end point of this search to the entry node Pd1 which is the end point of the immediately preceding search. Update to the subtracted value. When the end point of the route to be searched this time has already been searched, the minimum cost of the node search information at the end point corresponds to the minimum cost to reach the end point of the immediately preceding search. In this way, the previous search result is diverted, and the current search is performed in a state where some nodes have already been searched and the node search information is stored.

1 旅客移動経路推定装置
200 処理部
202 ダイヤネットワーク作成部、204 入出場ノード特定部
206 探索ノードペアリスト作成部、208 最小コスト経路探索部
210 移動経路推定部
300 記憶部
302 旅客移動経路推定プログラム
304 列車ダイヤデータ、306 入出場データ
308 ダイヤネットワークデータ、310 探索ノードペアリスト
312 最小コスト経路探索結果データ、314 移動経路推定結果データ
P ノード
Pa 着ノード、Pb 発ノード、Pc 入場ノード、Pd 出場ノード
Pe 駅滞在ノード
Q エッジ
Qa 列車エッジ、Qb 乗降エッジ、Qc 入場エッジ、Qd 出場エッジ
Qe 駅滞在エッジ
1 Passenger movement route estimation device 200 Processing unit 202 Diamond network creation unit, 204 Entry / exit node identification unit 206 Search node pair list creation unit, 208 Minimum cost route search unit 210 Movement route estimation unit 300 Storage unit 302 Passenger movement route estimation program 304 Train Diamond data, 306 entry / exit data 308 Diamond network data, 310 Search node pair list 312 Minimum cost route search result data, 314 Travel route estimation result data P node Pa arrival node, Pb departure node, Pc entry node, Pd entry node Pe station stay Node Q edge Qa train edge, Qb boarding / alighting edge, Qc entry edge, Qd entry edge Qe station stay edge

Claims (6)

コンピュータを、
所与の列車ダイヤに基づいて、1)各列車の各駅の着発に係る事象を表す着ノード及び発ノードを設定し、前記列車の運行に沿って前記着ノード及び前記発ノードをエッジで繋ぐこと、2)各列車の各駅の前記着ノード及び前記発ノードに対応して、当該駅における旅客の入出場に係る事象を表す入場ノード及び出場ノードと、当該駅の駅滞在ノードとを設定して、当該駅滞在ノードを対応する前記着ノード又は前記発ノードとエッジで繋ぎ、前記入場ノードを対応する前記発ノードとエッジで繋ぎ、前記出場ノードを対応する前記着ノードとエッジで繋ぐこと、3)各駅における時間的に隣り合う前記入場ノード同士、前記出場ノード同士、前記駅滞在ノード同士をエッジで繋ぐこと、4)各エッジに所与のコストを設定すること、を行ってダイヤネットワークを作成する作成手段、
前記ダイヤネットワークのうちの所与の探索対象入場ノードから所与の探索対象出場ノードに至る最小コスト経路を、前記エッジに設定されたコストに基づいて探索する探索手段、
として機能させるためのプログラム。
Computer,
Based on a given train schedule, 1) set arrival nodes and departure nodes that represent events related to arrivals and departures at each station of each train, and connect the arrival nodes and departure nodes with edges along the operation of the train. 2) Corresponding to the arrival node and the departure node of each station of each train, an entrance node and an exit node representing an event related to the entry and exit of passengers at the station, and a station stay node of the station are set. The station stay node is connected to the corresponding arrival node or the departure node at the edge, the entrance node is connected to the corresponding departure node at the edge, and the entry node is connected to the corresponding arrival node at the edge. 3) Connecting the entrance nodes, the entry nodes, and the station stay nodes that are adjacent to each other in time at each station with an edge, and 4) setting a given cost at each edge to form a diamond network. Creation method to create,
A search means for searching the minimum cost route from a given search target entry node to a given search target entry node in the diamond network based on the cost set at the edge.
A program to function as.
前記探索手段は、
前記探索対象出場ノードから遡るようにして最小コストとなる前記エッジを選択してゆくことで、選択したエッジに繋がれているノードから前記探索対象出場ノードに至るまでの最小コスト経路を順次確定してゆく経路探索処理を行って、前記探索対象入場ノードから前記探索対象出場ノードに至る最小コスト経路を探索する、
請求項1に記載のプログラム。
The search means
By selecting the edge that has the minimum cost by going back from the search target participation node, the minimum cost route from the node connected to the selected edge to the search target participation node is sequentially determined. Performs a route search process to search for the minimum cost route from the search target entry node to the search target entry node.
The program according to claim 1.
各旅客の入場駅、入場時刻、出場駅及び出場時刻が定められた入出場データに基づいて、前記ダイヤネットワークにおける前記各旅客の入場ノード(以下「特定入場ノード」という)及び出場ノード(以下「特定出場ノード」という)を特定する特定手段、
として前記コンピュータを機能させ、
前記探索手段は、
前記特定出場ノードが同じ旅客について、当該特定出場ノードを前記探索対象出場ノードとし、重複する最小コスト経路の探索結果を流用することで、重複する探索を省略した前記経路探索処理を行って、当該特定出場ノードが同じ旅客に関する各特定入場ノードから当該特定出場ノードまでの最小コスト経路を探索する、
請求項2に記載のプログラム。
Based on the entry / exit data in which the entry station, entry time, entry station, and entry time of each passenger are determined, the entry node (hereinafter referred to as "specific entry node") and entry node (hereinafter "specific entry node") of each passenger in the timetable network. Specific means to identify (referred to as "specific participation node"),
To make the computer function as
The search means
For passengers with the same specific participation node, the specific participation node is set as the search target participation node, and the search result of the overlapping minimum cost route is diverted to perform the route search process omitting the duplicate search. Search for the minimum cost route from each specific entry node to the specific entry node for the same passenger with the specific entry node.
The program according to claim 2.
前記探索手段は、
前記特定出場ノードが同じ旅客について、前記特定入場ノードの設定時刻の早い順に前記経路探索処理を行う、
請求項3に記載のプログラム。
The search means
For passengers with the same specific entry node, the route search process is performed in the order of the earliest set time of the specific entry node.
The program according to claim 3.
前記探索手段は、
前記特定出場ノードが同じ旅客のグループのうち、前記特定出場ノードの設定時刻の遅いグループから順に最小コスト経路の探索を行い、
今回探索するグループに係る前記特定出場ノードが、従前のグループで探索した最小コスト経路内に経由ノードとして含まれている場合に、当該経由ノードから遡って探索済みの探索結果を流用することで、重複する探索を省略した前記経路探索処理を行う、
請求項3又は4に記載のプログラム。
The search means
From the group of passengers with the same specific participation node, the minimum cost route is searched in order from the group with the latest set time of the specific participation node.
When the specific participating node related to the group to be searched this time is included as a transit node in the minimum cost route searched in the previous group, the search result searched retroactively from the transit node can be diverted. Perform the route search process omitting the duplicate search.
The program according to claim 3 or 4.
所与の列車ダイヤに基づいて、1)各列車の各駅の着発に係る事象を表す着ノード及び発ノードを設定し、前記列車の運行に沿って前記着ノード及び前記発ノードをエッジで繋ぐこと、2)各列車の各駅の前記着ノード及び前記発ノードに対応して、当該駅における旅客の入出場に係る事象を表す入場ノード及び出場ノードと、当該駅の駅滞在ノードとを設定して、当該駅滞在ノードを対応する前記着ノード又は前記発ノードとエッジで繋ぎ、前記入場ノードを対応する前記発ノードとエッジで繋ぎ、前記出場ノードを対応する前記着ノードとエッジで繋ぐこと、3)各駅における時間的に隣り合う前記入場ノード同士、前記出場ノード同士、前記駅滞在ノード同士をエッジで繋ぐこと、4)各エッジに所与のコストを設定すること、を行ってダイヤネットワークを作成する作成手段と、
前記ダイヤネットワークのうちの所与の探索対象入場ノードから所与の探索対象出場ノードに至る最小コスト経路を、前記エッジに設定されたコストに基づいて探索する探索手段と、
を備えた旅客移動経路推定装置。
Based on a given train schedule, 1) set arrival nodes and departure nodes that represent events related to arrivals and departures at each station of each train, and connect the arrival nodes and departure nodes with edges along the operation of the train. 2) Corresponding to the arrival node and the departure node of each station of each train, an entrance node and an exit node representing an event related to the entry and exit of passengers at the station, and a station stay node of the station are set. The station stay node is connected to the corresponding arrival node or the departure node at the edge, the entrance node is connected to the corresponding departure node at the edge, and the entry node is connected to the corresponding arrival node at the edge. 3) Connecting the entrance nodes, the entry nodes, and the station stay nodes that are adjacent to each other in time at each station with an edge, and 4) setting a given cost at each edge to form a diamond network. How to create and how to create
A search means for searching the minimum cost route from a given search target entry node to a given search target entry node in the diamond network based on the cost set at the edge.
Passenger movement route estimation device equipped with.
JP2018010734A 2017-06-13 2018-01-25 Program and passenger travel route estimation device Active JP6867314B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017115889 2017-06-13
JP2017115889 2017-06-13

Publications (2)

Publication Number Publication Date
JP2019001448A JP2019001448A (en) 2019-01-10
JP6867314B2 true JP6867314B2 (en) 2021-04-28

Family

ID=65005623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018010734A Active JP6867314B2 (en) 2017-06-13 2018-01-25 Program and passenger travel route estimation device

Country Status (1)

Country Link
JP (1) JP6867314B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023013012A (en) * 2021-07-15 2023-01-26 株式会社日立製作所 Operation proposal system and operation proposal creation method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4773306B2 (en) * 2006-09-06 2011-09-14 公益財団法人鉄道総合技術研究所 Program and simulation device
JP5668380B2 (en) * 2010-09-10 2015-02-12 株式会社豊田中央研究所 Route search apparatus and program
JP5891186B2 (en) * 2013-01-30 2016-03-22 公益財団法人鉄道総合技術研究所 Program and optimum movement route calculation device
JP6231946B2 (en) * 2014-06-06 2017-11-15 公益財団法人鉄道総合技術研究所 Program and simulation device
JP6454222B2 (en) * 2015-05-29 2019-01-16 株式会社日立製作所 Data processing system and data processing method

Also Published As

Publication number Publication date
JP2019001448A (en) 2019-01-10

Similar Documents

Publication Publication Date Title
Tong et al. A stochastic transit assignment model using a dynamic schedule-based network
Mu et al. Scheduling freight trains traveling on complex networks
Wang et al. Rescheduling trains using Petri nets and heuristic search
Huang et al. A time-delay neural network for solving time-dependent shortest path problem
Ceder et al. Transfer synchronization of public transport networks
Verbas et al. Dynamic assignment-simulation methodology for multimodal urban transit networks
JP6867314B2 (en) Program and passenger travel route estimation device
Biedermann et al. A hybrid and multiscale approach to model and simulate mobility in the context of public events
Liao et al. Modeling passenger behavior in nonpayment areas at rail transit stations
Lopez et al. Simulation model of public transportation system using multiagent approach by means of petri nets: Bogotá study case
JP2017037552A (en) Route graph generation method, device, and program
JP5386438B2 (en) Track conflict detection device
Wilson et al. Mathematical and simulation techniques for modelling urban train networks
WO2019142499A1 (en) Simulation system and simulation method
Tu et al. Directional signage location optimization of subway station based on big data
CN113743679B (en) High-speed rail network maintenance scheduling method and equipment based on weighted graph and multiple traveling salesmen
Pokusaev et al. On digital twin for metro system
RU2742959C1 (en) System for managing the work of railway section with the construction of a single timetable
JP4599248B2 (en) Mobile driving simulator
Kaparias et al. ICNavS: a tool for reliable dynamic route guidance
Strotmann Railway scheduling problems and their decomposition
Gutenschwager et al. From openstreetmap and cell phone data to road network simulation models
Dal Sasso et al. Easy cases of deadlock detection in train scheduling
Kuzmin et al. Discrete event simulation model of the railway station
CN106197431A (en) Elevator related personnel's shortest path planning system

Legal Events

Date Code Title Description
AA64 Notification of invalidation of claim of internal priority (with term)

Free format text: JAPANESE INTERMEDIATE CODE: A241764

Effective date: 20180206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20180129

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200521

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210324

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210408

R150 Certificate of patent or registration of utility model

Ref document number: 6867314

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150