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 classAbstractOutputTimedLanegroup.LaneGroupProfile-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
Fields Modifier and Type Field Description Map<Long,AbstractOutputTimedLanegroup.LaneGroupProfile>lgprofilesCollection<Long>link_idsArrayList<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 Stringget_output_file()Map<Long,Profile1D>get_profiles_for_linkid(Long link_id)org.jfree.data.xy.XYSeriesget_series_for_lg(core.AbstractLaneGroup lg)voidinitialize(Scenario scenario)voidplot_for_links(Set<Long> link_ids, String filename)voidvalidate_post_init(OTMErrorLog errorLog)voidwrite(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_filein interfaceInterfaceOutput- Overrides:
get_output_filein classAbstractOutputTimed
-
write
public final void write(float timestamp) throws OTMException- Overrides:
writein classAbstractOutputTimed- Throws:
OTMException
-
initialize
public void initialize(Scenario scenario) throws OTMException
- Overrides:
initializein classAbstractOutput- Throws:
OTMException
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
- Overrides:
validate_post_initin 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
-
-