Linkgraph: Early exit demand allocator in DT_MANUAL mode

This commit is contained in:
Jonathan G Rennison
2023-01-28 20:36:38 +00:00
parent c80075b7cc
commit 98d7ba8b9d

View File

@@ -418,6 +418,8 @@ DemandCalculator::DemandCalculator(LinkGraphJob &job) :
this->mod_dist = 100 + over100 * over100;
}
if (settings.GetDistributionType(cargo) == DT_MANUAL) return;
const uint size = job.Size();
/* Symmetric edge matrix