901 - fixed test_single_action_space.py to reflect new acl structure and added new acl_implicit_rule class attribute

This commit is contained in:
SunilSamra
2023-06-27 11:43:33 +01:00
parent 9c17b54073
commit 913c244c64
4 changed files with 17 additions and 23 deletions

View File

@@ -352,7 +352,6 @@ class AccessControlList(AbstractObservationComponent):
len(env.ports_list),
env.max_number_acl_rules,
]
len(acl_shape)
# shape = acl_shape
shape = acl_shape * self.env.max_number_acl_rules
@@ -446,7 +445,6 @@ class AccessControlList(AbstractObservationComponent):
position += 1
self.current_observation = obs
print("current observation space:", self.current_observation)
class ObservationsHandler: