irafhy
Interval arithmetic based Reachability Analysis Framework for Hybrid Automaton
state.h
Go to the documentation of this file.
1 #ifndef REPRESENTATION_FORMAL_HYBRID_AUTOMATON_LOCATIONS_MODEL_STATE_H
2 #define REPRESENTATION_FORMAL_HYBRID_AUTOMATON_LOCATIONS_MODEL_STATE_H
3 
4 #include <memory>
5 #include <irafhy/analyser.h>
6 
7 namespace irafhy
8 {
9  template <typename Analyser>
10  class Model;
11 
12  template <typename Analyser>
13  class State
14  {
15  private:
23  capd::C0Rect2Set initCondition_ = capd::C0Rect2Set(capd::IVector(1));
24 
25  public:
29  State() = default;
35  State(Model<Analyser>* modelPtr, capd::C0Rect2Set& initCondition);
41  State(const Model<Analyser>* modelPtr, const capd::C0Rect2Set& initCondition);
45  ~State() = default;
51  bool operator<(const State<Analyser>& rhs) const;
56  const Model<Analyser>* modelPtr() const;
61  [[nodiscard]] capd::C0Rect2Set initCondition() const;
62  };
63 } // namespace irafhy
64 #ifndef USE_AS_STATIC
65 #include "../../../../../../../src/representation/formal/hybridAutomaton/locations/model/state.tpp"
66 #endif
67 #endif //REPRESENTATION_FORMAL_HYBRID_AUTOMATON_LOCATIONS_MODEL_STATE_H
capd::C0Rect2Set initCondition() const
get the initial condition of the state
Definition: model.h:16
Definition: state.h:13
const Model< Analyser > * modelPtr() const
get the pointer to the state related mode
capd::C0Rect2Set initCondition_
initial state set of the mode&#39;s simulation
Definition: state.h:23
~State()=default
destructor
const Model< Analyser > * modelPtr_
pointer to the model
Definition: state.h:19
Definition: condition.cpp:3
State()=default
constructor