Browse Source

Removed unnecessary semicolons

tempestpy_adaptions
Matthias Volk 5 years ago
parent
commit
d3c8093e0f
  1. 4
      src/storm-gspn/storage/gspn/GSPN.cpp
  2. 2
      src/storm-pars/modelchecker/region/ValidatingSparseParameterLiftingModelChecker.cpp
  3. 2
      src/storm-pomdp/transformer/MakePOMDPCanonic.cpp
  4. 4
      src/storm/generator/JaniNextStateGenerator.cpp
  5. 2
      src/storm/generator/PrismNextStateGenerator.cpp
  6. 2
      src/storm/models/sparse/Pomdp.cpp

4
src/storm-gspn/storage/gspn/GSPN.cpp

@ -94,7 +94,7 @@ namespace storm {
} }
} }
return nullptr; return nullptr;
};
}
storm::gspn::Place* GSPN::getPlace(std::string const& name) { storm::gspn::Place* GSPN::getPlace(std::string const& name) {
for (auto& place : places) { for (auto& place : places) {
@ -103,7 +103,7 @@ namespace storm {
} }
} }
return nullptr; return nullptr;
};
}
storm::gspn::TimedTransition<GSPN::RateType> const* GSPN::getTimedTransition(std::string const& name) const { storm::gspn::TimedTransition<GSPN::RateType> const* GSPN::getTimedTransition(std::string const& name) const {
for (auto& trans : timedTransitions) { for (auto& trans : timedTransitions) {

2
src/storm-pars/modelchecker/region/ValidatingSparseParameterLiftingModelChecker.cpp

@ -25,7 +25,7 @@ namespace storm {
template <typename SparseModelType, typename ImpreciseType, typename PreciseType> template <typename SparseModelType, typename ImpreciseType, typename PreciseType>
bool ValidatingSparseParameterLiftingModelChecker<SparseModelType, ImpreciseType, PreciseType>::canHandle(std::shared_ptr<storm::models::ModelBase> parametricModel, CheckTask<storm::logic::Formula, typename SparseModelType::ValueType> const& checkTask) const { bool ValidatingSparseParameterLiftingModelChecker<SparseModelType, ImpreciseType, PreciseType>::canHandle(std::shared_ptr<storm::models::ModelBase> parametricModel, CheckTask<storm::logic::Formula, typename SparseModelType::ValueType> const& checkTask) const {
return getImpreciseChecker().canHandle(parametricModel, checkTask) && getPreciseChecker().canHandle(parametricModel, checkTask); return getImpreciseChecker().canHandle(parametricModel, checkTask) && getPreciseChecker().canHandle(parametricModel, checkTask);
};
}
template <typename SparseModelType, typename ImpreciseType, typename PreciseType> template <typename SparseModelType, typename ImpreciseType, typename PreciseType>
RegionResult ValidatingSparseParameterLiftingModelChecker<SparseModelType, ImpreciseType, PreciseType>::analyzeRegion(Environment const& env, storm::storage::ParameterRegion<typename SparseModelType::ValueType> const& region, RegionResultHypothesis const& hypothesis, RegionResult const& initialResult, bool sampleVerticesOfRegion) { RegionResult ValidatingSparseParameterLiftingModelChecker<SparseModelType, ImpreciseType, PreciseType>::analyzeRegion(Environment const& env, storm::storage::ParameterRegion<typename SparseModelType::ValueType> const& region, RegionResultHypothesis const& hypothesis, RegionResult const& initialResult, bool sampleVerticesOfRegion) {

2
src/storm-pomdp/transformer/MakePOMDPCanonic.cpp

@ -47,7 +47,7 @@ namespace storm {
++it2; ++it2;
} }
return it1 == end1 && it2 == end2; return it1 == end1 && it2 == end2;
};
}
bool operator<(ActionIdentifier const& lhs, ActionIdentifier const& rhs) { bool operator<(ActionIdentifier const& lhs, ActionIdentifier const& rhs) {

4
src/storm/generator/JaniNextStateGenerator.cpp

@ -169,7 +169,7 @@ namespace storm {
template<typename ValueType, typename StateType> template<typename ValueType, typename StateType>
bool JaniNextStateGenerator<ValueType, StateType>::isPartiallyObservable() const { bool JaniNextStateGenerator<ValueType, StateType>::isPartiallyObservable() const {
return false; return false;
};
}
template<typename ValueType, typename StateType> template<typename ValueType, typename StateType>
uint64_t JaniNextStateGenerator<ValueType, StateType>::getLocation(CompressedState const& state, LocationVariableInformation const& locationVariable) const { uint64_t JaniNextStateGenerator<ValueType, StateType>::getLocation(CompressedState const& state, LocationVariableInformation const& locationVariable) const {
@ -1201,7 +1201,7 @@ namespace storm {
storm::storage::BitVector JaniNextStateGenerator<ValueType, StateType>::evaluateObservationLabels(CompressedState const& state) const { storm::storage::BitVector JaniNextStateGenerator<ValueType, StateType>::evaluateObservationLabels(CompressedState const& state) const {
STORM_LOG_WARN("There are no observation labels in JANI currenty"); STORM_LOG_WARN("There are no observation labels in JANI currenty");
return storm::storage::BitVector(0); return storm::storage::BitVector(0);
};
}
template<typename ValueType, typename StateType> template<typename ValueType, typename StateType>

2
src/storm/generator/PrismNextStateGenerator.cpp

@ -734,7 +734,7 @@ namespace storm {
result.setFromInt(64*i,64,this->evaluator->asInt(program.getObservationLabels()[i].getStatePredicateExpression())); result.setFromInt(64*i,64,this->evaluator->asInt(program.getObservationLabels()[i].getStatePredicateExpression()));
} }
return result; return result;
};
}
template<typename ValueType, typename StateType> template<typename ValueType, typename StateType>

2
src/storm/models/sparse/Pomdp.cpp

@ -62,7 +62,7 @@ namespace storm {
template<typename ValueType, typename RewardModelType> template<typename ValueType, typename RewardModelType>
bool Pomdp<ValueType, RewardModelType>::isCanonic() const { bool Pomdp<ValueType, RewardModelType>::isCanonic() const {
return canonicFlag; return canonicFlag;
};
}
Loading…
Cancel
Save