MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Next

Method Next

src/linkgraph/mcf.cpp:183–187  ·  view source on GitHub ↗

* Get the next node for which a flow exists. * @return ID of next node with flow. */

Source from the content-addressed store, hash-verified

181 * @return ID of next node with flow.
182 */
183 NodeID Next()
184 {
185 if (this->it == this->end) return INVALID_NODE;
186 return this->station_to_node[(this->it++)->second];
187 }
188};
189
190/**

Callers 3

LinkRefresherMethod · 0.45
HandleRefitMethod · 0.45
DijkstraMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected