Package core
Class AbstractFluidModel
- java.lang.Object
-
- core.AbstractModel
-
- core.AbstractFluidModel
-
- All Implemented Interfaces:
core.InterfaceFluidModel
,core.InterfaceModel
public abstract class AbstractFluidModel extends AbstractModel implements core.InterfaceFluidModel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class core.AbstractModel
AbstractModel.Type
-
-
Field Summary
Fields Modifier and Type Field Description float
dt_sec
-
Fields inherited from class core.AbstractModel
links, name, stochastic_process, type
-
-
Constructor Summary
Constructors Constructor Description AbstractFluidModel(String name, Set<core.Link> links, float dt_sec, utils.StochasticProcess process, jaxb.ModelParams params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(core.Scenario scenario, jaxb.Lanechanges lcs)
AbstractLaneGroup
create_lane_group(core.Link link, core.geometry.Side side, Float length, int num_lanes, int start_lane, Set<core.RoadConnection> out_rcs, jaxb.Roadparam rp)
AbstractDemandGenerator
create_source(core.Link origin, profiles.Profile1D profile, commodity.Commodity commodity, commodity.Path path)
models.fluid.nodemodel.NodeModel
get_node_model_for_node(Long node_id)
void
initialize(core.Scenario scenario, float start_time)
void
register_with_dispatcher(core.Scenario scenario, dispatch.Dispatcher dispatcher, float start_time)
void
set_state_for_link(core.Link link)
void
update_flow(float timestamp)
void
update_flow_I(float timestamp)
void
update_flow_II(float timestamp)
-
Methods inherited from class core.AbstractModel
add_vehicle_packet, create_lanegroup_packet
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
configure
public void configure(core.Scenario scenario, jaxb.Lanechanges lcs) throws error.OTMException
- Overrides:
configure
in classAbstractModel
- Throws:
error.OTMException
-
set_state_for_link
public void set_state_for_link(core.Link link)
- Specified by:
set_state_for_link
in interfacecore.InterfaceModel
-
register_with_dispatcher
public void register_with_dispatcher(core.Scenario scenario, dispatch.Dispatcher dispatcher, float start_time)
- Specified by:
register_with_dispatcher
in interfacecore.InterfaceModel
-
create_lane_group
public AbstractLaneGroup create_lane_group(core.Link link, core.geometry.Side side, Float length, int num_lanes, int start_lane, Set<core.RoadConnection> out_rcs, jaxb.Roadparam rp)
- Specified by:
create_lane_group
in interfacecore.InterfaceModel
-
create_source
public final AbstractDemandGenerator create_source(core.Link origin, profiles.Profile1D profile, commodity.Commodity commodity, commodity.Path path)
- Specified by:
create_source
in interfacecore.InterfaceModel
-
initialize
public void initialize(core.Scenario scenario, float start_time) throws error.OTMException
- Overrides:
initialize
in classAbstractModel
- Throws:
error.OTMException
-
update_flow
public final void update_flow(float timestamp) throws error.OTMException
- Throws:
error.OTMException
-
update_flow_I
public final void update_flow_I(float timestamp) throws error.OTMException
- Throws:
error.OTMException
-
update_flow_II
public final void update_flow_II(float timestamp) throws error.OTMException
- Throws:
error.OTMException
-
get_node_model_for_node
public final models.fluid.nodemodel.NodeModel get_node_model_for_node(Long node_id)
-
-