|
@ -31,10 +31,8 @@ namespace formula { |
|
|
*/ |
|
|
*/ |
|
|
template <class T> |
|
|
template <class T> |
|
|
class Or : public PCTLStateFormula<T> { |
|
|
class Or : public PCTLStateFormula<T> { |
|
|
private: |
|
|
public: |
|
|
PCTLStateFormula<T>* left; |
|
|
|
|
|
PCTLStateFormula<T>* right; |
|
|
|
|
|
public: |
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Empty constructor. |
|
|
* Empty constructor. |
|
|
* Will create an AND-node without subnotes. Will not represent a complete formula! |
|
|
* Will create an AND-node without subnotes. Will not represent a complete formula! |
|
@ -145,6 +143,10 @@ class Or : public PCTLStateFormula<T> { |
|
|
virtual mrmc::storage::BitVector *check(mrmc::modelChecker::DtmcPrctlModelChecker<T>* modelChecker) { |
|
|
virtual mrmc::storage::BitVector *check(mrmc::modelChecker::DtmcPrctlModelChecker<T>* modelChecker) { |
|
|
return modelChecker->checkOr(this); |
|
|
return modelChecker->checkOr(this); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
|
PCTLStateFormula<T>* left; |
|
|
|
|
|
PCTLStateFormula<T>* right; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
} //namespace formula |
|
|
} //namespace formula |
|
|
xxxxxxxxxx