Fleet  0.0.9
Inference in the LOT
Classes | Functions | Variables
Control.h File Reference

This class has all the information for running MCMC or MCTS in a little package. It defaultly constructs (via Control()) to read these from FleetArgs, which are a bunch of variables set by Fleet::initialize from the command line. This makes it especially convenient to call with command line arguments, but others can be specified as well. More...

#include <signal.h>
#include "FleetArgs.h"
#include "Timing.h"
#include "IO.h"
Include dependency graph for Control.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Control
 

Functions

Control InnerControl (unsigned long st=FleetArgs::inner_steps, unsigned long t=FleetArgs::inner_runtime, size_t thr=1, unsigned long re=FleetArgs::inner_restart)
 Make a Control object (NOTE it's a Control object not an InnerControl one) that has default parameters of FleetArgs::inner_*. More...
 

Variables

std::atomic< bool > CTRL_C
 

Detailed Description

This class has all the information for running MCMC or MCTS in a little package. It defaultly constructs (via Control()) to read these from FleetArgs, which are a bunch of variables set by Fleet::initialize from the command line. This makes it especially convenient to call with command line arguments, but others can be specified as well.

Function Documentation

◆ InnerControl()

Control InnerControl ( unsigned long  st = FleetArgs::inner_steps,
unsigned long  t = FleetArgs::inner_runtime,
size_t  thr = 1,
unsigned long  re = FleetArgs::inner_restart 
)

Make a Control object (NOTE it's a Control object not an InnerControl one) that has default parameters of FleetArgs::inner_*.

Returns

Variable Documentation

◆ CTRL_C

std::atomic<bool> CTRL_C