-
Notifications
You must be signed in to change notification settings - Fork 0
/
UserIO.h
36 lines (23 loc) · 1.27 KB
/
UserIO.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef USER_IO_H
#define USER_IO_H
#include "DeterminateFiniteAutomaton.h"
#include <iostream>
#include <fstream>
#include <sstream>
int printMenu();
int menu(int option, DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int createAutomatConsole(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int createAutomatFile(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int printEntryState(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int changeEntryState(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int printFinalStates(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int printTransitionTable(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int printAutomatOnConsole(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int printAutomatInFile(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int createUnion(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int createIntersection(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int createComplement(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int loadSVG(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int readWord(DFAutomaton<int>& automInt, DFAutomaton<char>& automChar);
int clearConsole();
#endif