ControlTask
Imports
import ControlProgram;
import ControlTrace;
import ControlRun;
import ControlReport;
import ControlObservation;
import Math;
Functions
def mask_from (count : Int) (sense : (test : Int) → (s : a) → Bool) (s : a) : Int
def mark (status : Int) (pc : Int) (r : (ControlRun a)) : (ControlRun a)
def execute (record : Bool) (actions : Int) (predicates : Int) (advance : (choice : Int) → (s : a) → a) (cost : (choice : Int) → (s : a) → Float) (invalid : (s : a) → Bool) (sense : (test : Int) → (s : a) → Bool) (abstract : (s : a) → Int) (program : ControlProgram) (pc : Int) (run : (ControlRun a)) : (ControlRun a)
def evaluate (record : Bool) (actions : Int | actions > 0 && actions ≤ 32) (predicates : Int | predicates > 0 && predicates ≤ 16) (horizon : Int | horizon > 0 && horizon ≤ 500) (advance : (choice : Int) → (s : a) → a) (cost : (choice : Int) → (s : a) → Float) (invalid : (s : a) → Bool) (sense : (test : Int) → (s : a) → Bool) (abstract : (s : a) → Int) (initial : a) (program : ControlProgram) : (ControlRun a)
def run (actions : Int | actions > 0 && actions ≤ 32) (predicates : Int | predicates > 0 && predicates ≤ 16) (horizon : Int | horizon > 0 && horizon ≤ 500) (advance : (choice : Int) → (s : a) → a) (cost : (choice : Int) → (s : a) → Float) (invalid : (s : a) → Bool) (sense : (test : Int) → (s : a) → Bool) (abstract : (s : a) → Int) (initial : a) (program : ControlProgram) : (ControlRun a)
def record (actions : Int | actions > 0 && actions ≤ 32) (predicates : Int | predicates > 0 && predicates ≤ 16) (horizon : Int | horizon > 0 && horizon ≤ 500) (advance : (choice : Int) → (s : a) → a) (cost : (choice : Int) → (s : a) → Float) (invalid : (s : a) → Bool) (sense : (test : Int) → (s : a) → Bool) (abstract : (s : a) → Int) (initial : a) (program : ControlProgram) : (ControlRun a)
def score (finish : (remaining : Int) → (status : Int) → (s : a) → Float) (run : (ControlRun a)) : Float
def report (horizon : Int) (loss : Float) (run : (ControlRun a)) (rest : ControlReport) : ControlReport