Dynamical system model
Loading...
Searching...
No Matches
Node.hpp File Reference

Defines the Node class. More...

#include <functional>
#include <utility>
#include <stdexcept>
#include <optional>
#include <set>
#include <map>
#include <format>
#include "../utility/Logger.hpp"
#include "../utility/queue.hpp"

Classes

class  dsm::NodeConcept< Id, Size >
 The NodeConcept class represents the concept of a node in the network. More...
 
class  dsm::Node< Id, Size >
 The Node class represents a node in the network. More...
 
class  dsm::TrafficLight< Id, Size, Delay >
 
class  dsm::Roundabout< Id, Size >
 The Roundabout class represents a roundabout node in the network. More...
 

Detailed Description

Defines the Node class.

This file contains the definition of the Node class. The Node class represents a node in the network. It is templated by the type of the node's id, which must be an unsigned integral type. The derived classes are:

  • Intersection: represents an intersection node with a map of agents
    • TrafficLight: represents a traffic light intersection node
  • Roundabout: represents a roundabout node with a queue of agents