#include "src/storage/jani/BooleanVariable.h" namespace storm { namespace jani { BooleanVariable::BooleanVariable(std::string const& name, storm::expressions::Variable const& variable) : Variable(name, variable) { // Intentionally left empty. } BooleanVariable::BooleanVariable(std::string const& name, storm::expressions::Variable const& variable, storm::expressions::Expression const& initValue, bool transient) : Variable(name, variable, initValue, transient) { // Intentionally left empty. } bool BooleanVariable::isBooleanVariable() const { return true; } std::shared_ptr makeBooleanVariable(std::string const& name, storm::expressions::Variable const& variable, boost::optional initValue, bool transient) { if (initValue) { return std::make_shared(name, variable, initValue.get(), transient); } else { assert(!transient); return std::make_shared(name, variable); } } } }