Quellcode-Bibliothek
© Kompilation durch diese Firma
[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]
Datei:
Mainboard.pas.~1057~
Sprache: Unknown
class EdgeCommand
instance variables
public curSpeed : nat := 0;
public openNumLanes : nat := 0;
-- blocked due to traffic-lights / accidents
public isBlocked : bool := false;
-- weather
public minTimeBetweenCars: real := 0.0;
operations
public Update: nat * nat * bool * real ==> ()
Update(cs,onl,ib,mtbc) ==
(curSpeed := cs;
openNumLanes := onl;
isBlocked := ib;
minTimeBetweenCars := mtbc);
end EdgeCommand
[ Dauer der Verarbeitung: 0.24 Sekunden
(vorverarbeitet)
]
|
|