Research Article

Synchronous Routing for Personal Rapid Transit Pods

Algorithm 2

Optimal correction.
(1) integer
(2) Procedure RelaxedProb(integer TotalCost , integer PathStructure )
(3) Function integer InitialProb(integer trip , integer Cost )
(4) for (   do
(5) if ( ) then
(6)  integer trip
(7)  for ( ) do
(8)   trip[ ]     PathStructure
(9)  end for
(10) GlobalCost     ProbInitial (trip, Cost)
(11)else
(12) GlobalCost     GlobalCost + TotalCost( )
(13)end if
(14) end for
(15) Return (GlobalCost)