ControlThermostat
Imports
import Control;
open Control;
import Math;
Types
inductive ControlThermostat
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 temperature (s : ControlThermostat) : Float
def heater (s : ControlThermostat) : Bool
def step (s : ControlThermostat) (action : Bool) : ControlThermostat
def invalid (s : ControlThermostat) : Bool
def hysteresis (low : Float) (high : Float) (t : Float) (was_on : Bool) : Bool
def reference (t : Float) (was_on : Bool) : Bool
def off (t : Float) (was_on : Bool) : Bool
def advance (policy : (t : Float) → (on : Bool) → Bool) (s : ControlThermostat) : ControlThermostat
def cost (policy : (t : Float) → (on : Bool) → Bool) (s : ControlThermostat) : Float
def episode (horizon : Int | horizon ≥ 0 && horizon ≤ 500) (policy : (t : Float) → (on : Bool) → Bool) (initial : ControlThermostat) : Control
def training (policy : (t : Float) → (on : Bool) → Bool) : Float
def held_out (policy : (t : Float) → (on : Bool) → Bool) : Float