毕业论文

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

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

时间:2017-02-20 21:21来源:毕业论文
{ int i, j; int x, y; bool mybool = false; for (i = 1; i = n; i++) for (j = 1; j = n; j++) if (PA[i][j] != 0) /*即判断i,j点不为同一点*/ { y = j; x = Convert.ToInt32(P[i][j]); Console.WriteLin


        {
            int i, j;
            int x, y;
            bool mybool = false;
            for (i = 1; i <= n; i++)
                for (j = 1; j <= n; j++)
                    if (PA[i][j] != 0)
                    /*即判断i,j点不为同一点*/
                    {
                        y = j;
                        x = Convert.ToInt32(P[i][j]);

                        Console.WriteLine("{0},{1}", i, j);

                        while (!mybool)
                        {
                            Console.Write("{0}-", y);

                            LL[x][y] += PA[i][j];
                            /*对任一对PA点累加交通量*/
                            if (x == i)
                            {
                                Console.WriteLine("{0}", x);
                                /*判断是否最后一次循环*/
                                break;
                            }
                            else
                            {
                                y = x; 信号控制路网交通流动态分配研究(5):http://www.youerw.com/tongxin/lunwen_3132.html
------分隔线----------------------------
推荐内容