Research Article
Optimal Path Choice in Railway Passenger Travel Network Based on Residual Train Capacity
Input: Standard train timetable (Table 1), minimum transferring time [()][()], | transferring fare M[()][()] and parameters . | Output: , () and . | Step 1. Initialize node set , define total number of nodes according to train timetable. | Step 2. Establish and the time among arcs. | for (, ++) | if tid() = tid(), set . | Step 3. Establish all transferring arcs | for (, ≤ amount of cities, ++) | for (, ++) | if ( && () = “de”) | for (++) | if ( && “ar” && (()! = ())) | set | if ([()][()]) | set ← maxnum, , | ← ; | otherwise ← 0, ← maxnum. | Step 4. Set capacity of all stopping arcs. | for (++) | if () = “ar”, set ← maxnum. | Step 5. Set capacity and fare of all running arcs. | for (++) | if () = “de” | set ; | if , set ← maxnum; end. |
|