From 157d30beb52c75831e29a1a22c199b95d6d30b42 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 14 Feb 2018 12:32:57 +0100 Subject: 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. --- .../src/main/kotlin/com/atlarge/opendc/model/topology/Bootstrap.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-stdlib/src/main') 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.bootstrap(): Bootstrap = Bootstrap.create { ctx -> forEach { ctx.register(it) } -- cgit v1.2.3