Package output
Class AbstractOutputTimedLanegroup
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputTimed
-
- output.AbstractOutputTimedLanegroup
-
- All Implemented Interfaces:
InterfaceOutput
,InterfacePlottable
- Direct Known Subclasses:
OutputLaneGroupFlow
,OutputLaneGroupSumVehicles
,OutputLaneGroupSumVehiclesDwn
,OutputLaneGroupVehicles
public abstract class AbstractOutputTimedLanegroup extends AbstractOutputTimed
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AbstractOutputTimedLanegroup.LaneGroupProfile
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
Fields Modifier and Type Field Description Map<Long,AbstractOutputTimedLanegroup.LaneGroupProfile>
lgprofiles
Collection<Long>
link_ids
ArrayList<core.AbstractLaneGroup>
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 AbstractOutputTimedLanegroup(Scenario scenario, String prefix, String output_folder, Long commodity_id, Collection<Long> inlink_ids, Float outDt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get_output_file()
Map<Long,Profile1D>
get_profiles_for_linkid(Long link_id)
org.jfree.data.xy.XYSeries
get_series_for_lg(core.AbstractLaneGroup lg)
void
initialize(Scenario scenario)
void
plot_for_links(Set<Long> link_ids, String filename)
void
validate_post_init(OTMErrorLog errorLog)
void
write(float timestamp)
-
Methods inherited from class output.AbstractOutputTimed
close, get_commodity_id, get_outdt, open, register
-
Methods inherited from class output.AbstractOutput
getType, make_time_chart
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface output.InterfacePlottable
get_yaxis_label, plot
-
-
-
-
Field Detail
-
link_ids
public Collection<Long> link_ids
-
ordered_lgs
public ArrayList<core.AbstractLaneGroup> ordered_lgs
-
lgprofiles
public Map<Long,AbstractOutputTimedLanegroup.LaneGroupProfile> lgprofiles
-
-
Constructor Detail
-
AbstractOutputTimedLanegroup
public AbstractOutputTimedLanegroup(Scenario scenario, String prefix, String output_folder, Long commodity_id, Collection<Long> inlink_ids, Float outDt) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
get_output_file
public String get_output_file()
- Specified by:
get_output_file
in interfaceInterfaceOutput
- Overrides:
get_output_file
in classAbstractOutputTimed
-
write
public final void write(float timestamp) throws OTMException
- Overrides:
write
in classAbstractOutputTimed
- Throws:
OTMException
-
initialize
public void initialize(Scenario scenario) throws OTMException
- Overrides:
initialize
in classAbstractOutput
- Throws:
OTMException
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
- Overrides:
validate_post_init
in classAbstractOutputTimed
-
get_series_for_lg
public org.jfree.data.xy.XYSeries get_series_for_lg(core.AbstractLaneGroup lg)
-
plot_for_links
public final void plot_for_links(Set<Long> link_ids, String filename) throws OTMException
- Throws:
OTMException
-
-