The name is absent



Appendix A

Source Code

In this chapter are some parts of code given which are discussed in chapter 4
(Coding process). The complete source code is available at the sourceforge site
for the project
moreV T S [mor].

A.1 control on switching lights

For the proposed traffic light controllers it was needed to have control of when
traffic lights should switch. The use of a few flags will make it able to do this.
keepSwitchControl is used to specify which traffic light controllers need to con-
trol the switching itself.
keepT LDF lag is used to fixate a specific traffic light
configuration.

if ( tlcontroller . getKeepSwitchControl ()) {

if (!( node.getKeepTLDDFlag()))

switchTrafficLights (( Junction )node, decisions [ i ]);

else

switchTrafficLights (( Jucntion )node, decisions [ i ]);

75



More intriguing information

1. Developing vocational practice in the jewelry sector through the incubation of a new ‘project-object’
2. Short report "About a rare cause of primary hyperparathyroidism"
3. Strategic monetary policy in a monetary union with non-atomistic wage setters
4. A Rational Analysis of Alternating Search and Reflection Strategies in Problem Solving
5. The Variable-Rate Decision for Multiple Inputs with Multiple Management Zones
6. The name is absent
7. Regulation of the Electricity Industry in Bolivia: Its Impact on Access to the Poor, Prices and Quality
8. The name is absent
9. The name is absent
10. GROWTH, UNEMPLOYMENT AND THE WAGE SETTING PROCESS.
11. Økonomisk teorihistorie - Overflødig information eller brugbar ballast?
12. The name is absent
13. Strengthening civil society from the outside? Donor driven consultation and participation processes in Poverty Reduction Strategies (PRSP): the Bolivian case
14. Bridging Micro- and Macro-Analyses of the EU Sugar Program: Methods and Insights
15. The name is absent
16. Innovation and business performance - a provisional multi-regional analysis
17. 5th and 8th grade pupils’ and teachers’ perceptions of the relationships between teaching methods, classroom ethos, and positive affective attitudes towards learning mathematics in Japan
18. Public Debt Management in Brazil
19. The name is absent
20. The name is absent