|
OpenTTD
|
Annotation for a link graph node. More...
Public Member Functions | |
| void | Init (uint supply) |
| Initialize a Linkgraph job node. | |
Data Fields | |
| uint | undelivered_supply |
| Amount of supply that hasn't been distributed yet. | |
| PathList | paths |
| Paths through this node, sorted so that those with flow == 0 are in the back. | |
| FlowStatMap | flows |
| Planned flows to other nodes. | |
Annotation for a link graph node.
Definition at line 46 of file linkgraphjob.h.
| void LinkGraphJob::NodeAnnotation::Init | ( | uint | supply | ) |
Initialize a Linkgraph job node.
The underlying memory is expected to be freshly allocated, without any constructors having been called.
| supply | Initial undelivered supply. |
Definition at line 208 of file linkgraphjob.cpp.
1.8.1.2