Interface Controller
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BangBangController, PIDController, ProportionalController, RandomController
Interface for simple control policies that can be used to test RL environments from Java.
These controllers provide baselines for comparison with trained RL agents.
- Version:
- 1.0
- Author:
- ESOL
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]computeAction(double[] observation) Compute control action based on observation.getName()Get controller name.default voidreset()Reset controller state (for stateful controllers like PID).
-
Method Details
-
computeAction
double[] computeAction(double[] observation) Compute control action based on observation.- Parameters:
observation- normalized observation array- Returns:
- action array
-
reset
default void reset()Reset controller state (for stateful controllers like PID). -
getName
-