10#ifndef LINKGRAPH_TYPE_H
11#define LINKGRAPH_TYPE_H
18typedef uint16_t NodeID;
19static const NodeID INVALID_NODE = UINT16_MAX;
EdgeUpdateMode
Special modes for updating links.
@ Refresh
Refresh capacity.
@ Unrestricted
Use unrestricted link.
@ Increase
Increase capacity.
@ Restricted
Use restricted link.
DistributionType
Distribution types.
@ MaxNonSymmetric
Maximum non-symmetric distribution.
@ Asymmetric
Asymmetric distribution. Usually cargo will only travel in one direction.
@ Max
Maximal value of Distribution type.
@ Min
Minimal value of Distribution type.
@ Manual
Manual distribution. No link graph calculations are run.
@ Symmetric
Symmetric distribution. The same amount of cargo travels in each direction between each pair of nodes...
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle,...
Templated helper to make a PoolID a single POD value.