eqasim-org / eqasim-java

The eqasim framework features an integrated transport simulation environment. It is based on the agent-based transport simulation framework MATSim with added components for simulation of discrete choice models.
http://www.eqasim.org
GNU General Public License v2.0
23 stars 39 forks source link

A more generic EpsilonModule, now in ccore #190

Closed tkchouaki closed 5 months ago

tkchouaki commented 5 months ago

This PR includes some developments related to the Epsilon utility estimators:

The EpsilonModule now does not require to hardcode the names of all epsilon estimators. It loops through the estimator names of your Eqasim config and binds the ones starting with the prefix epsilon_ and binds them. And now that the EpsilonModule is added by default, your usual run scripts will support Epsilon utility estimators by default. You just need to add the prefixe epsilon_ to your usual utility estimator. e.g:

<parameterset type="estimator" >
    <param name="estimator" value="epsilon_PtUtilityEstimator" />
    <param name="mode" value="pt" />
</parameterset>

This PR also includes an AdaptConfigForEpsilon script in the org.eqasim.core.simulation.mode_choice.epsilon package. that can be used to quickly adjust your config file to use Epsilon utility estimators (while switching to a MaximumUtilitySelector).