Package output
Class OutputLaneGroupSumVehicles
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputTimed
-
- output.AbstractOutputTimedLanegroup
-
- output.OutputLaneGroupSumVehicles
-
- All Implemented Interfaces:
InterfaceOutput
,InterfacePlottable
public class OutputLaneGroupSumVehicles extends AbstractOutputTimedLanegroup
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class output.AbstractOutputTimedLanegroup
AbstractOutputTimedLanegroup.LaneGroupProfile
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
Fields Modifier and Type Field Description Map<Long,Float>
lg2total
Float
simDt
-
Fields inherited from class output.AbstractOutputTimedLanegroup
lgprofiles, link_ids, ordered_lgs
-
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
-
-
Constructor Summary
Constructors Constructor Description OutputLaneGroupSumVehicles(Scenario scenario, String prefix, String output_folder, Long commodity_id, Collection<Long> link_ids, Float outDt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get_output_file()
Profile1D
get_veh_profile_for_lg(Long lgid)
String
get_yaxis_label()
void
initialize(Scenario scenario)
void
plot(String filename)
void
register(RunParameters props, Dispatcher dispatcher)
void
update_total_vehicles(float timestamp)
void
validate_post_init(OTMErrorLog errorLog)
-
Methods inherited from class output.AbstractOutputTimedLanegroup
get_profiles_for_linkid, get_series_for_lg, plot_for_links, write
-
Methods inherited from class output.AbstractOutputTimed
close, get_commodity_id, get_outdt, open
-
Methods inherited from class output.AbstractOutput
getType, make_time_chart
-
-
-
-
Constructor Detail
-
OutputLaneGroupSumVehicles
public OutputLaneGroupSumVehicles(Scenario scenario, String prefix, String output_folder, Long commodity_id, Collection<Long> link_ids, Float outDt) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
initialize
public void initialize(Scenario scenario) throws OTMException
- Overrides:
initialize
in classAbstractOutputTimedLanegroup
- Throws:
OTMException
-
register
public void register(RunParameters props, Dispatcher dispatcher)
- Specified by:
register
in interfaceInterfaceOutput
- Overrides:
register
in classAbstractOutputTimed
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
- Overrides:
validate_post_init
in classAbstractOutputTimedLanegroup
-
update_total_vehicles
public void update_total_vehicles(float timestamp)
-
get_output_file
public String get_output_file()
- Specified by:
get_output_file
in interfaceInterfaceOutput
- Overrides:
get_output_file
in classAbstractOutputTimedLanegroup
-
get_yaxis_label
public String get_yaxis_label()
-
plot
public void plot(String filename) throws OTMException
- Throws:
OTMException
-
-