Found in 3 comments on Hacker News
cma · 2018-04-01 · Original thread
I can't remember exactly, but it is in here:
acslater00 · 2012-03-22 · Original thread
As it happens, I studied traffic flow back when I was an undergrad in the context of "agent based modeling".

Agent-based models are basically computer simulations where you throw N 'agents' into an environment with pre-defined rules and then watch how they interact with each other. This setup lends itself perfectly to vehicle-flow; each agent is a car, each car has a model for when it accelerates, when it slows down, when it turns, and so forth. Create enough of them, and you can start to simulate traffic jams and other interesting traffic phenomena.

Now, I have not studied this problem in particular. My research was on the effect of excessive lane-changing on overall traffic throughput (Spoiler: lane-changing tends to cause traffic to slow down behind the lane-changer, which means that system-wide lane-changing leads to traffic jams, but changing lanes is a strictly superior strategy for individual drivers in most situations. The classic collective-action problem. Economics!)

However, it seems to me that it would be relatively simple to extend a traditional AB traffic model to include special vehicles that impose constraints on nearby cars.

If any of you are interested, there is an excellent java library developed at UChicago called Repast [] which contains a framework for building agent-based models.

You may also be interested in my favorite book on the subject, "Micromotives and Macrobehavior" [] which is more rigorous than its Amazon description would have you believe.

cma · 2010-10-11 · Original thread
This is covered in Micromotives and Macrobehavior, in a section dealing with clubs/meetings/etc.

A similar book focused solely on online phenomena would rock.

Fresh book recommendations delivered straight to your inbox every Thursday.