|
|
The following composite stage implements the quicksort algorithm.
|
|
|
The following stage implements the quicksort algorithm and serves as an example for a composite stage.
|
|
|
It is included in the TeeTime distribution and can be found [here](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/main/java/teetime/stage/quicksort/QuicksortStage.java).
|
|
|
In order to test a composite stage with our [stage testing framework](Writing-a-Unit-Test-for-a-Stage#writing-a-unit-test-for-a-stage), you need to map the outer port(s) to the inner port(s) as shown below.
|
|
|
|
|
|
```java
|
|
|
package teetime.stage.quicksort;
|
... | ... | |