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.
32 lines
755 B
32 lines
755 B
#include "storm/solver/SolverRequirement.h"
|
|
|
|
#include <vector>
|
|
|
|
#include "storm/utility/vector.h"
|
|
|
|
namespace storm {
|
|
namespace solver {
|
|
SolverRequirement::SolverRequirement() : enabled(false), critical(false) {
|
|
// Intentionally left empty
|
|
}
|
|
|
|
SolverRequirement::operator bool() const {
|
|
return enabled;
|
|
}
|
|
|
|
void SolverRequirement::enable(bool critical) {
|
|
this->enabled = true;
|
|
this->critical = critical;
|
|
}
|
|
|
|
void SolverRequirement::clear() {
|
|
enabled = false;
|
|
critical = false;
|
|
}
|
|
|
|
bool SolverRequirement::isCritical() const {
|
|
return this->critical;
|
|
}
|
|
|
|
}
|
|
}
|