Package output
Class AbstractOutputTimedCell
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputTimed
-
- output.AbstractOutputTimedCell
-
- All Implemented Interfaces:
InterfaceOutput
,InterfacePlottable
- Direct Known Subclasses:
OutputCellFlow
,OutputCellLanechangeIn
,OutputCellLanechangeOut
,OutputCellSumVehicles
,OutputCellSumVehiclesDwn
,OutputCellVehicles
public abstract class AbstractOutputTimedCell extends AbstractOutputTimed
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AbstractOutputTimedCell.CellProfile
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
Fields Modifier and Type Field Description Map<Long,List<AbstractOutputTimedCell.CellProfile>>
lgprofiles
List<Long>
link_ids
ArrayList<FluidLaneGroup>
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 AbstractOutputTimedCell(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 ArrayList<FluidLaneGroup>
get_ordered_lgs()
String
get_output_file()
List<org.jfree.data.xy.XYSeries>
get_series_for_lg(FluidLaneGroup lg)
Profile2D
get_values_for_lg(FluidLaneGroup 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
-
ordered_lgs
public ArrayList<FluidLaneGroup> ordered_lgs
-
lgprofiles
public Map<Long,List<AbstractOutputTimedCell.CellProfile>> lgprofiles
-
-
Constructor Detail
-
AbstractOutputTimedCell
public AbstractOutputTimedCell(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
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
- Overrides:
validate_post_init
in classAbstractOutputTimed
-
initialize
public void initialize(Scenario scenario) throws OTMException
- Overrides:
initialize
in classAbstractOutput
- Throws:
OTMException
-
get_values_for_lg
public Profile2D get_values_for_lg(FluidLaneGroup lg)
-
get_series_for_lg
public List<org.jfree.data.xy.XYSeries> get_series_for_lg(FluidLaneGroup lg)
-
get_ordered_lgs
public final ArrayList<FluidLaneGroup> get_ordered_lgs()
-
plot_for_links
public final void plot_for_links(Set<Long> link_ids, String filename) throws OTMException
- Throws:
OTMException
-
-