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. | |
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 123 of file linkgraphjob.cpp.
References flows, paths, and undelivered_supply.