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

bringing up to master #1

Merged
merged 9 commits into from
Oct 13, 2020
Merged

Conversation

landrumb
Copy link
Owner

bringing up to master

Sid-Bhatia-0 and others added 9 commits October 11, 2020 16:55
* remove actions and directions from objects.jl

* separate out directions into directions.jl

* separate out actions into actions.jl

* include actions.jl and directions.jl
* add abstract type for gridworld actions

* add a default implementation of get_actions

* change name dir (already used for directions)
Only adding the `get_terminal` function to `CollectGems` env.
* add rewards and get_reward capabilities

* change to one-line definition of get_reward

* remove default_reward & hardcode it to 0
… got a bit messy. (#46)

* Adding dynamic obstacle env and fixinf one minor bug in doorkey.jl

* Update objects.jl

* fixing bugs

* removing comment

* Fixing some logical errors

* uploading gif of dynamic obstacles env

* adding gif to readmd

* Deleting wrong gif

* Adding dynamic obstacles gif

* Update dynamicobstacles.jl

obstacles shouldn't spawn or relocate on goal position

* Delete DynamicObstacles.gif

* DynamicObstacles GIF
* Update collectgems.jl

Adding RNG as a  parameter to CollectGems for reproducibility

* Update collectgems.jl
* Added pickup and drop functions

* added pickup() dispatch for non-item objects

* changed to use pickup function

* fixed missed argument change

* fixed wrong attribute name

* fixed bug allowing passage through door w/o key

* replaced NULL with `nothing`

* Added trait-based implementation of pickup

* Made pickup and drop functors

* Fix error in train implementation

Co-authored-by: Jun Tian <find_my_way@foxmail.com>

* added type annotation for non-item isitem()

Co-authored-by: Jun Tian <find_my_way@foxmail.com>

* made key annotation in isitem trait cleaner

Co-authored-by: Jun Tian <find_my_way@foxmail.com>

* moved drop functor definition to pickup definition

* refactored item to transportable

* added array_agent

* implemented pickup and drop for array_agent

* updated export statements

* Revert "updated export statements"

This reverts commit 1b3efdc.

* Implemented Agent as a parametric struct

* slightly polish

* fix DoorKey

Co-authored-by: Jun Tian <find_my_way@foxmail.com>
Co-authored-by: Jun Tian <tianjun.cpp@gmail.com>
Co-authored-by: Jun Tian <juti@microsoft.com>
@landrumb landrumb merged commit 43f4d7f into landrumb:master Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants