added scenario self stop, agent setup, action masking in PPO

This commit is contained in:
2023-01-14 10:01:37 +01:00
parent 4f1044b87e
commit 692b932302
6 changed files with 50 additions and 27 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
# or https://opensource.org/licenses/BSD-3-Clause
import random
import uuid
import numpy as np
@@ -38,7 +39,7 @@ class BaseAgent:
if idx is None:
idx = 0
self.uuid=uuid.uuid4()
if multi_action_mode is None:
multi_action_mode = False