Fleet  0.0.9
Inference in the LOT
Classes | Typedefs | Functions | Variables
Main.cpp File Reference
#include <vector>
#include <string>
#include <random>
#include <bitset>
#include "Grammar.h"
#include "Singleton.h"
#include "DeterministicLOTHypothesis.h"
#include "ParallelTempering.h"
#include "Fleet.h"
#include "TopN.h"
Include dependency graph for Main.cpp:

Classes

class  MyHypothesis
 we don't need inputs/outputs for out MyHypothesis More...
 

Typedefs

using word = int
 
using set = std::bitset< 16 >
 

Functions

set make_set (int nset)
 Make a bit with nset number of set bits. More...
 
int main (int argc, char **argv)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ More...
 

Variables

const word U = -999
 
const double alpha = 0.9
 
double Ndata = 500
 
double recursion_penalty = -25.0
 
const std::vector< double > Np = {0.000000000, 0.683564771, 0.141145140, 0.056400989, 0.031767168, 0.028248050, 0.015693361, 0.014361803, 0.008179570, 0.009986684, 0.010652463}
 

Typedef Documentation

◆ set

using set = std::bitset<16>

◆ word

using word = int

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

◆ make_set()

set make_set ( int  nset)

Make a bit with nset number of set bits.

Parameters
nset
Returns

Variable Documentation

◆ alpha

const double alpha = 0.9

◆ Ndata

double Ndata = 500

◆ Np

const std::vector<double> Np = {0.000000000, 0.683564771, 0.141145140, 0.056400989, 0.031767168, 0.028248050, 0.015693361, 0.014361803, 0.008179570, 0.009986684, 0.010652463}

◆ recursion_penalty

double recursion_penalty = -25.0

◆ U

const word U = -999