Linkgraph: Early exit demand allocator in DT_MANUAL mode
This commit is contained in:
@@ -418,6 +418,8 @@ DemandCalculator::DemandCalculator(LinkGraphJob &job) :
|
|||||||
this->mod_dist = 100 + over100 * over100;
|
this->mod_dist = 100 + over100 * over100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (settings.GetDistributionType(cargo) == DT_MANUAL) return;
|
||||||
|
|
||||||
const uint size = job.Size();
|
const uint size = job.Size();
|
||||||
|
|
||||||
/* Symmetric edge matrix
|
/* Symmetric edge matrix
|
||||||
|
Reference in New Issue
Block a user