The name is absent



APPENDIX A. SOURCE CODE

80


public TLDecision [][] decideTLs() {
TLDecision currentDec ;

Drivelane curLane;

// System.out . println ("#### TLDATA-"+this.getCurCycle()+" ####");

// adjust data after last cycle
updateTLDs();

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

for ( int j = 0; j < tld [i ]. length ; j++)

if (currentNode == null ) currentNode= tld [ i ][ j ]. getTL (). getNode ();

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,VISIBLE);

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

if (currentNode. getPhaseMinimal() <= 0

&& !currentNode. isPlatoonCrossing ()

&& currentDec.getKappa() >= TETA) {
currentDec . setQValue(currentDec . getKappa ());
currentNode . setKeepTLDFlag(false);

// curDec.setQValue (1);

}
else



More intriguing information

1. THE DIGITAL DIVIDE: COMPUTER USE, BASIC SKILLS AND EMPLOYMENT
2. Pass-through of external shocks along the pricing chain: A panel estimation approach for the euro area
3. The name is absent
4. Tourism in Rural Areas and Regional Development Planning
5. Update to a program for saving a model fit as a dataset
6. The name is absent
7. Trade and Empire, 1700-1870
8. The Economics of Uncovered Interest Parity Condition for Emerging Markets: A Survey
9. Beyond Networks? A brief response to ‘Which networks matter in education governance?’
10. The urban sprawl dynamics: does a neural network understand the spatial logic better than a cellular automata?