Reorganizing display of a railway timetable diagram
Abstract
A method and apparatus for reorganizing display of a railway timetable diagram. A method of reorganizing the display of a railway timetable diagram, including: generating a relational graph by using a multiple of stations in the railway timetable diagram and correlations between the stations; partitioning the relational graph according to a partition rule, where the partition rule reduces lines crossing in at least one page and/or section in at least one page in a reorganized railway timetable diagram, where the lines representing an association between respective stations along a path in the reorganized railway timetable diagram; and displaying a reorganized railway timetable diagram based on a result of the partitioning. An apparatus for reorganizing the display of a railway timetable diagram.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. A method of reorganizing display of a railway timetable diagram, comprising:
generating, using a hardware processor device, a relational graph by using a plurality of stations in the railway timetable diagram and correlations between the plurality of stations, a correlation between two stations existing when the two stations follow in succession along a path, the path comprising at least one of a train leg and a locomotive path;
assigning a higher value to correlation between two successive stations along a train leg; and assigning a lower value to correlation between two successive stations along a locomotive path; said generating comprising: forming sub-graphs based on paths in the railway timetable diagram; and consolidating the sub-graphs to form the relational graph, wherein said consolidating comprises: accumulating correlations between the same stations to obtain an overall impact of each path on correlations between stations;
partitioning, using the hardware processor device, the relational graph according to a partition rule, wherein the partition rule reduces lines crossing in at least one page and/or section in at least one page in a reorganized railway timetable diagram, wherein the lines representing an association between respective stations along a path in the reorganized railway timetable diagram; and
displaying on an associated display device in communication with said hardware processor the reorganized railway timetable diagram based on a result of the partitioning.
2. The method according to claim 1 , wherein forming the sub-graphs based on paths in the railway timetable diagram further comprising:
constructing a first node and a second node in the relational graph by using a first station and a second station that are in succession along the path; and
using a correlation between the first station and the second station as a weight of an edge between the first node and the second node.
3. The method according to claim 2 , further comprising: determining the first station and the second station based on a railway network involved by the paths.
4. The method according to claim 1 , wherein the partitioning the relational graph according to a partition rule further comprising:
partitioning the relational graph into at least one block, and further partitioning at least one block into at least one group.
5. The method according to claim 4 , further comprising: sorting groups to contain at least one block.
6. The method according to claim 5 , wherein displaying a reorganized railway timetable diagram based on a result of partitioning further comprising:
displaying as a result of the sorting, in at least one page, at least one section corresponding to at least one group in at least one block; and
displaying, in at least one section, stations corresponding to nodes in at least one group.
7. The method according to claim 1 , wherein the partition rule is a Spectral Graph Theory.
8. An apparatus for reorganizing display of a railway timetable diagram, the apparatus comprising:
a memory storage device;
a hardware processor operatively connected to said memory device and configured to:
generate a relational graph by using a plurality of stations in the railway timetable diagram and correlations between the plurality of stations, a correlation between two stations existing when the two stations follow in succession along a path, the path comprising at least one of a train leg and a locomotive path; wherein to generate a relational graph, said hardware processor is further configured to:
assign a higher value to correlation between two successive stations along a train leg; and assigning a lower value to correlation between two successive stations along a locomotive path;
form sub-graphs based on paths in the railway timetable diagram; and consolidate the sub-graphs to form the relational graph, wherein said consolidating comprises: accumulating correlations between the same stations to obtain an overall impact of each path on correlations between stations;
partition the relational graph according to a partition rule, wherein the partition rule reduces lines crossing at least one page and/or crossing at least one section in at least one page in a reorganized railway timetable diagram, wherein the lines represent associations between respective stations along a path in the reorganized railway timetable diagram; and
display on an associated display device a reorganized railway timetable diagram based on a result of the partitioning.
9. The apparatus according to claim 8 , wherein to form sub-graphs, said hardware processor is further configured to:
construct a first node and a second node in the relational graph by using a first station and a second station that follow in succession along the path; and
use a correlation between the first station and the second station as a weight of an edge between the first node and the second node.
10. The apparatus according to claim 9 , wherein to construct the first and second node, said hardware processor is further configured to:
determine the first station and the second station based on a railway network involved by the paths.
11. The apparatus according to claim 8 , wherein to partition, said hardware processor is further configured to: partition the relational graph into at least one block; and further partition at least one block into at least one group.
12. The apparatus according to claim 11 , wherein to partition, said hardware processor is further configured to: sort groups into at least one block.
13. The apparatus according to claim 12 , wherein
to display, said hardware processor is further configured to:
display, in at least one page, at least one section corresponding to at least one group in at least one block, according to a result of the sorting; and
display, in at least one section, stations corresponding to nodes in at least one group.
14. The apparatus according to claim 8 , wherein the partition rule is a Spectral Graph Theory.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.