News for hackers. Stuff that matters.
Re:Need a PhD Topic? How about cops in traffic by yummyfajitas on Thursday March 22, 2012 @10:17AM (#3739757)
I don't think you need agent models. You can probably study this directly with the nonlinear transport equation (Lighthill-Witham, I think), or one of the more detailed versions (the Rascall model?).

All you need to do is impose a police-created boundary condition at x=cop_location(t) instead of solving the pde on free space:

    velocity(density)|x=cop_location(t) = cop_velocity(t).
Re:Need a PhD Topic? How about cops in traffic by politician on Thursday March 22, 2012 @12:15PM (#3740446)
Would that model take into account the number of lanes and the lane position of the cop?
Re:Need a PhD Topic? How about cops in traffic by yummyfajitas on Thursday March 22, 2012 @12:49PM (#3740649)
It's been a while since I looked, so I'd need to think carefully. But very likely, yes, you could incorporate such things.

What I'd do is in the speed control term V(1-u(x,t)), I'd probably make V vary w.r.t the distance to the cop. I.e., same lane, you'd take something like:

    [V+(V_cop-V)bump(x-cop_position)](1-u(x,t))
Whereas in different lanes, you'd take:

    [V+alpha(V_cop-V)bump(x-cop_position)](1-u(x,t))
where alpha < 1 measures the reduced effect the cop has on different lanes. (Alpha might vary from lane to lane if you have more than 2 lanes, i.e. if the cop is in lane 1, alpha_lane_5 might be much smaller than alpha_lane_1.)

Here, bump(z) is some sort of bump function - 1 near z=0, dropping off as z moves away.