Class GymEnvironment.StepResult

java.lang.Object
neqsim.process.ml.GymEnvironment.StepResult
All Implemented Interfaces:
Serializable
Enclosing class:
GymEnvironment

public static class GymEnvironment.StepResult extends Object implements Serializable
Step result matching Gymnasium API.
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • observation

      public final double[] observation
    • reward

      public final double reward
    • terminated

      public final boolean terminated
    • truncated

      public final boolean truncated
    • info

      public final Map<String,Object> info
  • Constructor Details

    • StepResult

      public StepResult(double[] observation, double reward, boolean terminated, boolean truncated, Map<String,Object> info)
      Constructor.
      Parameters:
      observation - next observation
      reward - step reward
      terminated - episode ended due to task completion/failure
      truncated - episode ended due to time limit
      info - additional info dictionary