diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-06-09 13:01:23 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-06-09 13:01:23 +0000 |
commit | 575cabe90a56a23fa13ca24962b12a4ff2216386 (patch) | |
tree | b0ac380fa899cfaf13cece03d08c19ac647074c1 /src/linkgraph/linkgraphschedule.cpp | |
parent | 9824d53d6a7d96e0a7182fa5bae5c05218b6a730 (diff) | |
download | openttd-575cabe90a56a23fa13ca24962b12a4ff2216386.tar.xz |
(svn r25357) -Add: flow mapper for link graph
Diffstat (limited to 'src/linkgraph/linkgraphschedule.cpp')
-rw-r--r-- | src/linkgraph/linkgraphschedule.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/linkgraph/linkgraphschedule.cpp b/src/linkgraph/linkgraphschedule.cpp index 2cb291853..7e2c66f8f 100644 --- a/src/linkgraph/linkgraphschedule.cpp +++ b/src/linkgraph/linkgraphschedule.cpp @@ -14,6 +14,7 @@ #include "init.h" #include "demands.h" #include "mcf.h" +#include "flowmapper.h" /** * Spawn a thread if possible and run the link graph job in the thread. If @@ -132,7 +133,9 @@ LinkGraphSchedule::LinkGraphSchedule() this->handlers[0] = new InitHandler; this->handlers[1] = new DemandHandler; this->handlers[2] = new MCFHandler<MCF1stPass>; - this->handlers[3] = new MCFHandler<MCF2ndPass>; + this->handlers[3] = new FlowMapper; + this->handlers[4] = new MCFHandler<MCF2ndPass>; + this->handlers[5] = new FlowMapper; } /** |