Storm
A Modern Probabilistic Model Checker
|
#include <ImmediateTransition.h>
Public Member Functions | |
void | setWeight (WeightType const &weight) |
Sets the weight of this transition to the given value. | |
WeightType | getWeight () const |
Retrieves the weight of this transition. | |
bool | noWeightAttached () const |
True iff no weight is attached. | |
![]() | |
void | setInputArcMultiplicity (storm::gspn::Place const &place, uint64_t multiplicity) |
Set the multiplicity of the input arc originating from the place. | |
bool | removeInputArc (storm::gspn::Place const &place) |
Removes an input arc connected to a given place. | |
bool | existsInputArc (storm::gspn::Place const &place) const |
Checks whether the given place is connected to this transition via an input arc. | |
void | setOutputArcMultiplicity (storm::gspn::Place const &place, uint64_t multiplicity) |
Set the multiplicity of the output arc going to the place. | |
bool | removeOutputArc (storm::gspn::Place const &place) |
Removes an output arc connected to a given place. | |
bool | existsOutputArc (storm::gspn::Place const &place) const |
Checks whether the given place is connected to this transition via an output arc. | |
void | setInhibitionArcMultiplicity (storm::gspn::Place const &place, uint64_t multiplicity) |
Set the multiplicity of the inhibition arc originating from the place. | |
bool | removeInhibitionArc (storm::gspn::Place const &place) |
Removes an inhibition arc connected to a given place. | |
bool | existsInhibitionArc (storm::gspn::Place const &place) const |
Checks whether the given place is connected to this transition via an inhibition arc. | |
bool | isEnabled (storm::gspn::Marking const &marking) const |
Checks if the given marking enables the transition. | |
storm::gspn::Marking | fire (storm::gspn::Marking const &marking) const |
Fire the transition if possible. | |
void | setName (std::string const &name) |
Set the name of the transition. | |
std::string const & | getName () const |
Returns the name of the transition. | |
std::unordered_map< uint64_t, uint64_t > const & | getInputPlaces () const |
std::unordered_map< uint64_t, uint64_t > const & | getOutputPlaces () const |
std::unordered_map< uint64_t, uint64_t > const & | getInhibitionPlaces () const |
uint64_t | getInputArcMultiplicity (storm::gspn::Place const &place) const |
Returns the corresponding multiplicity. | |
uint64_t | getInhibitionArcMultiplicity (storm::gspn::Place const &place) const |
Returns the corresponding multiplicity. | |
uint64_t | getOutputArcMultiplicity (storm::gspn::Place const &place) const |
Returns the corresponding multiplicity. | |
void | setPriority (uint64_t const &priority) |
Sets the priority of this transtion. | |
uint64_t | getPriority () const |
Returns the priority of this transition. | |
void | setID (uint64_t const &id) |
uint64_t | getID () const |
Definition at line 9 of file ImmediateTransition.h.
|
inline |
Retrieves the weight of this transition.
Definition at line 25 of file ImmediateTransition.h.
|
inline |
True iff no weight is attached.
Definition at line 32 of file ImmediateTransition.h.
|
inline |
Sets the weight of this transition to the given value.
weight | The new weight for this transition. |
Definition at line 16 of file ImmediateTransition.h.