Annotation for a link graph node.
More...
#include <linkgraphjob.h>
Annotation for a link graph node.
Definition at line 80 of file linkgraphjob.h.
◆ DeliverSupply()
void LinkGraphJob::NodeAnnotation::DeliverSupply |
( |
NodeID |
to, |
|
|
uint |
amount |
|
) |
| |
|
inline |
Deliver some supply, adding demand to the respective edge.
- Parameters
-
to | Destination for supply. |
amount | Amount of supply to be delivered. |
Definition at line 148 of file linkgraphjob.h.
◆ DemandTo()
uint LinkGraphJob::NodeAnnotation::DemandTo |
( |
NodeID |
to | ) |
const |
|
inline |
Get the transport demand between end the points of the edge.
- Returns
- Demand.
Definition at line 125 of file linkgraphjob.h.
◆ operator[]() [1/2]
Retrieve an edge starting at this node.
- Parameters
-
to | Remote end of the edge. |
- Returns
- Edge between this node and "to".
Definition at line 102 of file linkgraphjob.h.
◆ operator[]() [2/2]
const EdgeAnnotation& LinkGraphJob::NodeAnnotation::operator[] |
( |
NodeID |
to | ) |
const |
|
inline |
Retrieve an edge starting at this node.
- Parameters
-
to | Remote end of the edge. |
- Returns
- Edge between this node and "to".
Definition at line 114 of file linkgraphjob.h.
◆ SatisfyDemandTo()
void LinkGraphJob::NodeAnnotation::SatisfyDemandTo |
( |
NodeID |
to, |
|
|
uint |
demand |
|
) |
| |
|
inline |
Satisfy some demand.
- Parameters
-
demand | Demand to be satisfied. |
Definition at line 137 of file linkgraphjob.h.
References demands.
◆ UnsatisfiedDemandTo()
uint LinkGraphJob::NodeAnnotation::UnsatisfiedDemandTo |
( |
NodeID |
to | ) |
const |
|
inline |
Get the transport demand that hasn't been satisfied by flows, yet.
- Returns
- Unsatisfied demand.
Definition at line 131 of file linkgraphjob.h.
The documentation for this struct was generated from the following file: