毕业论文

打赏
当前位置: 毕业论文 > 电子通信 >

信号控制路网交通流动态分配研究(7)

时间:2017-02-20 21:21来源:毕业论文
//算法 q1 = ah.road1; q2 = ah.road2; Cm = (1.5 * j.L + 5) / (1 - (q1 / s1 + q2 / s2)); if (Cm40+j.L) { Cm = 40 + j.L; } if (q1 == 0 q2 == 0) { if (j.g1 20) { g1 = 20; greentime1.Text = greentime1: +


                //算法
                q1 = ah.road1;
                q2 = ah.road2;

                
                Cm = (1.5 * j.L + 5) / (1 - (q1 / s1 + q2 / s2));
                if (Cm<40+j.L)
                {
                    Cm = 40 + j.L;
                }
                if (q1 == 0 && q2 == 0)
                {
                    if (j.g1 < 20)
                    {
                        g1 = 20;
                        greentime1.Text = "greentime1:" + Convert.ToInt32(g1);
                    }
                    if (j.g2 < 20)
                    {
                        g2 = 20;
                        greentime2.Text = "greentime2:" + Convert.ToInt32(g2);
                    }
                    if (j.g1 >= 20&&j.g2 >= 20)
                    {
                        g1 = j.g1;
                        greentime1.Text = "greentime1:" + Convert.ToInt32(g1);
                        g2 = j.g2;
                        greentime2.Text = "greentime2:" + Convert.ToInt32(g2);
                    
                    }                    信号控制路网交通流动态分配研究(7):http://www.youerw.com/tongxin/lunwen_3132.html
------分隔线----------------------------
推荐内容