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

Fixing PIW Movement #192

Merged
merged 18 commits into from
Apr 16, 2024
Merged

Conversation

renatex333
Copy link
Collaborator

Bug fix on env.py: now each piw moves based on its own "movement map", which was not being done previously.

Feature on person.py: implemented a new way of modeling the piw movement, based on the probability matrix, but not following the highest probability. It involves picking a new position randomly (random walk or drunkard's walk), wheighted by the probabilities of a 3x3 snip of the probability matrix cells that contains the piw at the center.

@JorasOliveira
Copy link
Collaborator

JorasOliveira commented Apr 10, 2024

opiniao controversa talvez, mas se enquanto esse PR for um retrocesso na movimentação, acho que nao vale o merge

…y matrix and piw movement. Now they are both in sync, trying to achieve a piw that can, eventually, move in front of the probability matrix, generating new scenarios for the agent to learn.
@renatex333
Copy link
Collaborator Author

opiniao controversa talvez, mas se enquanto esse PR for um retrocesso na movimentação, acho que nao vale o merge

Concordo! Estou trabalhando nas implementações sugeridas pelo professor Ayres. Creio que mais algumas iterações no design e etapas de validação já serão suficientes para deixar tudo pronto para produção. Por enquanto, vamos segurar o PR.

…ee that both, the person and the matrix, have their calculations done coherently.
…son and the probability matrix, making them move accordingly with their speeds. This way, there is no need for a time step barrier to be reached.
@renatex333
Copy link
Collaborator Author

renatex333 commented Apr 11, 2024

Agora está tudo funcionando como esperado e sem bugs. Assim que obtiver a validação do professor, confirmo aqui.

@RicardoRibeiroRodrigues RicardoRibeiroRodrigues merged commit 69f64be into main Apr 16, 2024
2 checks passed
@Pedro2712 Pedro2712 deleted the renato-feature-piw-movement branch May 27, 2024 17:21
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.

Adicionar probabilidades para random walk na movimentação dos náufragos
4 participants