Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/VDM/VDMPP/BuslinesPP/   (Wiener Entwicklungsmethode ©)  Datei vom 13.4.2020 mit Größe 499 B image not shown  

Quelle  Waypoint.vdmpp   Sprache: VDM

 
class Waypoint

 types
  public BusStops = <A> | <B> | <C> | <D> | <E> | <F> | <Central>;
  public WaypointsEnum = <WP1> | <WP2> | <WP3> | <WP4> | BusStops; 

 instance variables
  protected id : WaypointsEnum;
  protected isStop : bool := false;

 operations
  public Waypoint : Waypoint`WaypointsEnum ==> Waypoint
  Waypoint(s) == 
  (
   id := s;
  );

  pure public GetId : () ==> WaypointsEnum
  GetId()== return id;

  pure public IsStop: () ==> bool
  IsStop()== return isStop;


end Waypoint

90%


¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.