#1522: refactor red_agent_identifier -> random_red_agent so that it is a boolean + documentation

This commit is contained in:
Czar Echavez
2023-07-03 12:18:58 +01:00
parent 6c4a538b41
commit 0943e9511b
7 changed files with 10 additions and 100 deletions

View File

@@ -277,7 +277,7 @@ class Primaite(Env):
self.reset_environment()
# Create a random red agent to use for this episode
if self.training_config.red_agent_identifier == "RANDOM":
if self.training_config.random_red_agent:
self.create_random_red_agent()
# Reset counters and totals