Linkgraph: Fix demand allocation in partitioned graphs

This commit is contained in:
Jonathan G Rennison
2020-01-25 12:34:20 +00:00
parent 5b83e5ff78
commit 32284e6449
2 changed files with 67 additions and 20 deletions

View File

@@ -19,10 +19,10 @@ private:
int32 accuracy; ///< Accuracy of the calculation.
template<class Tscaler>
void CalcDemand(LinkGraphJob &job, Tscaler scaler);
void CalcDemand(LinkGraphJob &job, const std::vector<bool> &reachable_nodes, Tscaler scaler);
template<class Tscaler>
void CalcMinimisedDistanceDemand(LinkGraphJob &job, Tscaler scaler);
void CalcMinimisedDistanceDemand(LinkGraphJob &job, const std::vector<bool> &reachable_nodes, Tscaler scaler);
};
/**