Skip to content

Commit 5346cac

Browse files
committed
refactor
1 parent 5bfeb40 commit 5346cac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

simulation-system/libs/csle-tolerance/src/csle_tolerance/util/intrusion_recovery_pomdp_util.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,7 @@ def pomdp_solver_file(config: IntrusionRecoveryPomdpConfig) -> str:
442442
for s_prime in config.states:
443443
for o in config.observations:
444444
c = config.cost_tensor[a][s]
445-
file_str = (
446-
file_str + f"R: {a} : {s} : {s_prime} : {o} {c:.80f}\n"
447-
)
445+
file_str = file_str + f"R: {a} : {s} : {s_prime} : {o} {c:.80f}\n"
448446
return file_str
449447

450448
@staticmethod

0 commit comments

Comments
 (0)