Method and apparatus for adjusting train diagram
AssigneeTraffic Control Technology Co., Ltd
InventorsKai Lu, Ming Luo, Xingdong Zhao
Life of this patent
Estimating the term…
Abstract
The present application discloses a method and apparatus for adjusting a train diagram, the method includes: obtaining a first time of an extra train corresponding to a target passenger flow, and obtaining a set of trains with adjustable departure times based on the first time, in which the set of trains includes at least one train; adjusting a departure time of the at least one train in the set of trains based on a preset minimum departure time interval to obtain an adjusted train diagram; and performing an extra train adding instruction based on the adjusted train diagram.
Claims12
A method for adjusting a train diagram, comprising:
- obtaining a first time of an extra train corresponding to a target passenger flow, and obtaining a set of trains with adjustable departure times based on the first time, wherein the set of trains comprises at least one train;
- adjusting a departure time of the at least one train in the set of trains based on a preset minimum departure time interval to obtain an adjusted train diagram;
- and
- performing an extra train adding instruction based on the adjusted train diagram;
- wherein the set of trains comprises a first set of trains and a second set of trains, the first set of trains comprises at least one train with a departure time before the first time, and the second set of trains comprises at least one train with a departure time after the first time;
- adjusting the departure time of the at least one train in the set of trains based on the preset minimum departure time interval comprises:
- sorting the at least one train in the first set of trains in an order of departure time from back to front to obtain a sorted first set of trains {Sb1 . . . , Sbi, . . . Sbn}, wherein 1≤i≤n and i is an integer;
- determining whether a difference between the first time and a departure time of a train Sb1 is greater than or equal to the preset minimum departure time interval;
- under a condition that the difference between the first time and the departure time of the train Sb1 is greater than or equal to the preset minimum departure time interval, adjusting the departure time of the at least one train in the second set of trains based on the preset minimum departure time interval;
- and
- under a condition that the difference between the first time and the departure time of the train Sb1 is less than the preset minimum departure time interval, adjusting the departure time of the at least one train in the sorted first set of trains in sequence based on a preset minimum turn-back time of train.
Dependencies are inferred from the claim text.