60 Chapter 5 <strong>Traffic</strong> <strong>Flow</strong> <strong>Optimization</strong>>> T56 = task(’T(5,6)’, 21.3);>> T26 = task(’T(2,6)’, 68.7);>> T96 = task(’T(9,6)’, 24.4);>> prec6 = [0 1 1; 0 0 0; 0 0 0];>> TS6 = taskset([T56 T26 T96],prec6);>> T67 = task(’T(6,7)’, 29.6);>> T37 = task(’T(3,7)’, 60.4);>> T97 = task(’T(9,7)’, 7.5);>> prec7 = [0 1 1; 0 0 0; 0 0 0];>> TS7 = taskset([T67 T37 T97],prec7);>> T78 = task(’T(7,8)’, 18.4);>> T228 = task(’T(22,8)’, 71.6);>> prec8 = [0 1; 0 0];>> TS8 = taskset([T78 T228],prec8);>> TSall = [TS6 TS7 TS8];>> TSall.Prec(1,4) = 1;>> TSall.Prec(4,7) = 1;>> D = zeros(size(TSall.Prec));>> D(1,4) = 9.5;>> D(4,7) = 8;>> prob = ...problem(’P<strong>in</strong>f|prec,out-tree,cjk|Cmax’);>> TSall = chretienne(TSall,p,Inf,D);>> plot(TSall);Fig. 5.3: Solution <strong>of</strong> the schedul<strong>in</strong>g problem <strong>in</strong> the toolbox5.5 SummaryIn this chapter, the <strong>of</strong>fset ϕ uv <strong>and</strong> the split τ vj <strong>of</strong> <strong>in</strong>tersections were found.The <strong>of</strong>fset is respect<strong>in</strong>g the green wave strategy <strong>and</strong> the split is optimalunder considered criterion (m<strong>in</strong>imizes the time spend on the road — from theschedul<strong>in</strong>g po<strong>in</strong>t <strong>of</strong> view m<strong>in</strong>imizes C max ). The data from real light controlled<strong>in</strong>tersections <strong>in</strong> an urban traffic region <strong>in</strong> Prague was used to demonstrateconsecutive steps <strong>of</strong> the problem solution.
5.5 Summary 61Intersection 6T 2,6T 9,6T 5,6Intersection 7' 6,7=9.5T 3,7T 9,7T 6,7Intersection 8' 7,8=8T 7,8 T 22,8(a) Precedence constra<strong>in</strong>tsIntersection 6T 2,6T 9,6T 5,6Intersection 7T 3,7T 9,7T 6,7Intersection 8T 7,8¿ 6,1 ¿ 6,2¿ 6,3p 2,6p 5,6p 9,6p 6,7p 9,7' 6,7¿ 7,1¿ 7,2¿ 7,3p 3,7' 7,8¿ 8,1¿ 8,2T 22,8p 7,8p 22,8100 150 200 250 300(b) Gantt chart for vehicle flow <strong>in</strong>clud<strong>in</strong>g split <strong>and</strong> <strong>of</strong>fset markFig. 5.4: The <strong>in</strong>tersections (6, 7 <strong>and</strong> 8) controlt