Fleet  0.0.9
Inference in the LOT
Classes | Typedefs | Enumerations | Variables
Main.cpp File Reference
#include <string>
#include <vector>
#include <assert.h>
#include <iostream>
#include <exception>
#include <set>
#include <map>
#include <functional>
#include "Object.h"
#include "DSL.h"
#include "MyGrammar.h"
#include "MyHypothesis.h"
#include "Fleet.h"
#include "TopN.h"
#include "Random.h"
#include "ParallelTempering.h"
Include dependency graph for Main.cpp:

Classes

struct  Utterance
 

Typedefs

using MyObject = Object< MyShape, MyColor >
 
using Set = std::multiset< MyObject >
 

Enumerations

enum  MyColor { MyColor::Red, MyColor::Green, MyColor::Blue, MyColor::__count }
 
enum  MyShape { MyShape::Square, MyShape::Circle, MyShape::Triangle, MyShape::__count }
 
enum  TruthValue { TruthValue::False =0, TruthValue::True =1, TruthValue::Undefined =2 }
 

Variables

const std::vector< std::string > words = {"NA", "every", "some", "a", "one", "both", "neither", "the", "most", "no"}
 
const std::vector< size_t > data_amounts = {0, 1, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 2500, 5000}
 
const int PRDATA = 5000
 
std::vector< Utteranceprdata
 
MyHypothesis target
 
MyHypothesis bunny_spread
 
MyHypothesis classical_spread
 

Typedef Documentation

◆ MyObject

◆ Set

using Set = std::multiset<MyObject>

Enumeration Type Documentation

◆ MyColor

enum MyColor
strong
Enumerator
Red 
Green 
Blue 
__count 

◆ MyShape

enum MyShape
strong
Enumerator
Square 
Circle 
Triangle 
__count 

◆ TruthValue

enum TruthValue
strong
Enumerator
False 
True 
Undefined 

Variable Documentation

◆ bunny_spread

MyHypothesis bunny_spread

◆ classical_spread

MyHypothesis classical_spread

◆ data_amounts

const std::vector<size_t> data_amounts = {0, 1, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 2500, 5000}

◆ PRDATA

const int PRDATA = 5000

◆ prdata

std::vector<Utterance> prdata

◆ target

MyHypothesis target

◆ words

const std::vector<std::string> words = {"NA", "every", "some", "a", "one", "both", "neither", "the", "most", "no"}