{
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.751com.cn/tongxin/lunwen_3132.html