Interface Controller

All Superinterfaces:
Serializable
All Known Implementing Classes:
BangBangController, PIDController, ProportionalController, RandomController

public interface Controller extends Serializable
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 Type
    Method
    Description
    double[]
    computeAction(double[] observation)
    Compute control action based on observation.
    Get controller name.
    default void
    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

      String getName()
      Get controller name.
      Returns:
      name