The name is absent



APPENDIX A. SOURCE CODE

79


int platoonRuCntAvg = 0;

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

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

// set flag and reset kappa

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

}

}

// check if platoon is crossing .

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

// if tl is green

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

PlatoonRoaduserCount += countRoadusers(tld [i ][ j ]. getTL (). getLane (), OMEGA);

nrOfPlatoonLanes += 1;

}

if (nrOfPlatoonLanes>0) {

platoonRuCntAvg = platoonRoaduserCount/nrOfPlatoonLanes;

if (platoonRuCntAvg >= 1 && platoonRuCntAvg <= MU){
platoonCrossing = true ;

}

if ( tld [i ]. length >=1)

tld [i ][0]. getTL (). getNode (). setPlatoonCrossing ( platoonCrossing );
}

}



More intriguing information

1. Performance - Complexity Comparison of Receivers for a LTE MIMO–OFDM System
2. Public-private sector pay differentials in a devolved Scotland
3. Impact of Ethanol Production on U.S. and Regional Gasoline Prices and On the Profitability of U.S. Oil Refinery Industry
4. The name is absent
5. The Integration Order of Vector Autoregressive Processes
6. SAEA EDITOR'S REPORT, FEBRUARY 1988
7. CURRENT CHALLENGES FOR AGRICULTURAL POLICY
8. Regional dynamics in mountain areas and the need for integrated policies
9. The resources and strategies that 10-11 year old boys use to construct masculinities in the school setting
10. Improvement of Access to Data Sets from the Official Statistics
11. The Tangible Contribution of R&D Spending Foreign-Owned Plants to a Host Region: a Plant Level Study of the Irish Manufacturing Sector (1980-1996)
12. Anti Microbial Resistance Profile of E. coli isolates From Tropical Free Range Chickens
13. Growth and Technological Leadership in US Industries: A Spatial Econometric Analysis at the State Level, 1963-1997
14. The name is absent
15. The name is absent
16. The name is absent
17. Pricing American-style Derivatives under the Heston Model Dynamics: A Fast Fourier Transformation in the Geske–Johnson Scheme
18. Human Rights Violations by the Executive: Complicity of the Judiciary in Cameroon?
19. Update to a program for saving a model fit as a dataset
20. Agricultural Policy as a Social Engineering Tool