1
0
-1

Hi all,

We are attempting to incorporate Pieter Fourie's pseudosimulation contrib into our model to speed up the run times. Our model uses a close variant of Sergio Arturo Ordonez Medina's events based pt router contrib for public transport.

I am running into problems however with a custom replanning strategy we use (a variant of Ihab Kaddoura's parkAndRide functionality from the vsp playground). The config refers to the strategy as per the below:

<param name="strategyName" value="au.gov.vic.mabm.parkandride.replanning.PnrStrategyProvider"/>

In the pseudosimulation.replanning.DistributedPlanStrategyTranslationAndRegistration class, I have added the following lines:

SupportedMutators.put("au.gov.vic.mabm.parkandride.replanning.PnrStrategyProvider", PnrStrategyProvider.class);
        SupportedMutatorGenes.put("au.gov.vic.mabm.parkandride.replanning.PnrStrategyProvider", new Character('L'));

I have also tried some variants of this (removing package names). But I keep getting an error similar to the below. 

Caused by: java.lang.RuntimeException: You specified something which looks like a class name as a strategy, but the class could not be found.
	at org.matsim.core.replanning.StrategyManagerModule.install(StrategyManagerModule.java:69)


Caused by: java.lang.ClassNotFoundException: au.gov.vic.mabm.parkandride.replanning.PnrStrategyProviderPSIM

The parkandride strategy I am trying to add is fairly simple, it just puts "parkAndRide" activities in between home and work with a car and pt leg, and then ReRoutes the plan.

Any ideas why this might be happening? Any advice will be very greatly appreciated.

Thanks in advance.

Renan.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Dear Renan


      Thanks for bringing this to my attention! time for me to do some upkeep. will get back to you.

      best

      Pieter

      1. Renan Grace

        Thanks for the response Pieter. Look forward to hearing from you in due course.


        Renan.

      CommentAdd your comment...