Skip to content

Add an example of Cloudlets arriving according to a Poisson process - #48

Merged
manoelcampos merged 1 commit into
masterfrom
591-poisson-cloudlets-arrival-example
Nov 6, 2026
Merged

manoelcampos merged 1 commit into
masterfrom
591-poisson-cloudlets-arrival-example

Conversation

@manoelcampos

Copy link
Copy Markdown
Contributor

Part of cloudsimplus/cloudsimplus#591.

Adds PoissonCloudletsArrivalExample, which uses PoissonDistr.sample() to generate the time between Cloudlet arrivals and submits each Cloudlet with the matching delay. It replaces the main method being removed from PoissonDistr, which simulated customers instead of Cloudlets.

The example doesn't depend on the framework PR: it uses only existing API.

Test

I ran it against the local framework build: it finished without exceptions, with 40 Cloudlets arriving in 100 seconds, the same as the 40 expected.

🤖 Generated with Claude Code

Part of cloudsimplus/cloudsimplus#591: it replaces the main method being removed from PoissonDistr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manoelcampos manoelcampos self-assigned this Nov 6, 2026
@manoelcampos
manoelcampos merged commit 1c76525 into master Nov 6, 2026
1 check passed
@manoelcampos
manoelcampos deleted the 591-poisson-cloudlets-arrival-example branch November 6, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant