CHAPTER 4. CODING PROCESS
15
TLCantraller
÷fir∣f r a: Infrastructure
≠t∣d :TLDecision[][]
-TrackNcciejnt
≠r∣um..tlsιint
+g at I nf rast ru ct иге Й і nf rast ru ct u re
+setinfrastructure (inf ra Infrastructure): void
+decide TLi Q: TLDDeaa >ontf U
+create DecisionArray (inf ra:lnfrastructure):TLDecision[][]
#get QVqIuesFrom DecisionArray (array :TLDDecision[][]):float[][]
+applyQValues(array.TLDecision[][],value:float[][]):void
+reset θ:voi d
+trackNode(i:int):void
+getNumTLs():int
+LipdateRoadLaer Move(r Lt:'fi.o adιaer, pre γfs ле: Drivelsrte,...:.. .):va'd
+UoSettingsD ialog(c: Controller, sett IngsiTLCSet tings): void
TlCSettings
-descriptions:Stringi]
-ints:i nt[ ]
- float s:fieat[ ]
+TLCSet tings(Je script ions: St ri π g[ ɪ, і nt s: int [ɪ, f Ioat s:f Ioat [ J):
Created with Poseidon for LiML Community Edition. Not for Commercial Use.
Figure 4.3: UML diagram: TLController