-
Notifications
You must be signed in to change notification settings - Fork 1
/
TLIndetVerify.h
79 lines (59 loc) · 3.15 KB
/
TLIndetVerify.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* File: TLIndetVerify.h
Author: Marc Diefenbruch, Axel Hirche
Project: QUEST
Date: (C) 1997, 1998 University of Essen, Germany
*/
#ifndef __TLINDETVERIFY__
#define __TLINDETVERIFY__
#include "TL.h"
#include "TLState.h"
#include "SCL/SCIndetVal.h"
class TLIndetVerify : public SCIndetVal
{
public:
TLIndetVerify (char* pPhiStr,
SCName2PropFuncPtr* pName2func,
SCNatural pNumOfElems,
SCTime pStopTime,
SCBoolean pFindErrors,
SCNatural pMaxErrors,
SCBoolean pDeadCode,
class SCStateSpace * stateSpace,
class SCStateSpace * cycleStateSpace,
SCNatural pMaxVerifyDepth = kSCMaxDepth,
SCName2PropFuncPtr * bAtom = NULL,
SCBoolean pTrueEquivEmpty = true,
SCBoolean pNowIsPureAtomic = true,
SCBoolean pNowDisplaysOnlyAtomics = true,
SCBoolean pExtendedAutomaton = true,
SCBoolean pSimplifyFormulae = true,
SCBoolean pGreedyAutomaton = true,
SCBoolean pAutoNegate = true);
~TLIndetVerify (void);
void StartMessage (void);
void EndMessage (void);
// The following three methods classify the reached system
// state:
SCErrorCode IsErrorState (SCTimeEventSaveList *activeQueue);
SCBoolean IsLimitingState (SCTimeEventSaveList *activeQueue);
SCBoolean IsCycleStartState (void) const;
SCBoolean IsCycleEndState (class SCMem * state);
SCNatural NumOfSuccessors (void) const;
class SCRunnable * ChooseRunnable (class SCTimeEventSaveList *activeQueue);
friend SCStream & operator<< (SCStream& pStream,
const TLIndetVerify& pData);
virtual SCStream & Display (SCStream &pStream) const;
SCBoolean IsFulFillable (void) const;
private:
void SystemStateSize (SCSize *pSize) const;
SCBoolean StoreSystemState(class SCMem *state) const;
SCBoolean RestoreSystemState(class SCMem *state) const;
/* Alle Datenmember sind privat */
class TLBuechi* buechi;
SCNatural nextInitialBuechiState; // List index of buechi state.
TLState* currentBuechiState;
};
#if !_SC_NOINLINES
#include "TLIndetVerify.inl.h"
#endif
#endif // __TLINDETVERIFY__