-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTLFormulaNEXTTIME.cpp
More file actions
49 lines (36 loc) · 1000 Bytes
/
Copy pathTLFormulaNEXTTIME.cpp
File metadata and controls
49 lines (36 loc) · 1000 Bytes
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
/*
* File: TLFormulaNEXTTIME.cc
* Project: QUEST
* Author: Marc Diefenbruch, Axel M Hirche
* Date: (C) 1997, 1998 University of Essen, Germany
*/
#include "TLFormulaNEXTTIME.h"
#if _SC_DMALLOC
#include <dmalloc.h>
#endif
#if _TL_INLINING_ == 0
#include "TLFormulaNEXTTIME.inl.h"
#endif
TLFormulaNEXTTIME::~TLFormulaNEXTTIME (void)
{
/* empty */
}
TLFormula* TLFormulaNEXTTIME::GetCopy (void) const
{
return new TLFormulaNEXTTIME (this);
}
TLFormula* TLFormulaNEXTTIME::Rewrite (void) const
{
return new TLFormulaNEXTTIME (rightOperand->Rewrite(),
true);
}
TLFormula* TLFormulaNEXTTIME::PushNegations (SCBoolean doIt) const
{
return new TLFormulaNEXTTIME (rightOperand->PushNegations(doIt),
true); // Nexttime is invariant
// to pushing of negations.
}
SCNatural TLFormulaNEXTTIME::GetPrecedenceLevel (void) const
{
return PREC_LEVEL_2;
}