-
Notifications
You must be signed in to change notification settings - Fork 6
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
draft of the floodfill model #91
base: main
Are you sure you want to change the base?
Conversation
|
||
|
||
for (LevelStorage ls: w.getLevelStorages()){ | ||
for(SpecialArea specialArea: ls.getSpecialAreas()){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to consider special areas for the floodfill. The areas are no actual walls. They are used to e.g. spawn pedestrians or define exit areas.
|
||
} | ||
|
||
auto jps::Floodfill::computeGrid(jps::Simulation const & p_simulation, jps::Agent const & p_agent){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you don't need any agents in that function
.gitignore
Outdated
.idea/ | ||
cmake-build-debug/ | ||
cpp/cmake-build-debug/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete these files, push the changes and then rebuild. But do not add them to version control.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I delete the build files, i can't build. I'll do that at the end.
Basic structure of the new class.
Some functions were deleted at short notice.