Apply suggestions from code review.
This commit is contained in:
@@ -98,7 +98,7 @@ Head over to the :ref:`getting-started` page to install and setup PrimAITE!
|
|||||||
source/getting_started
|
source/getting_started
|
||||||
source/about
|
source/about
|
||||||
source/config
|
source/config
|
||||||
source/config(v3)
|
source/config(v2)
|
||||||
source/simulation
|
source/simulation
|
||||||
source/game_layer
|
source/game_layer
|
||||||
source/primaite_session
|
source/primaite_session
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
The Config Files Explained
|
The Config Files Explained
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
Note: This file describes the config files used in legacy PrimAITE v2.0. This file will be removed soon.
|
||||||
|
|
||||||
PrimAITE uses two configuration files for its operation:
|
PrimAITE uses two configuration files for its operation:
|
||||||
|
|
||||||
* **The Training Config**
|
* **The Training Config**
|
||||||
|
|||||||
@@ -697,7 +697,7 @@ class ActionManager:
|
|||||||
def get_action(self, action: int) -> Tuple[str, Dict]:
|
def get_action(self, action: int) -> Tuple[str, Dict]:
|
||||||
"""Produce action in CAOS format."""
|
"""Produce action in CAOS format."""
|
||||||
"""the agent chooses an action (as an integer), this is converted into an action in CAOS format"""
|
"""the agent chooses an action (as an integer), this is converted into an action in CAOS format"""
|
||||||
"""The caos format is basically a action identifier, followed by parameters stored in a dictionary"""
|
"""The CAOS format is basically a action identifier, followed by parameters stored in a dictionary"""
|
||||||
act_identifier, act_options = self.action_map[action]
|
act_identifier, act_options = self.action_map[action]
|
||||||
return act_identifier, act_options
|
return act_identifier, act_options
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user