Package org.planit.algorithms.nodemodel
Class TampereNodeModelInput
- java.lang.Object
- 
- org.planit.algorithms.nodemodel.TampereNodeModelInput
 
- 
 public class TampereNodeModelInput extends Object Inner class that allows the user to set all inputs for the TampereNodeModel, it takes fixed inputs and supplements it with the information of the variable inputs, meaning inputs that can vary during the simulation such as turn sending flows (t_ab), and potentially receiving flows (r_b)
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.ojalgo.array.Array1D<Double>capacityScalingFactorsthe scaling factor to scale sending flows up to capacity per in link segmentprotected TampereNodeModelFixedInputfixedInputfixed inputs to useprotected org.ojalgo.array.Array1D<Double>outgoingLinkSegmentReceivingFlowsstore the available receiving flows of each outgoing link segmentprotected org.ojalgo.array.Array2D<Double>turnSendingFlowsthe turn sending flows offered to the node model t_ab
 - 
Constructor SummaryConstructors Constructor Description TampereNodeModelInput(TampereNodeModelFixedInput fixedInput, org.ojalgo.array.Array2D<Double> turnSendingFlows)Constructor for a particular node model runTampereNodeModelInput(TampereNodeModelFixedInput fixedInput, org.ojalgo.array.Array2D<Double> turnSendingFlows, org.ojalgo.array.Array1D<Double> outgoingLinkSegmentReceivingFlows)Constructor for a particular node model run.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.ojalgo.array.Array1D<Double>getCapacityScalingFactors()Collect the computed capacity scaling factors per in-link segment a such that lambda_a = C_a/Sum_b(t_ab)
 
- 
- 
- 
Field Detail- 
fixedInputprotected final TampereNodeModelFixedInput fixedInput fixed inputs to use
 - 
turnSendingFlowsprotected org.ojalgo.array.Array2D<Double> turnSendingFlows the turn sending flows offered to the node model t_ab
 - 
outgoingLinkSegmentReceivingFlowsprotected org.ojalgo.array.Array1D<Double> outgoingLinkSegmentReceivingFlows store the available receiving flows of each outgoing link segment
 - 
capacityScalingFactorsprotected org.ojalgo.array.Array1D<Double> capacityScalingFactors the scaling factor to scale sending flows up to capacity per in link segment
 
- 
 - 
Constructor Detail- 
TampereNodeModelInputpublic TampereNodeModelInput(TampereNodeModelFixedInput fixedInput, org.ojalgo.array.Array2D<Double> turnSendingFlows) throws PlanItException Constructor for a particular node model run- Parameters:
- fixedInput- the fixed inputs to use
- turnSendingFlows- the turn sending flows
- Throws:
- PlanItException- thrown if error
 
 - 
TampereNodeModelInputpublic TampereNodeModelInput(TampereNodeModelFixedInput fixedInput, org.ojalgo.array.Array2D<Double> turnSendingFlows, org.ojalgo.array.Array1D<Double> outgoingLinkSegmentReceivingFlows) throws PlanItException Constructor for a particular node model run. Here the receiving flows are provided explicitly, overriding the fixed receiving flows (if any) from the networkMapping- Parameters:
- fixedInput- the fixed inputs to use
- turnSendingFlows- the turn sending flows
- outgoingLinkSegmentReceivingFlows- the receiving flows
- Throws:
- PlanItException- thrown if error
 
 
- 
 - 
Method Detail- 
getCapacityScalingFactorspublic org.ojalgo.array.Array1D<Double> getCapacityScalingFactors() Collect the computed capacity scaling factors per in-link segment a such that lambda_a = C_a/Sum_b(t_ab)- Returns:
- capacityScalingFactor
 
 
- 
 
-