matsim-org / matsim-libs

Multi-Agent Transport Simulation
www.matsim.org
484 stars 447 forks source link

Config value for searchDistance not implemented? #1546

Closed phaj19 closed 3 years ago

phaj19 commented 3 years ago

Hi, I thought I was using "searchDistanceOneWayCarsharing" setting in config, but it seems that the actual value is hard-coded? Shouldn't it take the value from config by default? https://github.com/matsim-org/matsim-libs/blob/a89521e33c5c6945b8e3d0bfd3ea8dd868bb29a5/contribs/carsharing/src/main/java/org/matsim/contrib/carsharing/manager/supply/CompanyAgentImpl.java#L26

balacmi commented 3 years ago

Thank you for noticing this. I am making a pull request with an update and some further improvements.