Apply suggestions from code review.

This commit is contained in:
Marek Wolan
2023-10-25 19:07:45 +01:00
parent 4872c939ff
commit 02901a7c99
3 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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**

View File

@@ -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