Loading [MathJax]/extensions/tex2jax.js
Dynamical system model
All Classes Namespaces Files Functions Pages
Agent.hpp File Reference

Defines the Agent class. More...

#include "Itinerary.hpp"
#include "../utility/Logger.hpp"
#include "../utility/Typedef.hpp"
#include <cassert>
#include <concepts>
#include <limits>
#include <optional>
#include <stdexcept>
#include <vector>

Classes

class  dsm::Agent
 The Agent class represents an agent in the network. More...
 

Namespaces

namespace  dsm
 

Detailed Description

Defines the Agent class.

This file contains the definition of the Agent class. The Agent class represents an agent in the network. It is templated by the type of the agent's id and the size of agents, which must both be unsigned integrals. It is also templated by the delay_t type, which must be a numeric (see utility/TypeTraits/is_numeric.hpp) and represents the spatial or temporal (depending on the type of the template) distance between the agent and the one in front of it.