Class GymEnvironment.StepResult
java.lang.Object
neqsim.process.ml.GymEnvironment.StepResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
GymEnvironment
Step result matching Gymnasium API.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal double[]final doubleprivate static final longfinal booleanfinal boolean -
Constructor Summary
ConstructorsConstructorDescriptionStepResult(double[] observation, double reward, boolean terminated, boolean truncated, Map<String, Object> info) Constructor. -
Method Summary
-
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
-
-
Constructor Details
-
StepResult
public StepResult(double[] observation, double reward, boolean terminated, boolean truncated, Map<String, Object> info) Constructor.- Parameters:
observation- next observationreward- step rewardterminated- episode ended due to task completion/failuretruncated- episode ended due to time limitinfo- additional info dictionary
-