The name is absent



APPENDIX A. SOURCE CODE

77


A.3 MorevtsSotlPhase

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

public void updateTLDs() {

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

boolean switched = false ;

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

if( tld [i ][j ]. getTL (). getCycleSwitched()==getCurCycle()-1)
switched = true ;

if ( switched) {

if (! tld [i ][0]. getTL (). getNode (). getKeepTLDFlag())

{

tld [i ][0]. getTL (). getNode (). setKeepTLDFlag(true);

tld [i ][0]. getTL (). getNode (). setPhaseMinimal(PHASE_MIN);

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

if ( tld [ i ][ j ]. getTL (). getState ())

tld [i ][ j ]. setKappa (0);

}

}

}

}

public TLDecision [][] decideTLs() {

TLDecision currentDec ;

Drivelane curLane;

// 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 ();



More intriguing information

1. MULTIPLE COMPARISONS WITH THE BEST: BAYESIAN PRECISION MEASURES OF EFFICIENCY RANKINGS
2. Publication of Foreign Exchange Statistics by the Central Bank of Chile
3. Synthesis and biological activity of α-galactosyl ceramide KRN7000 and galactosyl (α1→2) galactosyl ceramide
4. The Impact of EU Accession in Romania: An Analysis of Regional Development Policy Effects by a Multiregional I-O Model
5. NVESTIGATING LEXICAL ACQUISITION PATTERNS: CONTEXT AND COGNITION
6. The name is absent
7. Convergence in TFP among Italian Regions - Panel Unit Roots with Heterogeneity and Cross Sectional Dependence
8. EU enlargement and environmental policy
9. Sectoral Energy- and Labour-Productivity Convergence
10. Micro-strategies of Contextualization Cross-national Transfer of Socially Responsible Investment