uatlib
Public Member Functions | Public Attributes | List of all members
uat::permit< Region > Struct Template Reference

A tuple containing a region and a time step. More...

#include <permit.hpp>

Collaboration diagram for uat::permit< Region >:
Collaboration graph
[legend]

Public Member Functions

 permit (Region s, uint_t time) noexcept
 
auto operator== (const permit &other) const -> bool
 
auto operator!= (const permit &other) const -> bool
 

Public Attributes

Region location
 The region.
 
uint_t time
 The time step.
 

Detailed Description

template<region_compatible Region>
struct uat::permit< Region >

A tuple containing a region and a time step.

A permit refers to the assets agents can trade. This class is just a convenient way to group a region and a time step. Structured bindings and hashing are supported.


The documentation for this struct was generated from the following file: