Merged PR 62: Make reward calculation consider red POL
Check out the linked bug ticket to understand the issue. The fix was very simple- just changing which variable is passed to the reward calculation funciton. Related work items: #1442
This commit is contained in:
@@ -368,7 +368,7 @@ class Primaite(Env):
|
||||
# 5. Calculate reward signal (for RL)
|
||||
reward = calculate_reward_function(
|
||||
self.nodes_post_pol,
|
||||
self.nodes_post_blue,
|
||||
self.nodes_post_red,
|
||||
self.nodes_reference,
|
||||
self.green_iers,
|
||||
self.red_iers,
|
||||
|
||||
Reference in New Issue
Block a user