10 #ifndef LINKGRAPH_TYPE_H
11 #define LINKGRAPH_TYPE_H
13 typedef uint16_t LinkGraphID;
14 static const LinkGraphID INVALID_LINK_GRAPH = UINT16_MAX;
16 typedef uint16_t LinkGraphJobID;
17 static const LinkGraphJobID INVALID_LINK_GRAPH_JOB = UINT16_MAX;
19 typedef uint16_t NodeID;
20 static const NodeID INVALID_NODE = UINT16_MAX;
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) enum CompanyManagerFaceVariable
Bitgroups of the CompanyManagerFace variable.
@ DT_MANUAL
Manual distribution. No link graph calculations are run.
@ DT_ASYMMETRIC
Asymmetric distribution. Usually cargo will only travel in one direction.
@ DT_SYMMETRIC
Symmetric distribution. The same amount of cargo travels in each direction between each pair of nodes...
@ DT_MAX_NONSYMMETRIC
Maximum non-symmetric distribution.
EdgeUpdateMode
Special modes for updating links.
@ EUM_REFRESH
Refresh capacity.
@ EUM_INCREASE
Increase capacity.
@ EUM_RESTRICTED
Use restricted link.
@ EUM_UNRESTRICTED
Use unrestricted link.