irafhy
Interval arithmetic based Reachability Analysis Framework for Hybrid Automaton
locations.h
Go to the documentation of this file.
1 #ifndef REPRESENTATION_FORMAL_HYBRID_AUTOMATON_LOCATIONS_LOCATIONS_H
2 #define REPRESENTATION_FORMAL_HYBRID_AUTOMATON_LOCATIONS_LOCATIONS_H
3 
5 
6 namespace irafhy
7 {
8  template <typename Analyser>
9  class Locations
10  {
11  private:
15  std::vector<Model<Analyser>> models_;
16 
17  public:
21  Locations() = default;
26  explicit Locations(const std::vector<Model<Analyser>>& models);
30  ~Locations() = default;
35  std::vector<Model<Analyser>> models() const;
41  const Model<Analyser>* modelPtr(const std::string& modelID) const;
46  void constructJumps(std::vector<Jump<Analyser>>& jumps);
47  };
48 
56  template <typename Analyser>
57  std::ostream& operator<<(std::ostream& out, const Locations<Analyser>& rhs);
58 } // namespace irafhy
59 #ifndef USE_AS_STATIC
60 #include "../../../../../../src/representation/formal/hybridAutomaton/locations/locations.tpp"
61 #endif
62 #endif //REPRESENTATION_FORMAL_HYBRID_AUTOMATON_LOCATIONS_LOCATIONS_H
Definition: model.h:16
std::vector< Model< Analyser > > models_
modes of the hybrid automaton
Definition: locations.h:15
std::vector< Model< Analyser > > models() const
get the modes of the hybrid automaton
~Locations()=default
destructor
void constructJumps(std::vector< Jump< Analyser >> &jumps)
construct the jumps among given modes
Locations()=default
constructor
Definition: condition.cpp:3
Definition: model.h:13
Definition: locations.h:9
const Model< Analyser > * modelPtr(const std::string &modelID) const
get the pointer of the mode with given id