This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:traffic:timetable:pool [2018/09/22 11:15] 127.0.0.1 external edit |
en:traffic:timetable:pool [2018/09/23 14:37] (current) bahnfrank65 [Definition of POOLs] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== POOLs ====== | + | ===== POOLs ===== |
- | Pools werden im [[de:traffic:timetable:start|Fahrplan]] des [[de:traffic:start|Traffic Screensaver]] seit Version 4.2 zur Vereinfachung der (besonders mehrfachen) Verwendung von [[de:traffic:timetable:motion:start|Fahrzeugbewegungen]] verwendet. Sie ermöglichen es, dieselben Bewegungszeilen auch gruppenweise mehrfach im selben Fahrplan zu verwenden, ohne sie auch mehrfach zu schreiben. | + | Pools are used in the [[en:traffic:timetable:start|timetable]] of [[en:traffic:start|Traffic Screensaver]] since version 4.2 to simplify the use of [[en:traffic:timetable:motion:start|vehicle movements]]. They make it possible to use the same movement lines group by group several times in the same timetable without having to write them several times. |
+ | ==== Definition of POOLs ==== | ||
- | ===== Definition von POOLs ===== | + | To define a POOL, one or more lines of movement are framed at the beginning by a line beginning with $POOL and naming the POOL with //N=// and ending with the expression $ENDPOOL. |
- | Zur Definition eines POOLs werden eine oder mehrere Bewegungszeilen von einer mit $POOL beginnenden und den POOL mittels //N=// benennenden Zeile am Anfang und dem Ausdruck $ENDPOOL am Ende eingerahmt. | + | <code>$POOL N=movements |
- | <code>$POOL N=Bewegungen | + | <Motion lines> |
- | + | ||
- | <Bewegungszeilen> | + | |
$ENDPOOL</code> | $ENDPOOL</code> | ||
- | Damit ist ein POOL namens "Bewegungen" definiert. | + | This defines a POOL named "Movements". |
+ | ==== Using POOLs ==== | ||
- | ===== Verwendung von POOLs ===== | + | Once you have defined a POOL, you can use it as often as you want and almost anywhere on the timetable - of course only by definition - by specifying //POOL=// and the name of the POOL. |
- | Wenn man einen POOL erst definiert hat, kann man ihn beliebig oft und an nahezu beliebiger Stelle des Fahrplans – natürlich nur nach der Definition – verwenden, indem man //POOL=// und den Namen des POOLs angibt. | + | <code>POOL=movements</code> |
- | <code>POOL=Bewegungen</code> | + | Even POOLs can be manipulated in the probability of their occurrence. |
- | + | ||
- | + | ||
- | Auch POOLs lassen sich in der Wahrscheinlichkeit ihres Auftretens manipulieren. | + | |
<code>POOL=1:Pool1|9:Pool2</code> | <code>POOL=1:Pool1|9:Pool2</code> | ||
- | bewirkt, daß von zehn aufgerufenen POOLs einer Pool1 ist und die anderen neun Pool2. | + | causes ten pool POOLs to be one pool1 and the other nine pool2. |
- | + | ||
- | + | ||
- | ===== Verschachtelung ===== | + | |
- | POOLs lassen sich nicht verschachteln, also in andere POOLs eintragen. Sie können selbst nur Bewegungszeilen enthalten. Im Falle einer Verschachtelung gibt Traffic eine Fehlermeldung aus. | + | ==== nesting ==== |
+ | POOLs can not be nested, so enter them in other POOLs. You can only include motion lines. In the case of nesting, Traffic issues an error message. |