ControlPendulum
Imports
import Control;
open Control;
import Math;
Types
inductive ControlPendulum
Constructors
For each type in this module: inductive types list their declared constructors; opaque types list any local function whose name starts with mk and which returns a value of that type.
Functions
def angle (s : ControlPendulum) : Float
def velocity (s : ControlPendulum) : Float
def step (s : ControlPendulum) (command : Float) : ControlPendulum
def invalid (s : ControlPendulum) : Bool
def energy_policy (kp : Float) (kd : Float) (ke : Float) (theta : Float) (rate : Float) : Float
def reference (theta : Float) (rate : Float) : Float
def idle (theta : Float) (rate : Float) : Float
def advance (policy : (theta : Float) → (rate : Float) → Float) (s : ControlPendulum) : ControlPendulum
def cost (policy : (theta : Float) → (rate : Float) → Float) (s : ControlPendulum) : Float
def episode (horizon : Int | horizon ≥ 0 && horizon ≤ 500) (policy : (theta : Float) → (rate : Float) → Float) (initial : ControlPendulum) : Control
def training (policy : (theta : Float) → (rate : Float) → Float) : Float
def held_out (policy : (theta : Float) → (rate : Float) → Float) : Float