Package models.fluid.ctm
Class ModelCTM
- java.lang.Object
-
- core.AbstractModel
-
- core.AbstractFluidModel
-
- models.fluid.ctm.ModelCTM
-
- All Implemented Interfaces:
InterfaceFluidModel,InterfaceModel
public class ModelCTM extends core.AbstractFluidModel
-
-
Field Summary
Fields Modifier and Type Field Description booleanblock
-
Constructor Summary
Constructors Constructor Description ModelCTM(String name, Set<Link> links, StochasticProcess process, ModelParams param)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute_lanechange_demand_supply(Link link, float timestamp)AbstractCellcreate_cell(FluidLaneGroup lg)AbstractOutputcreate_output(Scenario scenario, String prefix, String output_folder, OutputRequest jaxb_or)Map<core.AbstractLaneGroup,Double>lanegroup_proportions(Collection<? extends core.AbstractLaneGroup> candidate_lanegroups)voidupdate_link_state(Link link, float timestamp)voidvalidate_post_init(OTMErrorLog errorLog)voidvalidate_pre_init(OTMErrorLog errorLog)
-
-
-
Constructor Detail
-
ModelCTM
public ModelCTM(String name, Set<Link> links, StochasticProcess process, ModelParams param) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
validate_pre_init
public void validate_pre_init(OTMErrorLog errorLog)
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
-
create_output
public AbstractOutput create_output(Scenario scenario, String prefix, String output_folder, OutputRequest jaxb_or) throws OTMException
- Throws:
OTMException
-
lanegroup_proportions
public Map<core.AbstractLaneGroup,Double> lanegroup_proportions(Collection<? extends core.AbstractLaneGroup> candidate_lanegroups)
-
compute_lanechange_demand_supply
public void compute_lanechange_demand_supply(Link link, float timestamp) throws OTMException
- Throws:
OTMException
-
update_link_state
public void update_link_state(Link link, float timestamp) throws OTMException
- Throws:
OTMException
-
create_cell
public AbstractCell create_cell(FluidLaneGroup lg) throws OTMException
- Throws:
OTMException
-
-