You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
1.4 KiB

#include "storm/logic/UnaryPathFormula.h"
namespace storm {
namespace logic {
UnaryPathFormula::UnaryPathFormula(std::shared_ptr<Formula const> const& subformula) : subformula(subformula) {
// Intentionally left empty.
}
bool UnaryPathFormula::isUnaryPathFormula() const {
return true;
}
Formula const& UnaryPathFormula::getSubformula() const {
return *subformula;
}
void UnaryPathFormula::gatherAtomicExpressionFormulas(std::vector<std::shared_ptr<AtomicExpressionFormula const>>& atomicExpressionFormulas) const {
this->getSubformula().gatherAtomicExpressionFormulas(atomicExpressionFormulas);
}
void UnaryPathFormula::gatherAtomicLabelFormulas(std::vector<std::shared_ptr<AtomicLabelFormula const>>& atomicLabelFormulas) const {
this->getSubformula().gatherAtomicLabelFormulas(atomicLabelFormulas);
}
void UnaryPathFormula::gatherReferencedRewardModels(std::set<std::string>& referencedRewardModels) const {
this->getSubformula().gatherReferencedRewardModels(referencedRewardModels);
}
bool UnaryPathFormula::hasQualitativeResult() const {
return false;
}
bool UnaryPathFormula::hasQuantitativeResult() const {
return true;
}
}
}