Fleet  0.0.9
Inference in the LOT
VirtualMachineControl.h
Go to the documentation of this file.
1 #pragma once
2 
3 
14 
16  // Variables for VirtualMachineState
18 
19  // this is the max number of times we can call recurse, NOT the max depth
20  static unsigned long MAX_RECURSE;
21 
22  // what is the longest I'll run a single program for? If we try to do more than this many ops, we're done
23  static unsigned long MAX_RUN_PROGRAM;
24 
26  // Variables for VirtualMachinePool
28 
29  // most number of VirtualMachine steps we'll take
30  static unsigned long MAX_STEPS;
31 
32  // most outputs we'll accumulate
33  static unsigned long MAX_OUTPUTS;
34 
35  // prune VirtualMachineStates with less than this log probability
36  static double MIN_LP;
37 
38  // count up how often we break for different reasons (useful for seeing what bounds matter)
39 // static unsigned long BREAK_output;
40 // static unsigned long BREAK_steps;
41 // static unsigned long BREAK_recurse;
42 
43 
44 };
45 
46 // The defaults:
47 unsigned long VirtualMachineControl::MAX_RECURSE = 64;
48 unsigned long VirtualMachineControl::MAX_RUN_PROGRAM = 10000; // updated to have higher default
49 
50 unsigned long VirtualMachineControl::MAX_STEPS = 512;
51 unsigned long VirtualMachineControl::MAX_OUTPUTS = 512;
53 
54 //unsigned long VirtualMachineControl::BREAK_output = 0;
55 //unsigned long VirtualMachineControl::BREAK_steps = 0;
56 //unsigned long VirtualMachineControl::BREAK_recurse = 0;
static unsigned long MAX_STEPS
Definition: VirtualMachineControl.h:30
Definition: VirtualMachineControl.h:13
static double MIN_LP
Definition: VirtualMachineControl.h:36
static unsigned long MAX_OUTPUTS
Definition: VirtualMachineControl.h:33
static unsigned long MAX_RECURSE
Definition: VirtualMachineControl.h:20
static unsigned long MAX_RUN_PROGRAM
Definition: VirtualMachineControl.h:23