1 #ifndef REPRESENTATION_FORMAL_HYBRID_AUTOMATON_TRANSITIONS_JUMP_JUMP_H 2 #define REPRESENTATION_FORMAL_HYBRID_AUTOMATON_TRANSITIONS_JUMP_JUMP_H 11 template <
typename Analyser>
14 template <
typename Analyser>
58 const std::vector<UpdateFunction>&
resetMap);
122 [[nodiscard]] std::vector<UpdateFunction>
resetMap()
const;
140 template <
typename Analyser>
141 std::ostream& operator<<(std::ostream& out, const Jump<Analyser>& rhs);
143 #ifndef USE_AS_STATIC 144 #include "../../../../../../../src/representation/formal/hybridAutomaton/transitions/jump/jump.tpp" 146 #endif //REPRESENTATION_FORMAL_HYBRID_AUTOMATON_TRANSITIONS_JUMP_JUMP_H Condition guardCondition() const
get the guard condition of the jump
std::string sourceName() const
get the name of the source mode
Condition guardCondition_
guard condition of the jump
Definition: jump.h:37
void setTargetName(const std::string &targetName)
set related name of the target
Jump()=default
constructor
Definition: condition.h:22
bool trigger(const Condition &in, Condition &out, const capd::interval &time) const
check if the given condition trigger the jump, if TRUE, output the triggered condition or not ...
void setResetMap(const std::vector< UpdateFunction > &resetMap)
set the reset map of the jump
std::vector< UpdateFunction > resetMap() const
get the reset map of the jump
Model< Analyser > * target() const
get the pointer to the target mode
std::string targetName_
id of the target mode
Definition: jump.h:25
std::string sourceName_
id of the source mode
Definition: jump.h:21
void setSource(Model< Analyser > *source)
set the source of the jump with given source
Definition: condition.cpp:3
Model< Analyser > * target_
pointer to the target mode
Definition: jump.h:33
void setSourceName(const std::string &sourceName)
set related name of the source
~Jump()=default
destructor
Model< Analyser > * source() const
get the pointer to the source mode
std::vector< UpdateFunction > resetMap_
reset map of the jump
Definition: jump.h:41
Model< Analyser > * source_
pointer to the source mode
Definition: jump.h:29
void setTarget(Model< Analyser > *target)
set the target of the jump with given target
std::string targetName() const
get the name of the target mode
void setGuardCondition(const Condition &guardCondition)
set the guard condition of the jump