From 46b06fb446e79c390c01953d31d700b8e73da24d Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Mon, 29 Jun 2020 16:04:57 +0200 Subject: Prepare simulator repository for monorepo This change prepares the simulator Git repository for the monorepo residing at https://github.com/atlarge-research.com/opendc. To accomodate for this, we move all files into a simulator subdirectory. --- simulator/odcsim/README.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 simulator/odcsim/README.md (limited to 'simulator/odcsim/README.md') diff --git a/simulator/odcsim/README.md b/simulator/odcsim/README.md new file mode 100644 index 00000000..b930315a --- /dev/null +++ b/simulator/odcsim/README.md @@ -0,0 +1,54 @@ +

+ + OpenDC + +
+ odcsim +

+ +## Introduction +**odcsim** is a framework for discrete event simulation in Kotlin, used +by the [OpenDC](https://opendc.org) project. +Simulations are defined in terms of a hierarchical grouping of actors +and the interactions between these actors +([Actor model](https://en.wikipedia.org/wiki/Actor_model)). + +## Getting Started + +The instructions below are meant for when you would like to use `odcsim` separately from `opendc`. If you simply want to use the simulator, you do not need to follow them, please refer to the [main README](../README.md) for instructions. + +### Installation +Please add the required packages as dependency in your project. +Releases are available in the [Maven Central Repository](https://search.maven.org/). + +The package `odcsim-core` is required to construct a simulation model. +A `odcsim-engine-*` package is needed for running the simulation +model. + +#### Gradle +Groovy +```groovy +implementation 'com.atlarge.odcsim:odcsim-api:2.0.0' +runtime 'com.atlarge.odcsim:odcsim-engine-omega:2.0.0' +``` +Kotlin +```groovy +implementation("com.atlarge.odcsim:odcsim-api:2.0.0") +runtime("com.atlarge.odcsim:odcsim-engine-omega:2.0.0") +``` + +#### Maven +```xml + + com.atlarge.odcsim + odcsim-api + 2.0.0 + + + + com.atlarge.odcsim + odcsim-engine-omega + 2.0.0 + +``` + -- cgit v1.2.3