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.
49 lines
1.7 KiB
49 lines
1.7 KiB
#pragma once
|
|
|
|
#include "storm/environment/solver/SolverEnvironment.h"
|
|
#include "storm/solver/SolverSelectionOptions.h"
|
|
|
|
namespace storm {
|
|
|
|
class LongRunAverageSolverEnvironment {
|
|
public:
|
|
|
|
LongRunAverageSolverEnvironment();
|
|
~LongRunAverageSolverEnvironment();
|
|
|
|
storm::solver::LraMethod const& getDetLraMethod() const;
|
|
bool const& isDetLraMethodSetFromDefault() const;
|
|
void setDetLraMethod(storm::solver::LraMethod value, bool isSetFromDefault = false);
|
|
|
|
storm::solver::LraMethod const& getNondetLraMethod() const;
|
|
bool const& isNondetLraMethodSetFromDefault() const;
|
|
void setNondetLraMethod(storm::solver::LraMethod value, bool isSetFromDefault = false);
|
|
|
|
storm::RationalNumber const& getPrecision() const;
|
|
void setPrecision(storm::RationalNumber value);
|
|
bool const& getRelativeTerminationCriterion() const;
|
|
void setRelativeTerminationCriterion(bool value);
|
|
|
|
bool isMaximalIterationCountSet() const;
|
|
uint64_t getMaximalIterationCount() const;
|
|
void setMaximalIterationCount(uint64_t value);
|
|
void unsetMaximalIterationCount();
|
|
|
|
storm::RationalNumber const& getAperiodicFactor() const;
|
|
void setAperiodicFactor(storm::RationalNumber value);
|
|
|
|
private:
|
|
storm::solver::LraMethod detMethod;
|
|
bool detMethodSetFromDefault;
|
|
|
|
storm::solver::LraMethod nondetMethod;
|
|
bool nondetMethodSetFromDefault;
|
|
|
|
storm::RationalNumber precision;
|
|
bool relative;
|
|
boost::optional<uint64_t> maxIters;
|
|
|
|
storm::RationalNumber aperiodicFactor;
|
|
};
|
|
}
|
|
|