GitXplorerGitXplorer
b

PredatorPreySimulationML

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
9599e05d18f6c4513907e9aa888082ff3f5f8365

Merge pull request #2 from bkulawska/marcin

mmkroczek committed a year ago
Unverified
1b0032bc403b451143da36ebfddb664e3c86c058

Prepare app to pass an environment to move function

mmkroczek committed a year ago
Verified
7b65c4805330a9eb44ce35bca136107e87e9c3d3

Merge pull request #1 from bkulawska/marcin

bbkulawska committed a year ago
Unverified
b8a4468dfe58f0bb5b59d059bc19658cccca4a57

Modify gitignore

mmkroczek committed a year ago
Unverified
248689166e58f5d6024098c28f92332c8641d619

fix commit

bbkulawska committed a year ago
Unverified
c3032c558ad929d9c42db9d69018e16f7e33010d

first commit

bbkulawska committed a year ago

README

The README file for this repository.

Evolution Simulator

The application simulates the environment presented below:

  • The animals are marked as circles, having different colors depending on how much energy they have. The more energy they have, the darker they become.
  • To gain energy they need to eat grass which is marked as green rectangles. Each day one grass spawns randomly in the jungle(dark green area), and outside of it. Each animal moves exactly once a day in a direction chosen randomly from the genome.
  • If two animals meet each other and have enough energy, they reproduce, creating a new animal with a genome that is a mix of its parents’ genome.
  • On the left side of the window is an available statistics tracker, which enables to track base population data, such as average energy and number of alive animals
  • It is also possible to track one animal by clicking on it. Then more detailed data will be presented, such as the selected animal’s genome and the number of its descendants.
  • It is possible to run two simulations that run separately at once. Application view image

To run the program you first need to build gradle and then run gradle. The initial variables such as grass energy value and number of animals are can be modified in src/main/resources/source.json