ij = ( intent ( cj , hj ) ) /*agent intention fill*/ response = 0 /* begin agent response*/ zone = z ( i ) /* intitial zone unlearned by agent*/ sweep =1 /* activate agent travel*/ end for end for /*main*/ for kl=1 to rvd do for = i to j do /* tracking surrounds*/ ?