summaryrefslogtreecommitdiff
path: root/opendc-kernel-omega
AgeCommit message (Collapse)Author
2018-07-11chore: Update Gradle build configurationFabian Mastenbroek
This change updates the Gradle build configuration in order to make use of the native JUnit 5 integration and the newest Kotlin and Dokka plugins.
2018-04-22feat(#12): Allow closing of instrument streamsFabian Mastenbroek
This change in Instrumentation API allows the user to close the data stream of an instrument by introducing a new concept: Port. A user can open a `Port` for a `Simulation` object and attach an arbitrary amount of instruments to this port. The data streams are closed by calling `Port#close()`.
2018-02-23feat(#12): Implement Instrumentation API in Omega kernelFabian Mastenbroek
These changes implement the Instrumentation API described in issue #11 into the Omega simulation kernel.
2018-02-19refactor(#18): Simplify Context interfaceFabian Mastenbroek
This change simplifies the `Context` interface to reduce the amount of methods required to implement by implementors.
2018-02-19refactor(#18): Refactor unused transformation receive methodsFabian Mastenbroek
This change removes the unused transformation receive methods from the `Context` class as this functionality can now be easily implemented in the standard library using the newly introduced `sender` property.
2018-02-19bug: Make message priority queue stableFabian Mastenbroek
This change fixes the bug where the insertion order into the message queue was not guaranteed for messages arriving at the same time, causing some non-deterministic behaviour.
2018-02-18refactor(#18): Optimize importsFabian Mastenbroek
2018-02-18refactor(#18): Provide access to process context in nested callsFabian Mastenbroek
This change provides a method in the standard library to access the process context in nested suspending function calls.
2018-02-16refactor(#18): Provide access to latest senderFabian Mastenbroek
This change adds a `sender` property to the `Context` interface to provide processes access to the sender of the latest received message. Please note that methods like `hold()` and `interrupt()` may change the value of this property.
2018-02-16refactor(#18): Fix broken receive() timeoutFabian Mastenbroek
This change fixes the broken implementation of the `receive()` method with a timeout due to an invalid condition.
2018-02-15refactor(#18): Handle process launch using a kernel processFabian Mastenbroek
This change will make the kernel handle the launch of processes using a kernel process that is launched at the start of the simulation and launches processes when it receives `Launch` messages.
2018-02-14refactor(#18): Create distinction between kernel and simulationFabian Mastenbroek
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.
2018-02-13refactor(#18): Fix OpenDC model deploymentFabian Mastenbroek
This change fixes the deployment of the OpenDC simulation model.
2018-02-12refactor(#18): Launch processes at initial runFabian Mastenbroek
This change will make the simulation kernel launch the processes at the initial run instead of when the processes are registered.
2018-02-12refactor(#18): Align formatting with official Kotlin Style GuideFabian Mastenbroek
This change aligns the code formatting of the project with the official Kotlin Style Guide. They can be found at http://kotlinlang.org/docs/reference/coding-conventions.html.
2018-02-12refactor(#18): Update dependenciesFabian Mastenbroek
This change bumps the version of the dependencies used by the project.
2018-01-11refactor(#18): Redesign core simulation APIFabian Mastenbroek
This change contains the redesign of the core simulation API and provides a cleaner interface for developing simulation models for the users.