Skip to content
petrasovaa edited this page May 18, 2015 · 10 revisions

Parameters cleanup

All parameters related to stochastic 1 were removed - dProbWeight, dDevPersistence, giveUpRatio. Also controlFile was removed (there is still controlFileAll). Parameters employAttractionFile, interchangeDistanceFile, roadDensityFile, addVariableFile were removed, instead we have now predictors.

##Programming TODO Constraint weight shouldn't be required. Currently the code can work without it, but it allocates the memory anyway, this must be changed.

Incentive table

We need either a very simple grass module or provide code instructions in Python/R something like that:

import numpy as np
incentive = 2
x = np.linspace(0, 1, 1001)
np.savetxt(fname="incentive_table.txt", fmt='%1.3f', delimiter=',', X=np.column_stack((x, np.power(x, incentive))))

Of course, it can be defined in a more complex way by user.