Research Article

Graphical Optimization Method for Symmetrical Bidirectional Corridor Progression

Algorithm 2 First round rotation transformation procedure.
Our second step is to optimize the intersection coordinated modes, and the first round of the rotation transformation routine can be presented below.
First Round Rotation Transformation Procedure
Step0. Determine the crossing point OLp, ORp, and OGp.
 First, let .
 Then, if mod, yRp equals and yGp equals , else and .
Step1. Calculate the primary judgment factor as shown in Equation (4).
Step2. Make a judgment of whether ray lRp and lGp pass through the red interval of any intersection Iq (1 <q < p) or not.
 If , fR(p, q) = 0, otherwise fR(p, q) 1 and .
 If , fG(p, q) = 0, otherwise fG(p, q) 1 and .
yR(p, q) (yG(p, q)) is the ordinate of the green center point of Iq, which is closest to the crossing point of lRp (lGp) and the timeline of Iq, and is the green split of Iq.
Step3. Determine the coordinated mode of Ip.
 If and , or , and , or , and max  max , the coordinated mode judgment factor Fp equals 0.
 If and , or , and , or , and max max , the coordinated mode judgment factor Fp equals 1.
Step4. PTC line optimization.
 If and is within the rotation range, calculate as shown in Equation (3), and then let equal , else if and VRp is within the rotation range, calculate and then let equal , else .
Step5. Make a judgment of whether p equals n or not. If pn, let p equal p + 1 and then return to Step0.