Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Limmen committed Jan 9, 2025
1 parent 5bfeb40 commit 5346cac
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,7 @@ def pomdp_solver_file(config: IntrusionRecoveryPomdpConfig) -> str:
for s_prime in config.states:
for o in config.observations:
c = config.cost_tensor[a][s]
file_str = (
file_str + f"R: {a} : {s} : {s_prime} : {o} {c:.80f}\n"
)
file_str = file_str + f"R: {a} : {s} : {s_prime} : {o} {c:.80f}\n"
return file_str

@staticmethod
Expand Down

0 comments on commit 5346cac

Please sign in to comment.