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. A Location Game On Disjoint Circles
2. The name is absent
3. Valuing Farm Financial Information
4. Retirement and the Poverty of the Elderly in Portugal
5. Bridging Micro- and Macro-Analyses of the EU Sugar Program: Methods and Insights
6. Voluntary Teaming and Effort
7. Kharaj and land proprietary right in the sixteenth century: An example of law and economics
8. The name is absent
9. A Regional Core, Adjacent, Periphery Model for National Economic Geography Analysis
10. The name is absent