-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMCIP.h
39 lines (29 loc) · 776 Bytes
/
MCIP.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
37
38
39
#ifndef MODELCHECKINGINPUTPARSER_MCIP_H
#define MODELCHECKINGINPUTPARSER_MCIP_H
#include "stdio.h"
#ifdef __cplusplus
extern "C" {
#endif
enum NodeType {
VAR, AND, OR, IMPLIES, NOT, EX, AX, EG, AG, EU, AU, EF, AF, ER, AR, BOOLEAN_TRUE, BOOLEAN_FALSE
};
struct Formula {
struct Formula* firstArgument;
struct Formula* secondArgument;
enum NodeType type;
int variableValue;
};
struct InputInfo {
char **variables;
struct Formula* transitionFormula;
struct Formula* initialStatesFormula;
struct Formula* ctlFormula;
struct Formula** fairnessConstraints;
int numberOfVariables;
int numberOfFairnessConstraints;
};
struct InputInfo* readInput(FILE* fp);
#ifdef __cplusplus
}
#endif
#endif //MODELCHECKINGINPUTPARSER_MCIP_H