|
@ -1,5 +1,7 @@ |
|
|
#pragma once |
|
|
#pragma once |
|
|
|
|
|
|
|
|
|
|
|
#include <set> |
|
|
|
|
|
|
|
|
#include "src/storage/jani/Composition.h" |
|
|
#include "src/storage/jani/Composition.h" |
|
|
|
|
|
|
|
|
namespace storm { |
|
|
namespace storm { |
|
@ -10,7 +12,7 @@ namespace storm { |
|
|
/*! |
|
|
/*! |
|
|
* Creates a reference to an automaton to be used in a composition. |
|
|
* Creates a reference to an automaton to be used in a composition. |
|
|
*/ |
|
|
*/ |
|
|
AutomatonComposition(std::string const& name); |
|
|
|
|
|
|
|
|
AutomatonComposition(std::string const& name, std::set<std::string> const& inputEnabledActions = {}); |
|
|
|
|
|
|
|
|
/*! |
|
|
/*! |
|
|
* Retrieves the name of the automaton this composition element refers to. |
|
|
* Retrieves the name of the automaton this composition element refers to. |
|
@ -21,9 +23,14 @@ namespace storm { |
|
|
|
|
|
|
|
|
virtual void write(std::ostream& stream) const override; |
|
|
virtual void write(std::ostream& stream) const override; |
|
|
|
|
|
|
|
|
|
|
|
std::set<std::string> const& getInputEnabledActions() const; |
|
|
|
|
|
|
|
|
private: |
|
|
private: |
|
|
// The name of the automaton this composition element refers to. |
|
|
|
|
|
|
|
|
/// The name of the automaton this composition element refers to. |
|
|
std::string name; |
|
|
std::string name; |
|
|
|
|
|
|
|
|
|
|
|
/// The names of the actions for which to make this automaton input-enabled. |
|
|
|
|
|
std::set<std::string> inputEnabledActions; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
} |
|
|
} |