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

Defines the Agent class. More...

#include "Itinerary.hpp"
#include "SparseMatrix.hpp"
#include "../utility/TypeTraits/is_numeric.hpp"
#include "../utility/Logger.hpp"
#include "../utility/Typedef.hpp"
#include <concepts>
#include <stdexcept>
#include <limits>
#include <optional>

Classes

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

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 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.