The name is absent



APPENDIX A. SOURCE CODE

78


if (currentNode != null && currentNode.getKeepTLDFlag()) {
currentNode. decrPhaseMinimal ();

}

for (int j = 0; j < tld [i ]. length; j++) { // for all inbound lanes in node
currentDec = tld[i][j];

curLane = tld [i ][j ]. getTL().getLane ();

int cntr = countRoadusers(curLane);

if (! tld [ i ][ j ]. getTL (). getState ())
currentDec . addKappa(cntr );

if (currentNode.getPhaseMinimal() <= 0 && currentDec.getKappa() >= TETA) {
currentDec. setQValue(currentDec. getKappa ());

CurrentNode. setKeepTLDFlag(false);

} else {

currentDec. setQValue (0);

}

}

}

return tld;

}

A.4 MorevtsSotlPlatoon

updateT LDs and decideT Ls of the Sotl-platoon traffic light controller is given
below.

public void updateTLDs() {

for ( int i = 0; i < tld . length ; i++) { // for all nodes

boolean switched = false ;

boolean platoonCrossing = false ;

int platoonRoaduserCount = 0;

int nrOfPlatoonLanes = 0;



More intriguing information

1. Improving Business Cycle Forecasts’ Accuracy - What Can We Learn from Past Errors?
2. CONSUMER PERCEPTION ON ALTERNATIVE POULTRY
3. Les freins culturels à l'adoption des IFRS en Europe : une analyse du cas français
4. Solidaristic Wage Bargaining
5. The name is absent
6. The name is absent
7. Opciones de política económica en el Perú 2011-2015
8. The name is absent
9. What Lessons for Economic Development Can We Draw from the Champagne Fairs?
10. Globalization and the benefits of trade