Browse Source

Fixed encoding of PAND

tempestpy_adaptions
Matthias Volk 7 years ago
parent
commit
1affccbf81
  1. 2
      src/storm-dft/modelchecker/dft/DFTASFChecker.cpp

2
src/storm-dft/modelchecker/dft/DFTASFChecker.cpp

@ -384,7 +384,7 @@ namespace storm {
{
// Constraint for PAND gate (constraint 3)
std::shared_ptr<DFTConstraint> ifC = std::make_shared<Sorted>(childVarIndices);
std::shared_ptr<DFTConstraint> thenC = std::make_shared<IsEqual>(timePointVariables.at(i), timePointVariables.at(childVarIndices.back()));
std::shared_ptr<DFTConstraint> thenC = std::make_shared<IsEqual>(timePointVariables.at(i), childVarIndices.back());
std::shared_ptr<DFTConstraint> elseC = std::make_shared<IsConstantValue>(timePointVariables.at(i), notFailed);
constraints.push_back(std::make_shared<IfThenElse>(ifC, thenC, elseC));
constraints.back()->setDescription("PAND gate");

Loading…
Cancel
Save