Talk:Specification

Tags Missing
The introduction paragraph says that this page also aims to describe the XML structure. So, it should not only describe XML-attributes but also the names of the XML-tags itself and describe their hierarchy. (Only a side comment on vehicle types mentions as the tag name.) --Bjhend 13:42, 21 April 2010 (UTC)

Redundancy of Flow Attributes
For me the description which combinations of flow attributes are allowed and how the missing ones are computed is somewhat confusing. If I got it right I would suggest the following text block:

There is some redundancy among the attributes except "begin" so the following rules are applied:


 * 1) If "period" is missing but "vehsPerHour" given "period" is computed as $$period = \frac{3600}{vehsPerHour}$$. (This implies that "vehsPerHour" is ignored if both are given.)
 * 2) If now one of "end", "period" or "no" is missing it is computed by the relation $$no = \frac{end - begin}{period}$$. If all three are given "period" is derived from the other two (thus ignoring its attribute value and eventually "VehsPerHour").

I also do not understand why a small "period" could lead to no vehicles at all. Shouldn't it be a big enough "period" or do I get something wrong? At least I would expect one vehicle at "begin".

BTW, for me the tag name "no" is also confusing. I would have suggested "num" or the longer "number". --Bjhend 13:42, 21 April 2010 (UTC)

Lane Changing Behavior
In the last section "How the vehicle drives" I'm missing some comments about lane changing behavior answering the following questions:


 * Will the new lane be computed before or after computing new position and speed?
 * Will the new lanes be computed for all cars after/before computing the new positions and speeds for all cars thus separating position/speed computation completely from lane changing? The latter would be easier to implement as you don't have to recompute position/speed of the surrounding cars after a lane change occurs.
 * What lane will be chosen after a junction if there are fewer or more lanes on the next edge?

--Bjhend 14:39, 21 April 2010 (UTC)