Skip to content

Commit

Permalink
Minor whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
wasowski committed Apr 2, 2023
1 parent 5b85ac2 commit c0c8d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/symsim/laws/ConcreteSarsaLaws.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ case class ConcreteSarsaLaws[State, ObservableState, Action]
assert (n >= 100 && n < 3100)

val ε = 0.5 // Ignore ε in the problem as it might be zero for
// the sake of the other test.
// the sake of the other test.

// the probability of choosing an exploring (suboptimal) action should be
val εd = ε*(1 - 1.0 / agent.instances.numberOfActions)
// The probability of choosing an exploring (suboptimal) action
val εd = ε * (1 - 1.0 / agent.instances.numberOfActions)

val trials = for
s_t <- agent.initialize
Expand Down

0 comments on commit c0c8d68

Please sign in to comment.