diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2018-02-14 12:32:57 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2018-02-14 12:32:57 +0100 |
| commit | 157d30beb52c75831e29a1a22c199b95d6d30b42 (patch) | |
| tree | c425bd9c5c6c76aa675634dd8c21590055f26f65 /opendc-stdlib/src/main/kotlin/com | |
| parent | 2e819d59934b5308bc58d6c69709112e2a6af402 (diff) | |
refactor(#18): Create distinction between kernel and simulation
This change creates a distinction between a kernel and a simulation.
A single simulation is represented by a `Simulation` object which
provides control over the simulation, while the `Kernel` interface
allows users to create a new simulation using that kernel as backend.
Diffstat (limited to 'opendc-stdlib/src/main/kotlin/com')
| -rw-r--r-- | opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/Bootstrap.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/Bootstrap.kt b/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/Bootstrap.kt index 1a5bbcaf..e0b54a28 100644 --- a/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/Bootstrap.kt +++ b/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/Bootstrap.kt @@ -6,7 +6,7 @@ import com.atlarge.opendc.simulator.Entity /** * Create a [Bootstrap] procedure for the given [Topology]. * - * @return A bootstrap procedure for the topology. + * @return A apply procedure for the topology. */ fun <T : Topology> T.bootstrap(): Bootstrap<T> = Bootstrap.create { ctx -> forEach { ctx.register(it) } |
