Mungojerrie  1.1
Mungojerrie
Functions
main.cc File Reference

Main function and its helpers. More...

#include <fstream>
#include <stdexcept>
#include <boost/filesystem.hpp>
#include <boost/process.hpp>
#include "CommandLineOptions.hh"
#include "Model.hh"
#include "Parity.hh"
#include "Gym.hh"
#include "Learner.hh"
Include dependency graph for main.cc:

Functions

int getOptions (int argc, char *argv[], CommandLineOptions &options)
 Gets command-line options and optionally echoes command line.
 
void getAutomata (Cudd &mgr, CommandLineOptions const &options, vector< Parity > &objectives)
 Gets automata from either HOA files or LTL formula. More...
 
void doModelChecking (CommandLineOptions const &options, Model const &prod)
 Synthesize an optimal strategy.
 
void doLearning (CommandLineOptions const &options, Model const &model, vector< Parity > const &objectives)
 Use reinforcement learning to synthesize a strategy.
 
void printObjectiveStats (Parity const &automaton)
 Print statistics for the objective automaton.
 
int main (int argc, char *argv[])
 Solve Branching Decision Process using Linear Programming.
 
void fromLTL (Cudd &mgr, Parity &objective, string ltlFormula, string automatonType, bool fromFile, Verbosity::Level verbosity)
 

Detailed Description

Main function and its helpers.

Author
Mateo Perez, Fabio Somenzi, Ashutosh Trivedi

Function Documentation

◆ getAutomata()

void getAutomata ( Cudd &  mgr,
CommandLineOptions const &  options,
vector< Parity > &  objectives 
)

Gets automata from either HOA files or LTL formula.

The formula may be given as string on the command line or in a file. The LTL options use external translators and are enabled if the program was properly configured.