https://github.com/doylemark/cooper
Web interface for cloudsimplus simulations
https://github.com/doylemark/cooper
Last synced: 3 months ago
JSON representation
Web interface for cloudsimplus simulations
- Host: GitHub
- URL: https://github.com/doylemark/cooper
- Owner: doylemark
- Created: 2024-10-10T21:10:04.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-03T17:45:27.000Z (3 months ago)
- Last Synced: 2025-04-03T18:36:39.696Z (3 months ago)
- Language: TypeScript
- Homepage: https://cooper-nine.vercel.app
- Size: 980 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cooper
Cooper is a Java library and web interface that provides a simple and efficient way to record and analyze [CloudSimPlus](https://github.com/cloudsimplus/cloudsimplus) simulations.
## Requirements
- Java 21 or later
- Maven 3.6 or later
- CloudSimPlus 8.5.2 or later## Installation
Add Cooper to your Maven project:
```xml
io.github.doylemark
cooper
0.0.1```
## Quick Start
```java
SimulationRecording recording = new SimulationRecording("Dynamic VMs Arrival");simulation.startSync();
// Run the simulation and record state at each tick
while (simulation.isRunning()) {
double clock = simulation.runFor(1);
recording.tick(datacenter, clock);
}// Get the final state as JSON
String output = recording.end(datacenter, simulation.clock());
```## Building from Source
```bash
# Clone the repository
git clone https://github.com/doylemark/cooper.git
cd cooper# Build the project
mvn clean install
```