Control
Types
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 loss (episode : Control) : Float
def steps (episode : Control) : Int
def failed (episode : Control) : Bool
def square (x : Float) : Float
def clip (x : Float) (lo : Float) (hi : Float | hi ≥ lo) : {v : Float | lo ≤ v && v ≤ hi}
def angle (theta : Float) : Float
def simulate (fuel : Int) (elapsed : Int) (total : Float) (advance : (s : a) → a) (cost : (s : a) → Float) (invalid : (s : a) → Bool) (state : a) : Control
def rollout (horizon : Int | horizon ≥ 0 && horizon ≤ 500) (advance : (s : a) → a) (cost : (s : a) → Float) (invalid : (s : a) → Bool) (initial : a) : Control