• Rajat Jain's avatar
    Rework agents.ipynb (#1031) · 6f158618
    Rajat Jain a écrit
    * Reworked Introduction and 1-D environment in agents.py
    
    Added:
     - Table of Contents and overview
     - A miniscule explanation of all required code from agents.py
    Modified:
     - Some grammar and sentences
     - Structure of the notebook in 1-D environments to make it more coherent
    Removed:
     - Outputs from notebook (Makes VCS tough and bugs tough to detect)
    
    * Reworked agents in a 2D environment
    
    Modified:
     - Removed global variable turn from 2D park model: Agent programs are not supposed to see anything except percepts
     - Bump percept is now generated when Dog is about to bump into a wall
     - Replaced all XYEnvironment with GraphicEnvironment - Gives better readability to both code and output (Previous way of just showing GraphicEnvironment in the end was redundant imo)
     - Restructured the 2D park and EnergeticBlindDog environment scenario to be more readable
    Removed:
     - Redundant Park2D without graphics (subclass of XYEnvironment)
    
    * Fixed issue #1030
    
    Added:
     - ipython and ipythonblocks packages to requirements.txt
    
    * Has some typographic improvements in agents.ipynb
    
    * Added output to agents.ipynb
    6f158618