public String generateMinimalMATSimConfig(){
  Config config=new Config();
  ConfigGroup ippcm=config.createModule(MatrixBasedPtRouterConfigGroup.GROUP_NAME);
  ippcm.addParam(MatrixBasedPtRouterConfigGroup.PT_STOPS,this.ptStops);
  ippcm.addParam(MatrixBasedPtRouterConfigGroup.USING_PT_STOPS,"tRue");
  ippcm.addParam(MatrixBasedPtRouterConfigGroup.PT_TRAVEL_TIMES_AND_DISTANCES_SWITCH,this.useTravelTimesAndDistances);
  ChangeModeConfigGroup changeModeConfig=ConfigUtils.addOrGetModule(config,ChangeModeConfigGroup.CONFIG_MODULE,ChangeModeConfigGroup.class);
  String[] str={"car","pt"};
  changeModeConfig.setModes(str);
  return writeConfigFile(config);
}

public String generateMinimalMATSimConfig ( ) { Config config = new Config ( ) ; ConfigGroup ippcm = config . createModule ( MatrixBasedPtRouterConfigGroup . GROUP_NAME ) ; ippcm . addParam ( MatrixBasedPtRouterConfigGroup . PT_STOPS , this . ptStops ) ; ippcm . addParam ( MatrixBasedPtRouterConfigGroup . USING_PT_STOPS , "tRue" ) ; ippcm . addParam ( MatrixBasedPtRouterConfigGroup . PT_TRAVEL_TIMES_AND_DISTANCES_SWITCH , this . useTravelTimesAndDistances ) ; ChangeModeConfigGroup changeModeConfig = ConfigUtils . addOrGetModule ( config , ChangeModeConfigGroup . CONFIG_MODULE , ChangeModeConfigGroup . class ) ; String [ ] str = { "car" , "pt" } ; changeModeConfig . setModes ( str ) ; return writeConfigFile ( config ) ; }
generates the external matsim config file with the specified parameter settings
