Package output
Class OutputPathTravelTime
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputTimed
-
- output.AbstractOutputTimedPath
-
- output.OutputPathTravelTime
-
- All Implemented Interfaces:
InterfaceOutput
,InterfacePlottable
public class OutputPathTravelTime extends AbstractOutputTimedPath
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
Fields Modifier and Type Field Description boolean
instantaneous
-
Fields inherited from class output.AbstractOutputTimedPath
path, profile
-
Fields inherited from class output.AbstractOutputTimed
commodity, delim, outDt, time_writer
-
Fields inherited from class output.AbstractOutput
output_folder, prefix, scenario, type, write_to_file, writer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
compute_predictive_travel_time(float start_time)
String
get_output_file()
List<Double>
get_travel_times_sec()
String
get_yaxis_label()
void
initialize(Scenario scenario)
void
write(float timestamp)
-
Methods inherited from class output.AbstractOutputTimedPath
get_path_id, get_series, plot
-
Methods inherited from class output.AbstractOutputTimed
close, get_commodity_id, get_outdt, open, register, validate_post_init
-
Methods inherited from class output.AbstractOutput
getType, make_time_chart
-
-
-
-
Constructor Detail
-
OutputPathTravelTime
public OutputPathTravelTime(Scenario scenario, String prefix, String output_folder, Long subnetwork_id, Float outDt) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
initialize
public void initialize(Scenario scenario) throws OTMException
- Overrides:
initialize
in classAbstractOutputTimedPath
- Throws:
OTMException
-
get_output_file
public String get_output_file()
- Specified by:
get_output_file
in interfaceInterfaceOutput
- Overrides:
get_output_file
in classAbstractOutputTimed
-
write
public void write(float timestamp) throws OTMException
- Overrides:
write
in classAbstractOutputTimed
- Throws:
OTMException
-
get_yaxis_label
public String get_yaxis_label()
-
compute_predictive_travel_time
public final double compute_predictive_travel_time(float start_time)
-
-