Package models.fluid
Class AbstractCell
- java.lang.Object
-
- models.fluid.AbstractCell
-
-
Field Summary
Fields Modifier and Type Field Description boolean
am_dnstrm
boolean
am_upstrm
FlowAccumulatorState
flw_acc
FlowAccumulatorState
flw_lcin_acc
FlowAccumulatorState
flw_lcout_acc
boolean
in_barrier
FluidLaneGroup
laneGroup
boolean
out_barrier
double
supply
-
Constructor Summary
Constructors Constructor Description AbstractCell(FluidLaneGroup laneGroup)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
add_vehicles(State state, Double value, Map<Maneuver,Double> maneuver2prob)
abstract void
add_vehicles(Map<State,Double> dwn, Map<State,Double> in, Map<State,Double> out)
abstract void
allocate_state()
abstract Map<State,Double>
get_demand()
abstract double
get_veh_dwn_for_commodity(Long comm_id)
abstract double
get_veh_for_commodity(Long comm_id)
abstract double
get_veh_in_for_commodity(Long comm_id)
abstract double
get_veh_out_for_commodity(Long comm_id)
abstract double
get_vehicles()
abstract void
set_state()
abstract void
subtract_vehicles(Map<State,Double> dwn, Map<State,Double> in, Map<State,Double> out)
abstract void
update_demand()
abstract void
update_supply()
-
-
-
Field Detail
-
laneGroup
public FluidLaneGroup laneGroup
-
am_upstrm
public boolean am_upstrm
-
am_dnstrm
public boolean am_dnstrm
-
supply
public double supply
-
in_barrier
public boolean in_barrier
-
out_barrier
public boolean out_barrier
-
flw_acc
public FlowAccumulatorState flw_acc
-
flw_lcout_acc
public FlowAccumulatorState flw_lcout_acc
-
flw_lcin_acc
public FlowAccumulatorState flw_lcin_acc
-
-
Constructor Detail
-
AbstractCell
public AbstractCell(FluidLaneGroup laneGroup)
-
-
Method Detail
-
set_state
public abstract void set_state()
-
allocate_state
public abstract void allocate_state()
-
update_supply
public abstract void update_supply()
-
update_demand
public abstract void update_demand()
-
add_vehicles
public abstract void add_vehicles(Map<State,Double> dwn, Map<State,Double> in, Map<State,Double> out)
-
add_vehicles
public abstract void add_vehicles(State state, Double value, Map<Maneuver,Double> maneuver2prob)
-
subtract_vehicles
public abstract void subtract_vehicles(Map<State,Double> dwn, Map<State,Double> in, Map<State,Double> out)
-
get_vehicles
public abstract double get_vehicles()
-
get_veh_dwn_for_commodity
public abstract double get_veh_dwn_for_commodity(Long comm_id)
-
get_veh_in_for_commodity
public abstract double get_veh_in_for_commodity(Long comm_id)
-
get_veh_out_for_commodity
public abstract double get_veh_out_for_commodity(Long comm_id)
-
get_veh_for_commodity
public abstract double get_veh_for_commodity(Long comm_id)
-
-