Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows seeding layouts #17

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Allows seeding layouts #17

merged 1 commit into from
Jul 17, 2024

Conversation

merschformann
Copy link
Owner

@merschformann merschformann commented Jul 17, 2024

Description

Allows specifying a seed in the layout configuration. This seed is used for randomly positioning pods, bots, etc. Previously, stored layouts should be fully compatible as a missing seed acts as a 0 seed value, which was the previous fixed default.

The seed can be configured in the UI via Instances > Instance layout > Seed and in the XML:

<LayoutConfiguration>
  ...
  <Seed>0</Seed>
  ...
</LayoutConfiguration>

⚠️ Note: This seed only affects the layout being generated. There is already a seed available to change the stream of random events for the running simulation. Find it in the setting configuration.

Changes

  • Allows defining seeded layouts

@merschformann merschformann merged commit 20dd9c5 into main Jul 17, 2024
1 check passed
@merschformann merschformann deleted the merschformann/seeded-layouts branch July 17, 2024 02:01
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