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.17 Sekunden
(vorverarbeitet)
¤
|
Haftungshinweis
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.
|