Dear every users of SUMO.

Hello. I'd like to ask how to adjust the traffic light link by link.
What I have is like this,

HashMap<String, String> tlight;
first variable is the string represents fromLane and toLane, in the form of
"fromLane@toLane".
and second string means the light. "g", "r", or "y".

Now I should make this map to one string, like "rgyygg".
But the problem is that I do not know which link should be the first. (On
the string above, which link is "r"?)
I mean, I need to arrange these information to one string for traffic
light, though I have the traffic light of each location.

Is there the rule to select the order of links on the string of traffic
light?

Thank you.


Regards,
Yun
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to