Browse Source

multipliertype

tempestpy_adaptions
TimQu 7 years ago
parent
commit
e02640fe82
  1. 10
      src/storm/solver/SolverSelectionOptions.cpp
  2. 1
      src/storm/solver/SolverSelectionOptions.h

10
src/storm/solver/SolverSelectionOptions.cpp

@ -24,6 +24,16 @@ namespace storm {
return "invalid";
}
std::string toString(MultiplierType t) {
switch(t) {
case MultiplierType::Native:
return "Native";
case MultiplierType::Gmmxx:
return "Gmmxx";
}
return "invalid";
}
std::string toString(LraMethod m) {
switch(m) {
case LraMethod::LinearProgramming:

1
src/storm/solver/SolverSelectionOptions.h

@ -7,6 +7,7 @@
namespace storm {
namespace solver {
ExtendEnumsWithSelectionField(MinMaxMethod, PolicyIteration, ValueIteration, LinearProgramming, Topological, RationalSearch, IntervalIteration, SoundValueIteration, TopologicalCuda)
ExtendEnumsWithSelectionField(MultiplierType, Native, Gmmxx)
ExtendEnumsWithSelectionField(GameMethod, PolicyIteration, ValueIteration)
ExtendEnumsWithSelectionField(LraMethod, LinearProgramming, ValueIteration)

Loading…
Cancel
Save