add BFS, greedy and random baseline agents#10
Open
myhott163com wants to merge 14 commits into
Open
Conversation
… the running environment, including the interfaces, includes multigrid for contaimination and spatial issues. Essentially this is the meat of the running pipeline.
… small Multigrid rendering issues
…the running code, the target specific adapters, and several helpful debugging cripts for VLMs to make sure we're testing correctly
…doesn't fit into the other commits. Consider this the misc changes
6dbb851 to
99d3bde
Compare
| continue | ||
| visited.add(transition.next_state) | ||
| parent[transition.next_state] = (state, transition.action) | ||
| if _is_useful_interaction(ctx, state, transition): |
Collaborator
There was a problem hiding this comment.
In this case, what if there is a useless key on the path to the goal? Greedy will get stuck.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds deterministic BFS and greedy baseline agents for gridworld tasks.