JP5450142B2 - Program and connection height calculation device - Google Patents
Program and connection height calculation device Download PDFInfo
- Publication number
- JP5450142B2 JP5450142B2 JP2010025074A JP2010025074A JP5450142B2 JP 5450142 B2 JP5450142 B2 JP 5450142B2 JP 2010025074 A JP2010025074 A JP 2010025074A JP 2010025074 A JP2010025074 A JP 2010025074A JP 5450142 B2 JP5450142 B2 JP 5450142B2
- Authority
- JP
- Japan
- Prior art keywords
- height
- connecting line
- temporary
- pair
- group
- 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
Links
- 238000010586 diagram Methods 0.000 claims description 38
- 238000000034 method Methods 0.000 claims description 36
- 238000000605 extraction Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Images
Landscapes
- Train Traffic Observation, Control, And Security (AREA)
Description
本発明は、コンピュータに、車両又は乗務員の列車間の運用つなぎを示すつなぎ線の高さを算出させるためのプログラム等に関する。 The present invention relates to a program or the like for causing a computer to calculate a height of a connecting line indicating an operation connection between a train of a vehicle or a crew member.
鉄道における列車の運行にあたり、鉄道事業者は、列車の運行スケジュールを定めた列車ダイヤを作成するとともに、この列車ダイヤを実現するための車両・乗務員運用計画を作成する必要がある。この列車ダイヤや車両・乗務員運用計画は、人間の手作業で作成されているが、近年では、コンピュータを用いた自動化、或いは、コンピュータによる作成支援を実現するための技術開発が進められている(例えば、特許文献1〜3参照)。
When operating a train on a railway, a railway operator needs to create a train schedule that defines the schedule of the train and a vehicle / crew operator operation plan to realize the train schedule. This train schedule and vehicle / crew operator operation plan has been created manually by humans, but in recent years, technical development has been promoted to realize automation using a computer or support for creation by a computer ( For example, see
ところで、車両・乗務員運用計画は、列車ダイヤ図上に車両・乗務員の運用を重ねて図示した車両・乗務員運用図表として示される。この車両・乗務員運用図表は、停車場に到着した列車の車両や乗務員が次にどの列車として運用されるかや乗務するかの運用つなぎを示すため、列車ダイヤ図の各停車場(例えば、駅)において、該当する列車間を「つなぎ線」でつないだ図表である。 By the way, the vehicle / crew attendant operation plan is shown as a vehicle / crew attendant operation chart in which the operations of the vehicle / crew attendant are overlapped on the train diagram. This vehicle / crew attendant operation chart shows the operation linkage between the train that arrives at the stop and the train and the train that will be used next, and at each stop (for example, station) in the train diagram It is the chart which connected between corresponding trains with a "connecting line".
しかしながら、つなぎ線の描画には、例えば、運用つなぎが不明瞭とならないよう、つなぎ線同士が重なってはいけないし、また、列車ダイヤ図における空きスペースが限られるため、つなぎ線の描画範囲を可能な限り小さくするといったように、様々な制約を考慮する必要がある。人間が手作業によってつなぎ線を描画する場合には、作成者の知識や経験等によって、このような制約を考慮した視覚的にバランスのよいつなぎ線が描画されている。コンピュータによる運用図表の作成の自動化或いは半自動化(支援)においても、上述の制約を考慮したつなぎ線の描画が求められるのは勿論である。 However, for connecting line drawing, for example, the connecting lines must not overlap so that the operating connection is not obscured, and the available space in the train diagram is limited, so the connecting line drawing range is possible It is necessary to consider various constraints such as making it as small as possible. When humans draw connecting lines by hand, connecting lines that are visually balanced in consideration of such restrictions are drawn based on the knowledge and experience of the creator. Of course, even in the automation or semi-automation (support) of the creation of the operation chart by the computer, it is necessary to draw a connecting line in consideration of the above-mentioned restrictions.
本発明は、上記事情に鑑みてなされたものであり、列車ダイヤ図上に列車間の車両・乗務員の運用つなぎを示すつなぎ線の適切な自動描画を可能とすることを目的としている。 The present invention has been made in view of the above circumstances, and an object of the present invention is to enable appropriate automatic drawing of a connecting line indicating an operation connection between a vehicle and a crew member between trains on a train diagram.
上記課題を解決するための第1の形態は、
コンピュータに、車両又は乗務員の一の停車場における列車間の運用つなぎを示すつなぎ線をダイヤ図上に表す際の当該つなぎ線の高さを算出させるためのプログラム(例えば、図7の運用図表作成プログラム310)であって、
仮の高さが決定されたつなぎ線の集合である仮決定群(例えば、図10の集合U)を記憶する仮決定群記憶手段(例えば、図8の記憶部300)、
高さが未決定のつなぎ線のうち、前記一の停車場への到着時刻が早いつなぎ線から順番に処理対象つなぎ線として、(A)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が早い場合には、前記仮決定群に含まれる最大の仮の高さより大きい仮の高さを当該処理対象つなぎ線に設定して前記仮決定群に追加し、(B)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が遅い場合には、前記仮決定群に含まれるつなぎ線と重ならない仮の高さを選出して当該処理対象つなぎ線に設定し、前記仮決定群に追加するとともに、設定した仮の高さと同一の仮の高さとして設定されていたつなぎ線を前記仮決定群から削除する、高さ仮決定処理を実行する仮決定処理手段(例えば、図16〜図17のつなぎ高さ決定処理)、
前記高さ仮決定処理によって仮決定された各つなぎ線それぞれの仮の高さを、本決定する本決定処理手段(例えば、図17のステップB41)、
として機能させるためのプログラムである。
The first form for solving the above problem is
A program for causing a computer to calculate the height of a connecting line when a connecting line indicating an operating connection between trains at one stop of a vehicle or a crew member is displayed on a diagram (for example, an operation chart creation program of FIG. 7) 310),
Temporary decision group storage means (for example, the
Among the connecting lines whose height is not yet determined, as connecting lines in order from the connecting line that arrives at the first stop earlier than the connecting line, (A) the departure time from the first stop in the temporary determination group If the arrival time of the processing target connecting line at the one stop is earlier than the earliest connecting line, a temporary height larger than the maximum temporary height included in the temporary determination group is set as the processing target. Set to a connecting line and added to the provisional decision group, and (B) the one stop of the processing target connection line than the connection line having the earliest departure time from the one stop in the provisional decision group. When the arrival time at is late, a temporary height that does not overlap with the connecting line included in the provisional decision group is selected and set as the processing connection line, and added to the provisional decision group and set. Set as the same temporary height as the temporary height To remove have been a connecting line from the temporary decision group, tentative determination processing means for executing a height provisional determination processing (e.g., joint height determination process in FIGS. 16 17),
Final determination processing means (for example, step B41 in FIG. 17) for final determination of the temporary height of each connecting line temporarily determined by the height temporary determination processing;
It is a program to make it function as.
また、他の形態として、
車両又は乗務員の一の停車場における列車間の運用つなぎを示すつなぎ線をダイヤ図上に表す際の当該つなぎ線の高さを算出するつなぎ高さ算出装置(例えば、図7の運用図表作成装置1)であって、
仮の高さが決定されたつなぎ線の集合である仮決定群を記憶する仮決定群記憶手段と、
高さが未決定のつなぎ線のうち、前記一の停車場への到着時刻が早いつなぎ線から順番に処理対象つなぎ線として、(A)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が早い場合には、前記仮決定群に含まれる最大の仮の高さより大きい仮の高さを当該処理対象つなぎ線に設定して前記仮決定群に追加し、(B)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が遅い場合には、前記仮決定群に含まれるつなぎ線と重ならない仮の高さを選出して当該処理対象つなぎ線に設定し、前記仮決定群に追加するとともに、設定した仮の高さと同一の仮の高さとして設定されていたつなぎ線を前記仮決定群から削除する、高さ仮決定処理を実行する仮決定処理手段と、
前記高さ仮決定処理によって仮決定された各つなぎ線それぞれの仮の高さを、本決定する本決定処理手段と、
を備えたつなぎ高さ算出装置を構成しても良い。
As another form,
A connection height calculation device that calculates the height of the connection line when the connection line indicating the operation connection between trains at one stop of a vehicle or a crew member is represented on a diagram (for example, the operation
Temporary decision group storage means for storing a temporary decision group that is a set of connecting lines for which the temporary height is determined;
Among the connecting lines whose height is not yet determined, as connecting lines in order from the connecting line that arrives at the first stop earlier than the connecting line, (A) the departure time from the first stop in the temporary determination group If the arrival time of the processing target connecting line at the one stop is earlier than the earliest connecting line, a temporary height larger than the maximum temporary height included in the temporary determination group is set as the processing target. Set to a connecting line and added to the provisional decision group, and (B) the one stop of the processing target connection line than the connection line having the earliest departure time from the one stop in the provisional decision group. When the arrival time at is late, a temporary height that does not overlap with the connecting line included in the provisional decision group is selected and set as the processing connection line, and added to the provisional decision group and set. Set as the same temporary height as the temporary height Remove which was a connecting line from the temporary decision group, a provisional determination processing means for executing a height provisional decision process,
Final determination processing means for determining the temporary height of each connecting line temporarily determined by the preliminary height determination processing;
You may comprise the connection height calculation apparatus provided with.
この第1の形態等によれば、高さが未決定のつなぎ線のうち、一の停車場への到着時刻が早いつなぎ線から順番に処理対象つなぎ線として高さ仮決定処理が実行され、その後、仮決定された各つなぎ線それぞれの仮の高さが本決定される。高さ仮決定処理では、(A)仮の高さが決定されたつなぎ線の集合である仮決定群のうち、一の停車場からの出発時刻が最も早いつなぎ線よりも、処理対象つなぎ線の一の停車場への到着時刻が早い場合には、仮決定群に含まれる最大の仮の高さより高い仮の高さを処理対象つなぎ線に設定して仮決定群に追加され、(B)仮決定群のうち、一の停車場からの出発時刻が最も早いつなぎ線よりも、処理対象つなぎ線の一の停車場への到着時刻が遅い場合には、仮決定群に含まれるつなぎ線と重ならない仮の高さを選出して処理対象つなぎ線に設定され、仮決定群に追加されるとともに、設定した仮の高さと同一の仮の高さとして設定されていたつなぎ線が仮決定群から削除される。 According to this first form, among the connecting lines whose height has not been determined, temporary height determination processing is executed as a processing target connecting line in order from the connecting line whose arrival time at one stop is early, and thereafter The provisional height of each temporarily determined connecting line is finally determined. In the temporary height determination process, (A) among the temporary determination group that is a set of connection lines for which the temporary height is determined, the connection line of the processing target connection line is earlier than the connection line having the earliest departure time from one stop. If the arrival time at one stop is early, a temporary height higher than the maximum temporary height included in the temporary decision group is set as the processing connecting line and added to the temporary decision group. If the arrival time at one stop of the target connection line is later than the connection line that has the earliest departure time from one stop in the decision group, the temporary line that does not overlap with the connection line included in the provisional decision group Is selected and added to the provisional decision group, and the joint line set as the same provisional height as the set provisional height is deleted from the provisional decision group. The
これにより、車両又は乗務員の一の停車場における列車間の運用つなぎを示すつなぎ線をダイヤ図上に表す際の各つなぎ線の高さを、つなぎ線同士が重ならないよう、適切に決定することができる。 Accordingly, it is possible to appropriately determine the height of each connecting line when the connecting line indicating the operation connection between trains at one stop of the vehicle or the crew is displayed on the diagram so that the connecting lines do not overlap each other. it can.
第2の形態として、第1の形態のプログラムにおいて、
前記仮決定処理手段が、前記(B)の処理において、前記仮決定群に含まれるつなぎ線と重ならない仮の高さを当該処理対象つなぎ線に設定する際に、前記仮決定群に含まれるつなぎ線と重ならない仮の高さのうち、最小の高さを設定する、
ように前記コンピュータに機能させるためのプログラムを構成しても良い。
As a second form, in the program of the first form,
The provisional determination processing means is included in the provisional determination group when the provisional height that does not overlap with the connecting line included in the temporary determination group is set in the processing target connecting line in the process of (B). Set the minimum height of the temporary height that does not overlap with the connecting line.
Thus, a program for causing the computer to function may be configured.
この第2の形態によれば、高さ仮決定処理の(B)の処理において、仮決定群に含まれるつなぎ線と重ならない仮の高さを処理対象つなぎ線に設定する際に、仮決定群に含まれるつなぎ線の仮の高さのうち最小の高さが設定される。これにより、更に、各つなぎ線の高さを最小とするように決定することができる。 According to the second aspect, in the process of (B) of the temporary height determination process, the temporary height that does not overlap the connecting line included in the temporary determination group is set as the processing target connecting line. The minimum height among the temporary heights of the connecting lines included in the group is set. Thereby, it can further determine so that the height of each connecting line may be minimized.
第3の形態として、第1又は第2の形態のプログラムにおいて、
前記仮決定処理手段が、前記(A)及び(B)の処理において、前記一の停車場からの出発時刻が前記処理対象つなぎ線よりも遅く、且つ、仮の高さが前記処理対象つなぎ線よりも小さく、且つ、仮の高さを前記処理対象つなぎ線と交換した場合に他のつなぎ線と重ならないつなぎ線が前記仮決定群に有るか否かを判定し、有る場合には、そのつなぎ線と前記処理対象つなぎ線との仮の高さを交換した上で、前記処理対象つなぎ線を前記仮決定群に追加する高さ交換処理手段(例えば、図16のステップB19〜B25、図17のステップB29〜B35)を有する、
ように前記コンピュータを機能させるためのプログラムを構成しても良い。
As a third form, in the program of the first or second form,
In the processes of (A) and (B), the temporary determination processing means has a departure time from the one stop that is later than the processing target connecting line, and the temporary height is higher than the processing target connecting line. And when the temporary height is replaced with the processing target connecting line, it is determined whether or not there is a connecting line that does not overlap with the other connecting line in the temporary determination group. A height exchange processing means (for example, steps B19 to B25 in FIG. 16, FIG. 17) that adds the processing target joining line to the provisional determination group after exchanging the provisional height between the line and the processing joining line. Steps B29 to B35)
As described above, a program for causing the computer to function may be configured.
この第3の形態によれば、高さ仮決定処理の(A)及び(B)の処理において、一の停車場からの出発時刻が処理対象つなぎ線よりも遅く、且つ、仮の高さが処理対象つなぎ線よりも小さく、且つ、仮の高さを処理対象つなぎ線と交換した場合に他のつなぎ線と重ならないつなぎ線が仮決定群に有る場合には、そのつなぎ線と処理対象つなぎ線との仮の高さを交換した上で、処理対象つなぎ線が仮決定群に追加される。これにより、内包関係にあるつなぎ線同士において内包のつなぎ線が突き出さないよう、各つなぎ線の高さを適切に決定することができる。 According to the third aspect, in the processes of (A) and (B) of the temporary height determination process, the departure time from one stop is later than the processing target connecting line, and the temporary height is processed. If the temporary decision group has a connecting line that is smaller than the target connecting line and does not overlap with the other connecting line when the temporary height is replaced with the processing connecting line, the connecting line and the processing target connecting line And the processing target connecting line is added to the provisional decision group. Thereby, the height of each connection line can be appropriately determined so that the connection lines of the inclusions do not protrude between the connection lines in the inclusion relationship.
第4の形態として、第3の形態のプログラムにおいて、
前記仮決定群に記憶されているつなぎ線を、前記一の停車場からの出発時刻が早い順にソートする仮決定群ソート手段(例えば、図17のステップB39)として前記コンピュータを機能させ、
前記高さ交換処理手段が、前記仮決定群ソート手段によりソートされた順番に前記判定を行い、最も先に有ると判定されたつなぎ線を交換の対象とする、
ように前記コンピュータを機能させるためのプログラムを構成しても良い。
As a fourth form, in the program of the third form,
Causing the computer to function as provisional decision group sorting means (for example, step B39 in FIG. 17) for sorting the connecting lines stored in the provisional decision group in descending order of departure time from the one stop.
The height exchange processing means performs the determination in the order sorted by the provisional determination group sorting means, and the connecting line determined to be the earliest is to be replaced,
As described above, a program for causing the computer to function may be configured.
この第4の形態によれば、仮の高さを処理対象つなぎ線と交換した場合に他のつなぎ線と重ならないつなぎ線が仮決定群に有るか否かの判定が、仮決定群に記憶されているつなぎ線のうち、一の停車場からの出発時刻が早い順に行われる。 According to the fourth embodiment, when the temporary height is replaced with the processing target connecting line, it is stored in the temporary determining group whether the connecting line that does not overlap with the other connecting line exists in the temporary determining group. Of the tethered lines, the departure time from the first stop is performed in order from the earliest.
以下、図面を参照して、本発明の実施形態を説明する。なお、以下では、車両の運用図表の作成を例に挙げて説明するが、乗務員の運用図表の作成等、本発明の適用可能な実施形態がこれに限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, creation of an operation chart for a vehicle will be described as an example. However, embodiments to which the present invention can be applied, such as creation of an operation chart for a crew member, are not limited thereto.
[原理]
先ず、本実施形態における車両運用図表の作成原理を説明する。車両運用図表とは、列車ダイヤに対する車両運用を、該列車ダイヤ図に重ねて描画した図表である。車両運用は、ある停車場(代表的には、駅)への到着列車と、該到着列車として運用されていた車両が次に運用される出発列車との間に、列車間の運用つなぎを示す「つなぎ線」を引くことで表される。つなぎ線には、コの字形状の線図やクランク形状の線図等があるが(図9,図20参照)、本実施形態では、駅での折返しつなぎに用いられるコの字形状のつなぎ線に着目して説明する。
[principle]
First, the principle of creating a vehicle operation chart in this embodiment will be described. The vehicle operation chart is a chart in which the vehicle operation for the train diagram is drawn on the train diagram. The vehicle operation indicates an operation connection between trains between an arrival train to a certain stop (typically, a station) and a departure train on which the vehicle operated as the arrival train is operated next. It is expressed by drawing a “connecting line”. The connecting line includes a U-shaped diagram, a crank-shaped diagram, and the like (see FIGS. 9 and 20). In this embodiment, a U-shaped connection used for a loop-back connection at a station. The explanation will be made focusing on the line.
図1に、車両運用図表のつなぎ線に係る部分の一例を示す。図1では、A駅において、列車2M,4Mが到着するとともに、列車5M,9Mが出発しており、これらの列車に対する車両運用が示されている。すなわち、列車2Mと列車5Mとがつなぎ線10−1でつながれている。つまり、列車2Mとして運用されていた車両は、A駅に到着した後、折り返して列車5Mとして運用されることが示されている。また同様に、列車4Mと列車9Mとがつなぎ線10−2でつながれている。つまり、列車4Mとして運用された車両は、A駅に到着した後、折り返して列車9Mとして運用されることが示されている。
FIG. 1 shows an example of a portion related to a connecting line in a vehicle operation chart. In FIG. 1, while
つなぎ線は、運用が正確に把握できるように描画することが重要であるとともに、“見易い”ように描画する必要がある。これを満足するための条件として、次の3つの条件がある。
<条件1>つなぎ線同士が重ならないこと。
<条件2>つなぎ線の高さが最小であること。
<条件3>他のつなぎ線から突き出さないこと。
つまり、適切な運用図表の作成のためには、これらの条件1〜3を満たすような各つなぎ線の適切な高さを決定することが必要である。
It is important to draw the connecting line so that the operation can be accurately grasped, and it is necessary to draw it so that it is “easy to see”. There are the following three conditions for satisfying this.
<
<
<
That is, in order to create an appropriate operation chart, it is necessary to determine an appropriate height of each connecting line that satisfies these
ここで、つなぎ線の高さを、図2に示すように定義する。すなわち、つなぎ線の高さは、駅線からの距離であり、駅線に近い方向を“低い”、駅線から離れる方向を“高い”と表現する。そして、その値は、“低い”順に、「1,2,3・・」と整数値で表現することとする。 Here, the height of the connecting line is defined as shown in FIG. That is, the height of the connecting line is the distance from the station line, and the direction close to the station line is expressed as “low” and the direction away from the station line is expressed as “high”. The values are expressed as integer values “1, 2, 3,...” In order of “low”.
(1)条件1(つなぎ線同士が重ならない)について
図3は、条件1を説明する図である。図3では、2つのつなぎ線10−1,10−2が描画されている。図3(a)は、条件1を満たす例である。この例では、2つのつなぎ線10−1,10−2の高さが異なっているため、2つのつなぎ線10−1,10−2が“重なっていない”。一方、図3(b)は、条件1を満たさない例である。この例では、2つのつなぎ線10−1,10−2の高さが同じであるため、2つのつなぎ線10−1,10−2の一部が“重なっている”。つまり、列車2M,4Mそれぞれが、次に、列車5M,9Mのどちらとして運用されるのか把握できない。
(1) Condition 1 (the connecting lines do not overlap) FIG. 3 is a diagram for explaining
(2)条件2(つなぎ線の高さが最小であること)について
車両運用図表では、列車ダイヤ図に車両運用を示すつなぎ線を重ねて描画するため、つなぎ線の高さをできるだけ低くし、つなぎ線の描画スペースを可能な限り小さくすることが望ましい。
(2) About condition 2 (the height of the connecting line is minimum) In the vehicle operation chart, the connecting line indicating the vehicle operation is drawn on the train diagram so that the connecting line is as low as possible. It is desirable to make the connecting line drawing space as small as possible.
図4は、条件2を説明する図である。図4では、3つのつなぎ線10−1〜10−3が描画されている。図4(a)は、条件2を満たさない例である。この例では、3つのつなぎ線10−1〜10−3それぞれの高さが異なっており、つなぎ線の最大の高さは「3」である。図4(b)は、条件2を満たす例である。この例では、つなぎ線10−1,10−3の高さが同じ「1」となっており、つなぎ線の最大の高さは「2」である。
FIG. 4 is a diagram for explaining
(3)条件3(他のつなぎ線から突き出さないこと)について
図5は、条件3を説明する図である。図5では、2つのつなぎ線10−4,10−5が描画されている。図5(a)は、条件3を満たさない例である。この例では、つなぎ線10−4,10−5が内包関係にあり、内包にあるつなぎ線10−5の高さが外方のつなぎ線10−4の高さよりも高く、つなぎ線10−5がつなぎ線10−4から“突き出している”。図5(b)は、条件3を満たしている例である。この例では、つなぎ線10−5がつなぎ線10−4よりも低く、つなぎ線10−4,10−5は互いに“突き出していない”。
(3) Condition 3 (Do not protrude from other connecting lines) FIG. In FIG. 5, two connecting lines 10-4 and 10-5 are drawn. FIG. 5A is an example in which the
但し、条件2,3は、同時に満たすことができない場合もある。図6は、条件2,3の一方を満たすが、他方を満たさない例を示す図である。図6では、5つのつなぎ線10−6〜10−10が描画されている。図6(a)の例では、つなぎ線10−6〜10−10の最大の高さは「2」であり、条件2を満たしているが、つなぎ線10−10がつなぎ線10−9を突き出しており、条件3は満たしていない。図6(b)の例では、何れのつなぎ線10−6〜10−10も他のつなぎ線10−6〜10−10を突き出しておらず、条件3を満たしているが、つなぎ線10−6〜10−10の最大の高さは「3」であり、条件2は満たしていない。
However,
[構成]
図7は、運用図表作成装置1の機能構成図である。図7に示すように、運用図表作成装置1は、例えばコンピュータ等で実現され、機能的には、操作入力部110と、表示部120と、処理部200と、記憶部300とを備えて構成される。
[Constitution]
FIG. 7 is a functional configuration diagram of the operation
操作入力部110は、例えばキーボードやマウス、タッチパネル、各種スイッチ等の入力装置で実現され、操作入力に応じた操作信号を処理部200に出力する。
The
表示部120は、例えばLCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等の表示装置で実現され、処理部200からの表示信号に基づく各種表示画面を表示する。
The
処理部200は、例えばCPU等の演算装置で実現され、操作入力部110から入力されたデータや、記憶部300に記憶されたプログラムやデータ等に基づいて、運用図表作成装置1を構成する各部への指示やデータ転送を行い、運用図表作成装置1の全体制御を行う。
The
また、処理部200は、運用図表作成プログラム310に従った運用図表作成処理を行って、列車ダイヤに対する車両運用を示した車両運用図表を作成し表示部120に表示させる。運用図表作成処理では、処理部200は、予め定められた列車ダイヤ、及び、この列車ダイヤに対する車両運用をもとに、列車ダイヤ図に車両運用を重ねて示した車両運用図表を作成する。ここで、列車ダイヤについては列車ダイヤデータ320として記憶されているとともに、該列車ダイヤに対する車両運用については車両運用データ330として記憶されている。
In addition, the
具体的には、先ず、車両運用にて定められる、対象駅間の各駅においてつなぎ線でつなぐ到着列車と出発列車との組合せである運用ペア20を生成する。運用ペア20は、図2に示したように、ある駅において、つなぎ線でつなぐ到着列車と出発列車との組合せである。到着列車の到着時刻ta、及び、出発列車の出発時刻tdは、列車ダイヤによって定められている。
Specifically, first, an
生成した運用ペアについては、運用ペアデータ340として記憶される。図8は、運用ペアデータ340のデータ構成の一例を示す図である。図8に示すように、運用ペアデータ340は、生成された運用ペア毎に生成され、該運用ペアを識別するためのペアID341と、つなぎ線の描画の対象駅342と、到着列車343と、その到着時刻344と、出発列車345と、その出発時刻346と、つなぎ種別347と、つなぎ線の高さ348と、つなぎ線の高さの決定状況349とを格納している。
The generated operational pair is stored as
つなぎ種別とは、駅線に対する到着列車と出発列車の進行方向の組合せであり、図9に示すように4種別ある。そして、つなぎ種別によって、駅線に対するつなぎ線の描画位置が異なる。 The connection type is a combination of the traveling directions of the arrival train and the departure train with respect to the station line, and there are four types as shown in FIG. And the drawing position of the connecting line with respect to the station line differs depending on the connecting type.
図9は、「つなぎ種別」を説明する図である。図9(a)は、つなぎ種別が(上,上)の例であり、駅線に対して、到着列車は図中上方向から進入し、出発列車は図中上方向に進出する組合せである。つなぎ線は、駅線に対して下方に描画される。また、図9(b)は、つなぎ種別が(上,下)の例であり、駅線に対して、到着列車は図中上方向から進入し、出発列車は図中下方向に進出する組合せである。つなぎ線は、駅線に対して下方に描画される。また、図9(c)は、つなぎ種別が(下,上)の例であり、駅線に対して、到着列車は図中下方向から進入し、出発列車は図中上方向に進出する組合せである。つなぎ線は、駅線に対して上方に描画される。また、図9(d)は、つなぎ種別が(下,下)の例であり、駅線に対して、到着列車は図中下方向から進入し、出発列車は図中下方向に進出する組合せである。つなぎ線は、駅線に対して上方に描画される。 FIG. 9 is a diagram for explaining the “connection type”. FIG. 9A is an example in which the connection type is (upper, upper), and the arrival train enters from the upper direction in the figure and the departure train advances in the upper direction in the figure with respect to the station line. . The connecting line is drawn below the station line. FIG. 9B is an example in which the connection type is (upper, lower). A combination in which the arrival train enters from the upper side in the figure and the departure train advances in the lower direction in the figure with respect to the station line. It is. The connecting line is drawn below the station line. FIG. 9C shows an example in which the connection type is (bottom, top). A combination in which the arrival train enters from the lower direction in the figure and the departure train advances in the upper direction in the figure with respect to the station line. It is. The connecting line is drawn above the station line. FIG. 9D is an example in which the connection type is (lower, lower), and the combination that the arrival train enters the lower direction in the figure and the departure train advances in the lower direction in the figure with respect to the station line. It is. The connecting line is drawn above the station line.
続いて、処理部200は、生成した運用ペアそれぞれについて、つなぎ線の高さを決定する。このとき、つなぎ線の描画対象駅及びつなぎ種別が同じ運用ペア同士を1つの「集合T」としてグループ分けし、この集合T毎に、運用ペアのつなぎ線の高さを決定する。
Subsequently, the
図10は、1つの集合Tについての、運用ペア20のつなぎ線の高さの決定手順の概要図である。図10に示すように、集合Tに含まれる各運用ペア20について、その到着時刻taが早い順につなぎの高さを決定する。つなぎの高さを仮決定した運用ペア20は集合Uに追加され、その後、高さが確定されて集合Vに追加される。なおここで、集合Uに含まれる運用ペア20は、つなぎ線の高さが全て異なっているとともに、その値が最小の高さ「1」から1ずつ順に大きくなるように仮決定されている。このため、集合Uに含まれる運用ペア20の個数Nは、集合Uに含まれる運用ペア20のつなぎ線の最大の高さとなっている。
FIG. 10 is a schematic diagram of a procedure for determining the connecting line height of the
集合Tの各運用ペア20のつなぎ線の高さは、次のように決定する。すなわち、先ず、集合Tに含まれる運用ペア20について、到着時刻taが早い順に、つなぎ線の高さの仮決定の対象の運用ペア(対象ペア)とする。そして、集合Uの運用ペア20それぞれのつなぎ線の高さをもとに、条件1,2を満たすよう、対象ペアのつなぎ線の高さを仮決定する。
The height of the connecting line of each
図11は、条件1,2を満たすような対象ペアのつなぎ線の高さの決定を説明する図である。図11では、対象ペア21と、集合Uに含まれる1つの運用ペア(抽出ペア)22とが示されている。なおここで、対象ペア21の到着時刻ta1は、抽出ペア22の到着時刻ta2よりも遅い。これは、集合Tに含まれる運用ペア20は、出発時刻taが早い順に対象ペア21としてつなぎ線の高さが(仮)決定され、集合Uに追加されるためである。
FIG. 11 is a diagram for explaining the determination of the connecting line height of the target pair that satisfies the
図11(a)に示すように、対象ペア21の到着時刻ta1が抽出ペア22の出発時刻td2より遅い場合、つなぎ線の高さが同じでも重ならないので、対象ペア21のつなぎ線の高さを、抽出ペア22のつなぎ線の高さと同じとすることができる。また、図11(b)に示すように、対象ペア21の到着時刻ta1が抽出ペア22の出発時刻td2より早い場合、つなぎ線の高さが同じだと重なるので、対象ペア21のつなぎ線の高さを、抽出ペア22の高さとは異なる高さとする必要がある。
As shown in FIG. 11 (a), when the arrival time ta1 of the
すなわち、処理部200は、対象ペアの到着時刻ta1と抽出ペアの出発時刻td2とを比較することで、対象ペアのつなぎ線の高さを抽出ペアのつなぎ線の高さと同じとしたときに、両者が重なるか否かを判断する。
That is, when the
このように、対象ペアを集合Uの運用ペア(抽出ペア)それぞれと比較し、対象ペアのつなぎ線の高さを同じとしても重ならない集合Uの運用ペア(抽出ペア)を判断する。
そして、重ならないと判断した運用ペアそれぞれのつなぎ線の高さのうち、最小のつなぎ線の高さを、対象ペアのつなぎ線の高さとして仮決定する。
In this way, the target pair is compared with each of the operational pairs (extracted pairs) of the set U, and the operational pairs (extracted pairs) of the set U that do not overlap even if the connecting line heights of the target pairs are the same are determined.
Then, the minimum height of the connecting lines of the operating pairs determined not to overlap is temporarily determined as the height of the connecting line of the target pair.
図12は、対象ペアと重ならないつなぎ線の最小の高さの選択を説明する図である。図12では、対象ペア21のつなぎ線の高さを同じとしても“重ならない”集合Uの運用ペア(抽出ペア)として、3つの運用ペア23〜25が有る例を示している。この場合、集合Uの運用ペア23〜25それぞれのつなぎ線の高さは、それぞれ、「1」,「3」,「4」であり、従って、対象ペア21のつなぎ線の高さは「1」とする。
FIG. 12 is a diagram for explaining selection of the minimum height of the connecting line that does not overlap the target pair. FIG. 12 shows an example in which there are three operation pairs 23 to 25 as operation pairs (extraction pairs) of the set U that does not overlap even if the height of the connecting line of the
一方、集合Uの運用ペア(抽出ペア)のうち、対象ペアのつなぎの高さを同じとしたとしても重ならない運用ペアがゼロの場合には、集合Uの各運用ペアのつなぎ線の高さのうち、最大の高さより「1」だけ大きい高さを、対象ペアのつなぎ線の高さとする。すなわち、集合Uの運用ペアの数Nに「1」加算した値「N+1」を、対象ペアのつなぎ線の高さとする。これは、集合Uの各運用ペアのつなぎ線の高さが全て異なるとともに、そのつなぎ線の高さが、最小値「1」から順に1ずつ異なる値となっているからである。これにより、条件1,2を満たすよう、対象ペア(集合Tの運用ペア)のつなぎ線の高さを仮決定することができる。
On the other hand, among the operational pairs (extracted pairs) in the set U, if the number of operation pairs that do not overlap is zero even if the height of the connection of the target pair is the same, the height of the connection line of each operational pair in the set U Among these, the height that is “1” larger than the maximum height is set as the height of the connecting line of the target pair. That is, a value “N + 1” obtained by adding “1” to the number N of operational pairs in the set U is set as the height of the connecting line of the target pair. This is because the heights of the connecting lines of the operational pairs in the set U are all different, and the heights of the connecting lines are different one by one in order from the minimum value “1”. Thereby, the height of the connecting line of the target pair (the operational pair of the set T) can be provisionally determined so as to satisfy the
このように、条件1,2を満たすように対象ペアのつなぎ線の高さを仮決定すると、処理部200は、該対象ペアを集合Uに追加する。そして、対象ペアの仮決定したつなぎ線の高さと同じ集合Uの運用ペアについて、つなぎ線の高さを確定とし、集合Uから削除して集合Vに追加する。
As described above, when the height of the connecting line of the target pair is provisionally determined so as to satisfy the
条件1,2を満たすように対象ペアのつなぎ線の高さを決定すると、続いて、処理部200は、該対象ペアが条件3を満たすかを判断する。
When the height of the connecting line of the target pair is determined so as to satisfy the
図13は、対象ペアが条件3を満たすかの判断を説明する図である。図13では、対象ペア21と、集合Uに含まれる1つの運用ペア(選択ペア)26とが示されている。なおここで、対象ペア21の到着時刻ta1は、選択ペア26の到着時刻ta2よりも遅い。
FIG. 13 is a diagram for explaining whether the target pair satisfies
図13(a)に示すように、対象ペア21の出発時刻td1が選択ペア26の出発時刻td2よりも遅い場合、対象ペア21及び選択ペア26それぞれのつなぎ線の高さにかかわらず、対象ペア21のつなぎ線は選択ペア26のつなぎ線を突き出さず、条件3を満たしている。また、図13(b)に示すように、対象ペア21の出発時刻td1が選択ペア26の出発時刻td2よりも早く、且つ、対象ペア21のつなぎ線の高さが選択ペア26のつなぎ線の高さよりも高い場合、対象ペア21のつなぎ線が選択ペア26のつなぎ線を突き出し、条件3を満たしていない。また、図13(c)に示すように、対象ペア21の出発時刻td1が選択ペア26の出発時刻td2よりも早く、且つ、対象ペア21のつなぎ線の高さが選択ペア26のつなぎ線の高さよりも低い場合、対象ペア21のつなぎ線は選択ペア26のつなぎ線を突き出さず、条件3を満たしている。
As shown in FIG. 13A, when the departure time td1 of the
すなわち、処理部200は、対象ペアの出発時刻td1と選択ペアの出発時刻td2とを比較するとともに、対象ペアと選択ペアのつなぎ線の高さを比較することで、対象ペアが条件3を満たすかを判定する。
That is, the
そして、対象ペアが条件3を満たさない場合(図13(b))には、対象ペアと選択ペアのつなぎ線の高さを交換しても条件1を満たすのであるならば、対象ペアと選択ペアのつなぎ線の高さを交換する。条件1を満たすかの具体的な判断は、次のように行う。
If the target pair does not satisfy the condition 3 (FIG. 13B), if the
先ず、つなぎ線の高さを交換した後の対象ペア及び選択ペア(以下、「交換後対象ペア」及び「交換後選択ペア」という)それぞれについて、集合U或いは集合Vの運用ペアそれぞれとの間で、つなぎ線の高さが異なるか否かを判断する。交換後対象ペア及び交換後選択ペアが、ともに、集合U及び集合Vの全ての運用ペアとつなぎ線の高さが異なるならば、対象ペアと選択ペアのつなぎ線の高さを交換しても、条件1は満たされると判断する。一方、集合U或いは集合Vに、交換後対象ペア或いは交換後選択ペアとつなぎ線の高さが同じ運用ペアが含まれるならば、更に、そのつなぎ線の高さが同じとなった運用ペア同士について、それぞれの到着時刻ta及び出発時刻tdを比較することで、条件1を満たすかを判断する。
First, for each of the target pair and the selected pair (hereinafter referred to as “post-replacement target pair” and “post-replacement selected pair”) after the height of the connecting line is exchanged, between the operation pair of the set U or the set V Then, it is determined whether or not the connecting lines have different heights. If both the target pair after replacement and the selected pair after replacement have different connecting line heights from all the operational pairs in set U and set V, the connecting line heights of the target pair and selected pair may be exchanged. It is determined that
図14は、対象ペアと選択ペアのつなぎ線の高さを交換したときに、条件1を満たすかの判断を説明する図である。図14では、つなぎ線の高さが同じとなった2つの運用ペア(交換後選択ペア27と、集合U或いは集合Vに含まれる1つの運用ペア(判定ペア)28)が示されている。なお、図14では、交換後選択ペアについて示しているが、交換後対象ペアについても同様である。
FIG. 14 is a diagram illustrating a determination as to whether or not the
図14(a)に示すように、交換後選択ペア27の出発時刻td1が判定ペア28の到着時刻ta2よりも早い場合、交換後選択ペア27と判定ペア28とは重ならず、条件1は満たされる。また、図14(b)に示すように、交換後選択ペア27の到着時刻ta1が判定ペア28の出発時刻td2よりも遅い場合、交換後選択ペア27と判定ペア28とは重ならず、条件1は満たされる。また、図14(c)に示すように、判定ペア28の到着時刻ta2が、交換後選択ペア27の到着時刻ta1よりも遅く且つ出発時刻td1よりも早い場合、交換後選択ペア27と判定ペア28とが重なり、条件1は満たされない。また、図14(d)に示すように、交換後選択ペア27の到着時刻ta1が、判定ペア28の到着時刻ta2よりも遅く且つ出発時刻td2よりも早い場合、交換後選択ペア27と判定ペア28とが重なり、条件1は満たされない。
As shown in FIG. 14A, when the departure time td1 of the selected
集合Tの全ての運用ペアについてつなぎ線の高さを仮決定すると、処理部200は、集合Uの各運用ペアのつなぎ線の高さを確定する。
When the connection line height is provisionally determined for all the operational pairs of the set T, the
同様に、駅及びつなぎ種別の組合せが異なる全ての集合Tについて、運用ペアのつなぎ線の高さを決定すると、列車ダイヤ図において、各運用ペアに対応する車両運用を示すつなぎ線を、つなぎ種別に応じた駅線に対する位置(上/下)に、決定した高さで描画することで、列車ダイヤ図に列車運用を重ねて描画した運用図表を作成し、表示部120に表示させる。
Similarly, for all sets T having different combinations of stations and connection types, when the height of the connection line of the operation pair is determined, the connection line indicating the vehicle operation corresponding to each operation pair is connected to the connection type in the train diagram. By drawing at the determined height at the position (up / down) with respect to the station line, an operation chart drawn by superimposing the train operation on the train diagram is created and displayed on the
図7に戻り、記憶部300は、処理部200が運用図表作成装置1を統合的に制御するための諸機能を実現するためのシステムプログラムや、本実施形態の運用図表作成処理を実行するためのプログラムやデータ等を記憶しているとともに、処理部200の作業領域として用いられ、処理部200が各種プログラムに従って実行した演算結果や、操作入力部110からの操作信号が一時的に格納される。本実施形態では、プログラムとして、運用図表作成プログラム310が記憶されるとともに、データとして、列車ダイヤデータ320と、車両運用データ330と、運用ペアデータ340とが記憶される。
Returning to FIG. 7, the
[処理の流れ]
図15は、運用図表作成処理の流れを説明するフローチャートである。図15によれば、処理部200は、先ず、定められた車両運用データをもとに、各駅においてつなぎ線でつなぐ到着列車と出発列車の組合せである運用ペアを生成する(ステップA1)。次いで、生成した運用ペアを、つなぎ線の描画対象駅及びつなぎ種別が同じもの同士を1つの集合Tとするようにグループ分けする(ステップA3)。
[Process flow]
FIG. 15 is a flowchart for explaining the flow of the operation chart creation process. According to FIG. 15, first, the
そして、各集合Tを順に対象としたループAの処理を行う。ループAでは、つなぎ高さ決定処理を行い、対象の集合Tの各運用ペアのつなぎ線の高さを決定する(ステップA5)。 Then, processing of loop A is performed for each set T in order. In the loop A, a connection height determination process is performed to determine the connection line height of each operational pair of the target set T (step A5).
図16,図17は、つなぎ高さ決定処理の流れを説明するフローチャートである。図16,図17によれば、処理部200は、初期設定として、集合U,Vをクリアする(ステップB1)。次いで、対象の集合Tの運用ペアを、その到着時刻が早い順にソートする(ステップB3)。そして、対象の集合Tの各運用ペアについて、到着時刻が早い順に対象ペアとしたループBの処理を行う。
16 and 17 are flowcharts illustrating the flow of the connection height determination process. According to FIGS. 16 and 17, the
ループBでは、集合Uがゼロならば(ステップB5:YES)、対象ペアのつなぎ線の高さを、最小値「1」として仮決定する(ステップB7)。 In the loop B, if the set U is zero (step B5: YES), the height of the connecting line of the target pair is provisionally determined as the minimum value “1” (step B7).
一方、集合Uに1つ以上の運用ペアが含まれるならば(ステップB5:NO)、集合Uから、出発時刻が最も早い運用ペアを抽出する(ステップB9)。そして、対象ペアの到着時刻と、集合Uから抽出した運用ペア(抽出ペア)の出発時刻とを比較し、対象ペアの到着時刻が抽出ペアの出発時刻よりも遅いならば(ステップB11:YES)、最小高さペア判定処理を行って、集合Uの運用ペアのうち、つなぎ線の高さが同じであっても対象ペアに重ならない運用ペアであって、つなぎ線の高さが最小である運用ペア(最小高さペア)Tminを判定する(ステップB13)。 On the other hand, if the set U includes one or more operation pairs (step B5: NO), the operation pair with the earliest departure time is extracted from the set U (step B9). Then, the arrival time of the target pair is compared with the departure time of the operational pair (extracted pair) extracted from the set U. If the arrival time of the target pair is later than the departure time of the extracted pair (step B11: YES) The minimum height pair determination process is performed, and among the operational pairs in the set U, even if the connecting line has the same height, the operating pair does not overlap the target pair, and the connecting line has the minimum height. The operational pair (minimum height pair) Tmin is determined (step B13).
図18は、最小高さペア判定処理を説明するフローチャートである。図18によれば、先ず、初期値として、集合Uの運用ペアのうち、出発時刻が最も早い運用ペアを、最小高さペアTminとする(ステップC1)。 FIG. 18 is a flowchart for explaining the minimum height pair determination process. According to FIG. 18, first, among the operation pairs in the set U, the operation pair with the earliest departure time is set as the minimum height pair Tmin as an initial value (step C1).
次いで、集合Uに含まれる運用ペアそれぞれについて、出発時刻が早い順に選択ペアとして、ループEの処理を行う。ループEでは、対象ペアの到着時刻が選択ペアの出発時刻より遅く(ステップC3:YES)、且つ、最小高さペアTminのつなぎ線の高さが選択ペアのつなぎ線の高さよりも低い(小さい)ならば(ステップC5:YES)、選択ペアを、新たな最小高さペアTminとする(ステップC7)。ループEはこのように行われる。集合Uの全ての運用ペアについてのループEの処理を終了すると、最小高さペア判定処理を終了する。 Next, for each operational pair included in the set U, the process of loop E is performed as a selected pair in the order of early departure time. In the loop E, the arrival time of the target pair is later than the departure time of the selected pair (step C3: YES), and the height of the connecting line of the minimum height pair Tmin is lower (smaller than the height of the connecting line of the selected pair). ) (Step C5: YES), the selected pair is set as a new minimum height pair Tmin (step C7). Loop E is performed in this way. When the processing of the loop E for all the operational pairs in the set U is finished, the minimum height pair determination processing is finished.
最小高さペア判定処理を終了すると、対象ペアのつなぎ線の高さを、最小高さペア判定処理で判定した最小高さペアTminの高さとして仮決定する(ステップB15)。次いで、この最小高さペアTminのつなぎ線の高さを確定し、集合Uから削除して集合Vに追加する(ステップB17)。 When the minimum height pair determination process ends, the height of the connecting line of the target pair is provisionally determined as the height of the minimum height pair Tmin determined in the minimum height pair determination process (step B15). Next, the height of the connecting line of the minimum height pair Tmin is determined, deleted from the set U, and added to the set V (step B17).
続いて、集合Uの各ペアについて、その出発時刻が遅い順に選択ペアとしてループCの処理を行う。ループCでは、対象ペアの出発時刻が選択ペアの出発時刻より遅く、且つ、対象ペアのつなぎ線の高さが選択ペアのつなぎ線の高さよりも高いならば(ステップB19:YES)、高さ交換可否判定処理を行って、対象ペアと選択ペアのつなぎ線の高さを交換が可能か否かを判定する(ステップB21)。 Subsequently, for each pair of the set U, the process of loop C is performed as a selected pair in the order of late departure time. In loop C, if the departure time of the target pair is later than the departure time of the selected pair and the height of the connecting line of the target pair is higher than the height of the connecting line of the selected pair (step B19: YES), the height Exchangeability determination processing is performed to determine whether or not the height of the connecting line between the target pair and the selected pair can be exchanged (step B21).
図19は、高さ交換可否判定処理を説明するフローチャートである。図19によれば、先ず、対象ペアと選択ペアのつなぎ線の高さを交換する(ステップD1)。 FIG. 19 is a flowchart for explaining the height exchange possibility determination process. According to FIG. 19, first, the height of the connecting line between the target pair and the selected pair is exchanged (step D1).
次いで、集合Uの選択ペアを除く各運用ペア、及び、集合Uの各運用ペアを、順に判定ペアとしたループFの処理を行う。ループFでは、先ず、判定ペアと、つなぎ線の高さを交換した後の選択ペア(交換後選択ペア)とのつなぎ線の高さを比較し、異なるならば(ステップD3:NO)、交換後選択ペアは判定ペアと「重ならない」と判断する(ステップD5)。 Next, loop F is performed in which each operational pair excluding the selected pair of the set U and each operational pair of the set U are sequentially determined. In the loop F, first, the height of the connecting line is compared between the judgment pair and the selected pair after exchanging the height of the connecting line (selected pair after replacement). If they are different (step D3: NO), the exchange is performed. It is determined that the post-selected pair “does not overlap” with the determined pair (step D5).
一方、判定ペアと交換後選択ペアのつなぎ線の高さが同じならば(ステップD3:YES)、続いて、交換後選択ペアの到着時刻と判定ペアの到着時刻とを比較する。その結果、交換後選択ペアの到着時刻が判定ペアの到着時刻より早いならば(ステップD7:YES)、更に、交換後選択ペアの出発時刻と判定ペアの到着時刻とを比較する。その結果、交換後選択ペアの出発時刻が、定ペアの到着時刻よりも早いならば(ステップD9:YES)、交換後選択ペアは判定ペアと「重ならない」と判断し(ステップD11)、交換後選択ペアの出発時刻が判定ペアの到着時刻よりも遅いならば(ステップD9:NO)、交換後選択ペアは判定ペアと「重なる」と判断する(ステップD13)。 On the other hand, if the connecting line has the same connecting line height (step D3: YES), the arrival time of the selected pair after replacement is compared with the arrival time of the determined pair. As a result, if the arrival time of the selected pair after replacement is earlier than the arrival time of the determined pair (step D7: YES), the departure time of the selected pair after replacement is compared with the arrival time of the determined pair. As a result, if the departure time of the selected pair after replacement is earlier than the arrival time of the fixed pair (step D9: YES), it is determined that the selected pair after replacement “does not overlap” with the determined pair (step D11). If the departure time of the post-selected pair is later than the arrival time of the determined pair (step D9: NO), it is determined that the post-exchange selected pair “overlaps” the determined pair (step D13).
一方、交換後選択ペアの到着時刻が、判定ペアの到着時刻よりも遅いならば(ステップD7:NO)、更に、交換後選択ペアの到着時刻と判定ペアの出発時刻とを比較する。その結果、交換後選択ペアの到着時刻が判定ペアの出発時刻よりも遅いならば(ステップD15:YES)、交換後選択ペアは判定ペアと「重ならない」と判断し(ステップD17)、交換後選択ペアの到着時刻が判定ペアの出発時刻よりも遅いならば(ステップD15:NO)、交換後選択ペアは判定ペアと「重なる」と判断する(ステップD19)。ループFの処理は、このように行われる。 On the other hand, if the arrival time of the selected pair after replacement is later than the arrival time of the determined pair (step D7: NO), the arrival time of the selected pair after replacement is compared with the departure time of the determined pair. As a result, if the arrival time of the selected pair after replacement is later than the departure time of the determined pair (step D15: YES), it is determined that the selected pair after replacement does not overlap with the determined pair (step D17). If the arrival time of the selected pair is later than the departure time of the determined pair (step D15: NO), it is determined that the selected pair after replacement “overlaps” the determined pair (step D19). The processing of the loop F is performed in this way.
集合Uの選択ペアを除く各運用ペア、及び、集合Uの各運用ペアの全てについて、ループFの処理を終了すると、集合Uの選択ペアを除く各運用ペア、及び、集合Uの運用ペアの全てについて、交換後選択ペアと「重ならない」と判断したならば(ステップD21:YES)、対象ペアと選択ペアのつなぎ線の高さは「交換可」と判断し(ステップD23)、1つでも「重なる」と判断したならば(ステップD21:NO)、対象ペアと選択ペアのつなぎ線の高さは「交換不可」と判断する(ステップD25)。 When the processing of the loop F is completed for all the operational pairs except the selected pair of the set U and all the operational pairs of the set U, the operational pairs of the set U and the operational pairs of the set U are excluded. If it is determined that “there is no overlap” with the selected pair after replacement (step D21: YES), the height of the connecting line between the target pair and the selected pair is determined to be “exchangeable” (step D23), one However, if it is determined that “overlap” (step D21: NO), it is determined that the height of the connecting line between the target pair and the selected pair is “not exchangeable” (step D25).
その後、交換後対象ペアと交換後選択ペアのつなぎ線の高さを交換し、もとの高さに戻す(ステップD27)。以上の処理を行うと、処理部200は、高さ交換可否判定処理を終了する。
Thereafter, the heights of the connecting lines of the target pair after replacement and the selected pair after replacement are exchanged and returned to the original height (step D27). When the above processing is performed, the
高さ交換可否判定処理の結果、「交換可」と判定したならば(ステップB23:YES)、対象ペアと選択ペアのつなぎ線の高さを交換する(ステップB25)。
ループCはこのように行われる。
As a result of the height exchange possibility determination process, if it is determined that “exchange is possible” (step B23: YES), the height of the connecting line between the target pair and the selected pair is exchanged (step B25).
Loop C is performed in this way.
一方、対象ペアの到着時刻が抽出ペアの出発時刻よりも早いならば(ステップB11:NO)、対象ペアのつなぎ線の高さを、集合Uに含まれるペアの数Nに「1」加算した値(N+1)として仮決定する(ステップB27)。 On the other hand, if the arrival time of the target pair is earlier than the departure time of the extracted pair (step B11: NO), the height of the connecting line of the target pair is added to the number N of pairs included in the set U by “1”. Temporarily determined as a value (N + 1) (step B27).
続いて、集合Uの各ペアについて、その出発時刻が遅い順に選択ペアとしてループDの処理を行う。ループDでは、対象ペアの出発時刻が選択ペアの出発時刻より遅いならば(ステップB29:YES)、高さ交換可否判定処理(図19参照)を行って、対象ペアと選択ペアのつなぎ線の高さを交換が可能か否かを判定する(ステップB31)。高さ交換可否判定処理の結果、「交換可」と判定したならば(ステップB33:YES)、対象ペアと選択ペアのつなぎ線の高さを交換する(ステップB35)。
ループDはこのように行われる。
Subsequently, with respect to each pair of the set U, the process of the loop D is performed as a selected pair in order of late departure time. In the loop D, if the departure time of the target pair is later than the departure time of the selected pair (step B29: YES), a height exchange possibility determination process (see FIG. 19) is performed, and the connection line between the target pair and the selected pair is changed. It is determined whether or not the height can be exchanged (step B31). If it is determined that the exchange is possible (step B33: YES), the height of the connecting line between the target pair and the selected pair is exchanged (step B35).
Loop D is performed in this way.
このように、対象ペアのつなぎ線の高さを仮決定すると、処理部200は、この対象ペアを集合Uに追加し(ステップB37)、その後、集合Uの運用ペアを、出発時刻が早い順にソートする(ステップB39)。ループBはこのように行われる。
As described above, when the height of the connecting line of the target pair is provisionally determined, the
そして、集合Tの全ての運用ペアについてのループAの処理を終了すると、処理部200は、集合Uの各運用ペアのつなぎ線の高さを確定した後(ステップB41)、つなぎ高さ決定処理を終了する。
When the processing of the loop A for all the operational pairs in the set T is completed, the
全ての集合Tを対象としたループAを終了すると、処理部200は、列車ダイヤ図に車両運用を示すつなぎ線を決定した高さで描画した車両運用図表を作成し、表示部120に表示させる(ステップA7)。以上の処理を行うと、処理部200は、運用図表作成処理を終了する。
When the loop A for all the sets T is completed, the
[作用・効果]
このように、本実施形態によれば、ある駅においてつなぎ線でつなぐ到着列車と出発列車の組合せである各運用ペアについて、到着時刻が早い順に対象ペアとしてつなぎ線の高さを仮決定する。つなぎ線の高さは、つなぎ線の高さを仮決定した他の運用ペアと重ならない高さであって最小の高さとなるように仮決定し、更に、仮決定したつなぎ線の高さが、他の運用ペアのつなぎ線を突き出す場合、その運用ペアと対象ペアとのつなぎ線の高さを交換しても他のつなぎ線と重ならないならば、その運用ペアと対象ペアのつなぎ線の高さを交換する。
[Action / Effect]
Thus, according to the present embodiment, the height of the connecting line is provisionally determined as the target pair in the order of arrival time for each operational pair that is a combination of an arrival train and a departure train connected by a connection line at a certain station. The height of the connecting line is tentatively determined to be the minimum height that does not overlap with the other operation pairs for which the connecting line is temporarily determined, and the height of the temporarily determined connecting line is When projecting the connecting line of another operating pair, if the height of the connecting line between the operating pair and the target pair does not overlap with the other connecting line, the connecting line of that operating pair and the target pair Swap height.
これにより、車両運用図表において、列車間の運用つなぎを示す各つなぎ線の高さを、つなぎ線同士が重ならず(条件1)、且つ、つなぎ線の高さが最小となる(条件2)とともに、更に、可能な限りつなぎ線同士が突き出さない(条件3)よう、適切に決定することができる。 As a result, in the vehicle operation chart, the height of each connecting line indicating the operation connection between trains does not overlap with each other (condition 1), and the height of the connecting line is minimized (condition 2). In addition, it is possible to appropriately determine so that the connecting lines do not protrude as much as possible (condition 3).
[変形例]
なお、本発明の適用可能な実施形態は、上述の実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で適宜変更可能なのは勿論である。
[Modification]
It should be noted that embodiments to which the present invention can be applied are not limited to the above-described embodiments, and can be appropriately changed without departing from the spirit of the present invention.
(A)駅線が複数
例えば、上述の実施形態では、駅線を1つとして説明したが、駅線が2つの場合にも適用可能である。
(A) Multiple Station Lines For example, in the above-described embodiment, the description has been made assuming that there is one station line. However, the present invention is also applicable to a case where there are two station lines.
図20は、駅線が2つの場合のつなぎ線の描画例を示す図である。図20では、C駅の駅線が2つの例を示している。この場合、C駅の2つの駅線の間をつなぎ種別に合わせた4つの領域に分割し、各領域に対応するつなぎ種別のつなぎ線を描画する。図20では、2つの駅線の間を、図中上から順に、つなぎ種別が(上,上)、(上,下)、(下,上)、(下,下)用の領域としている。また、つなぎ線の高さは、つなぎ種別が(上,上)及び(上,下)については、上側の駅線から離れる方向を“高い”とし、つなぎ種別が(下,上)及び(下,下)については、下側の駅線から離れる方向を“高い”とする。 FIG. 20 is a diagram illustrating a connection line drawing example when there are two station lines. In FIG. 20, the station line of C station has shown two examples. In this case, the area between the two station lines of station C is divided into four areas according to the connection type, and a connection type connection line corresponding to each area is drawn. In FIG. 20, the area between two station lines is an area for the (upper, upper), (upper, lower), (lower, upper), (lower, lower) connection types in order from the top in the figure. The height of the connecting line is “high” when the connecting type is (upper, upper) and (upper, lower), and the connecting type is (lower, upper) and (lower). , Lower), the direction away from the lower station line is “high”.
(B)乗務員運用
また、上述の実施形態では、車両運用について説明したが、乗務員運用についても同様である。
(B) Crew member operation Moreover, although vehicle operation was demonstrated in the above-mentioned embodiment, it is the same also about crew member operation.
(C)停車場
また、上述の実施形態では、停車場の代表例として駅について説明したが、信号場や操車場についても同様に適用可能である。
(C) Stopping Station In the above-described embodiment, the station has been described as a representative example of the stopping place. However, the present invention is also applicable to a signal field and a driving yard.
10 つなぎ線、20 運用ペア
1 運用図表作成装置
110 操作入力部、120 表示部、200 処理部
300 記憶部
310 運用図表作成プログラム、320 列車ダイヤデータ
330 車両運用データ、340 運用ペアデータ
10 connecting lines, 20 operation pairs 1 operation
Claims (5)
仮の高さが決定されたつなぎ線の集合である仮決定群を記憶部に記憶させる制御を行う仮決定群記憶制御手段、
仮の高さが未決定のつなぎ線のうち、前記一の停車場への到着時刻が早いつなぎ線から順番に処理対象つなぎ線として、(A)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が早い場合には、前記仮決定群に含まれる最大の仮の高さより大きい仮の高さを当該処理対象つなぎ線に設定して前記仮決定群に追加し、(B)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が遅い場合には、前記仮決定群に含まれるつなぎ線と同じ仮の高さとしても重ならない仮の高さを当該処理対象つなぎ線に設定して前記仮決定群に追加し、設定した仮の高さと同一の仮の高さとして設定されていたつなぎ線を前記仮決定群から削除する、高さ仮決定処理を実行する仮決定処理手段、
前記高さ仮決定処理によって仮決定された各つなぎ線それぞれの仮の高さを、本決定する本決定処理手段、
として機能させるためのプログラム。 A program for causing a computer to calculate a height of a connecting line when a connecting line indicating an operating connection between trains at one stop of a vehicle or a crew member is represented on a diagram.
Temporary decision group storage control means for performing control to store a temporary decision group, which is a set of connecting lines for which the temporary height has been determined, in the storage unit,
Among the connecting lines whose tentative height has not yet been determined, as connecting lines in order from the connecting line that arrives at the first stop earlier than the connecting line, (A) the temporary determination group from the first stop When the arrival time at the one stop of the processing target connecting line is earlier than the connecting line with the earliest departure time, the temporary height larger than the maximum temporary height included in the temporary determination group is Set to the processing target connecting line and add to the temporary determination group. (B) Among the temporary determination group, the one of the processing target connecting lines is earlier than the connecting line having the earliest departure time from the one stop. If the arrival time of the depot is slow, the said provisionally determined group provisional height that does not overlap be set to the processing target connecting line as the same provisional height as the connecting line included in the provisional decision group Add, as the height of the same temporary and height of the temporary set Remove connecting line which has been fixed from the temporarily determined group, tentative determination processing means for executing a height provisional decision process,
Main determination processing means for determining the temporary height of each connecting line temporarily determined by the height temporary determination processing;
Program to function as.
ように前記コンピュータに機能させるための請求項1に記載のプログラム。 The provisional determination processing means in the process of the (B), the provisional height to be set in the processing target joint line, said temporary do not overlap as the same temporary height as the connecting line included in the provisional decision group of height, the minimum height,
The program according to claim 1 for causing the computer to function as described above.
ように前記コンピュータを機能させるための請求項1又は2に記載のプログラム。 In the processes of (A) and (B), the temporary determination processing means has a departure time from the one stop that is later than the processing target connecting line, and the temporary height is higher than the processing target connecting line. And when the temporary height is replaced with the processing target connecting line, it is determined whether or not there is a connecting line that does not overlap with the other connecting line in the temporary determination group. After exchanging the temporary height between the line and the processing target connecting line, it has a height exchange processing means for adding the processing target connecting line to the temporary determination group,
The program according to claim 1 or 2 for causing the computer to function as described above.
前記高さ交換処理手段が、前記仮決定群ソート手段によりソートされた順番に前記判定を行い、最も先に有ると判定されたつなぎ線を交換の対象とする、
ように前記コンピュータを機能させるための請求項3に記載のプログラム。 Causing the computer to function as a temporary decision group sorting means for sorting the connecting lines stored in the temporary decision group in order of departure time from the one stop,
The height exchange processing means performs the determination in the order sorted by the provisional determination group sorting means, and the connecting line determined to be the earliest is to be replaced,
The program according to claim 3 for causing the computer to function as described above.
仮の高さが決定されたつなぎ線の集合である仮決定群を記憶する仮決定群記憶手段と、
仮の高さが未決定のつなぎ線のうち、前記一の停車場への到着時刻が早いつなぎ線から順番に処理対象つなぎ線として、(A)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が早い場合には、前記仮決定群に含まれる最大の仮の高さより大きい仮の高さを当該処理対象つなぎ線に設定して前記仮決定群に追加し、(B)前記仮決定群のうち、前記一の停車場からの出発時刻が最も早いつなぎ線よりも、当該処理対象つなぎ線の前記一の停車場への到着時刻が遅い場合には、前記仮決定群に含まれるつなぎ線と同じ仮の高さとしても重ならない仮の高さを当該処理対象つなぎ線に設定して前記仮決定群に追加し、設定した仮の高さと同一の仮の高さとして設定されていたつなぎ線を前記仮決定群から削除する、高さ仮決定処理を実行する仮決定処理手段と、
前記高さ仮決定処理によって仮決定された各つなぎ線それぞれの仮の高さを、本決定する本決定処理手段と、
を備えたつなぎ高さ算出装置。 A connection height calculation device for calculating the height of a connection line when a connection line indicating an operation connection between trains at one stop of a vehicle or a crew member is represented on a diagram,
Temporary decision group storage means for storing a temporary decision group that is a set of connecting lines for which the temporary height is determined;
Among the connecting lines whose tentative height has not yet been determined, as connecting lines in order from the connecting line that arrives at the first stop earlier than the connecting line, (A) the temporary determination group from the first stop When the arrival time at the one stop of the processing target connecting line is earlier than the connecting line with the earliest departure time, the temporary height larger than the maximum temporary height included in the temporary determination group is Set to the processing target connecting line and add to the temporary determination group. (B) Among the temporary determination group, the one of the processing target connecting lines is earlier than the connecting line having the earliest departure time from the one stop. If the arrival time of the depot is slow, the said provisionally determined group provisional height that does not overlap be set to the processing target connecting line as the same provisional height as the connecting line included in the provisional decision group Add, as the height of the same temporary and height of the temporary set Remove connecting line which has been fixed from the provisionally determined group, the provisional determination processing means for executing a height provisional decision process,
Final determination processing means for determining the temporary height of each connecting line temporarily determined by the preliminary height determination processing;
Connecting height calculation device with
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010025074A JP5450142B2 (en) | 2010-02-08 | 2010-02-08 | Program and connection height calculation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010025074A JP5450142B2 (en) | 2010-02-08 | 2010-02-08 | Program and connection height calculation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011161995A JP2011161995A (en) | 2011-08-25 |
| JP5450142B2 true JP5450142B2 (en) | 2014-03-26 |
Family
ID=44593191
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010025074A Expired - Fee Related JP5450142B2 (en) | 2010-02-08 | 2010-02-08 | Program and connection height calculation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5450142B2 (en) |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01153375A (en) * | 1987-12-11 | 1989-06-15 | Hitachi Ltd | Return station train schedule planning method and device |
| JP3203810B2 (en) * | 1992-10-15 | 2001-08-27 | 株式会社日立製作所 | Plan modification system |
| JPH06144230A (en) * | 1992-11-12 | 1994-05-24 | Toshiba Corp | Train schedule automatic creation device |
| JP4170520B2 (en) * | 1999-06-10 | 2008-10-22 | 東武鉄道株式会社 | Train operation management system operation management system |
| JP4180932B2 (en) * | 2003-01-29 | 2008-11-12 | 株式会社日立製作所 | Train stripe selection method and train stripe selection device |
| JP4672749B2 (en) * | 2008-03-31 | 2011-04-20 | 東武鉄道株式会社 | Train operation management system operation management system |
-
2010
- 2010-02-08 JP JP2010025074A patent/JP5450142B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011161995A (en) | 2011-08-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Bechtsis et al. | Intelligent Autonomous Vehicles in digital supply chains: A framework for integrating innovations towards sustainable value networks | |
| Lei et al. | Automated method for checking crane paths for heavy lifts in industrial projects | |
| Bielli et al. | Object oriented model for container terminal distributed simulation | |
| Lee et al. | Study on a process-centric modeling methodology for virtual manufacturing of ships and offshore structures in shipyards | |
| JP2014178794A (en) | Carrying-in route planning system | |
| Wang et al. | A graph theory-based approach to route location in railway interlocking | |
| Yan et al. | Advancing MAPF Toward the Real World: A Scalable Multi-Agent Realistic Testbed (SMART) | |
| JP5450142B2 (en) | Program and connection height calculation device | |
| JP2022091599A (en) | Bottleneck visualization device and bottleneck visualization method | |
| JP5604628B2 (en) | Production line simulation apparatus, production line simulation method, and production line simulation program | |
| CN121069816A (en) | Multi-robot intelligent collaborative simulation training system based on augmented reality technology | |
| CN121146666A (en) | Intelligent Warehouse Management System for Automotive Parts Based on Digital Twin Technology | |
| Ng | FACTS Analyser: An innovative tool for factory conceptual design using simulation | |
| WO2017046933A1 (en) | Operation rescheduling support apparatus and system | |
| JP2020057266A (en) | Erection process presentation device, erection process presentation program, and recording media | |
| Wang et al. | Multi AGV simulation system of intelligent workshop based on Digital Twin | |
| Sheng et al. | CAD‐guided robot motion planning | |
| CN116414126B (en) | A method, system, equipment, and terminal for AGV scheduling in a storage warehouse. | |
| CN103065004B (en) | The method of a kind of ship surface sectional construction dynamic dispatching | |
| US10180978B2 (en) | Interface providing decision support in complex problem environment | |
| Zahno et al. | Dynamic project planning with digital twin | |
| Liu et al. | Task-centric method for shipyard hoisting process modelling and its application in CAPP | |
| CN121327913B (en) | Layout and operation management method and system of entities in two-dimensional scene and electronic equipment | |
| Wörner et al. | Simulation-based visual layout planning in advanced manufacturing | |
| JP2004005431A (en) | Simulation model creating method, simulation method and device, and monitor/control method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120507 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130520 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130528 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130705 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20131217 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131225 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5450142 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |