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 <cassert>
#include "../utility/Logger.hpp"
#include "../utility/queue.hpp"
#include "../utility/Typedef.hpp"

Classes

class  dsm::Node
 The Node class represents the concept of a node in the network. More...
 
class  dsm::Intersection
 The Intersection class represents a node in the network. More...
 
class  dsm::TrafficLight< Delay >
 
class  dsm::Roundabout
 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