21 package org.matsim.core.config.groups;
23 import org.apache.logging.log4j.LogManager;
56 private static final String
INPUT_FILE =
"inputPlansFile";
84 Map<String, String> comments = super.getComments();
87 "Defines how routes are stored in memory. Currently supported: " +
99 StringBuilder str =
new StringBuilder() ;
101 str.append(
" ").append(itp.toString());
103 comments.put(ACTIVITY_DURATION_INTERPRETATION,
"String:" + str +
". Anything besides " 105 "(simpler) version of the TimeAllocationMutator.") ;
106 comments.put(TRIP_DURATION_HANDLING,
"Defines how departure times are interpreted in rerouting applications. If set to '" +
TripDurationHandling.
ignoreDelays +
"', " +
108 "routing along a plan will accumulate travel times and shift activity end times if necessary");
111 "activityStartTime. default=false. Use with Caution!");
113 comments.put( INPUT_CRS ,
"The Coordinates Reference System in which the coordinates are expressed in the input file." +
114 " At import, the coordinates will be converted to the coordinate system defined in \"global\", and will" +
115 "be converted back at export. If not specified, no conversion happens." );
150 this.handlingOfPlansWithoutRoutingMode = val ;
163 "the Attributable feature. If you insist on continuing to use the separate person attribute file, set " +
164 "insistingOnUsingDeprecatedPersonAttributeFile to true. The file will then be read, but the values " +
165 "will be entered into each person using Attributable, and written as such to output_plans. kai, may'19";
218 LogManager.getLogger(this.getClass()).warn(
"You are using " + actDurInterpret +
" as activityDurationInterpretation. " +
219 "This is not working in conjunction with the pt module as pt interaction activities then will never end!");
220 LogManager.getLogger(this.getClass()).warn(
"ActivityDurationInterpreation " + actDurInterpret +
" is deprecated; use " static final String INPUT_PERSON_ATTRIBUTES_FILE
URL getInputFileURL(URL context)
static final String INSISTING_ON_USING_DEPRECATED_PERSON_ATTRIBUTE_FILE
static final String ACTIVITY_DURATION_INTERPRETATION
static final String INPUT_CRS
void setNetworkRouteType(final String routeType)
static final String MediumCompressedNetworkRoute
void setRemovingUnneccessaryPlanAttributes(final boolean removingUnneccessaryPlanAttributes)
String getInputPersonAttributeFile()
String inputPersonAttributeFile
PlansConfigGroup.TripDurationHandling getTripDurationHandling()
final void setInsistingOnUsingDeprecatedPersonAttributeFile(boolean val)
static final String CompressedNetworkRoute
static final String REMOVING_UNNECESSARY_PLAN_ATTRIBUTES
static final String GROUP_NAME
final boolean isInsistingOnUsingDeprecatedPersonAttributeFile()
static final String TRIP_DURATION_HANDLING
static final String LinkNetworkRoute
static final String HANDLING_OF_PLANS_WITHOUT_ROUTING_MODE
static final String INPUT_FILE
static final String SUBPOPULATION_ATTRIBUTE_NAME
void setTripDurationHandling(final PlansConfigGroup.TripDurationHandling value)
void setActivityDurationInterpretation(final PlansConfigGroup.ActivityDurationInterpretation actDurInterpret)
static URL getInputFileURL(URL context, String filename)
void setInputFile(final String inputFile)
Map< String, String > getComments()
final HandlingOfPlansWithoutRoutingMode getHandlingOfPlansWithoutRoutingMode()
static final String NETWORK_ROUTE_TYPE
static final String PERSON_ATTRIBUTES_DEPRECATION_MESSAGE
TripDurationHandling tripDurationHandling
boolean insistingOnUsingDeprecatedPersonAttributeFile
boolean isRemovingUnneccessaryPlanAttributes()
void setInputCRS(String inputCRS)
final void setHandlingOfPlansWithoutRoutingMode(HandlingOfPlansWithoutRoutingMode val)
void setInputPersonAttributeFile(final String inputPersonAttributeFile)
String getSubpopulationAttributeName()
static final String HeavyCompressedNetworkRoute
String getNetworkRouteType()
boolean removingUnneccessaryPlanAttributes
URL getInputPersonAttributeFileURL(URL context)
HandlingOfPlansWithoutRoutingMode handlingOfPlansWithoutRoutingMode
ActivityDurationInterpretation activityDurationInterpretation
PlansConfigGroup.ActivityDurationInterpretation getActivityDurationInterpretation()