public class N201ODfactory extends Object
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
N201ODfactory() |
Modifier and Type | Method and Description |
---|---|
static org.opentrafficsim.road.gtu.strategical.od.ODMatrixTrips |
get(org.opentrafficsim.core.network.Network network)
Creates origin-destination matrix
|
static org.opentrafficsim.kpi.sampling.Query |
getQuery(org.opentrafficsim.core.network.OTSNetwork network,
org.opentrafficsim.kpi.sampling.Sampler sampling) |
static void |
makeGeneratorsFromOD(org.opentrafficsim.core.network.OTSNetwork network,
org.opentrafficsim.road.gtu.strategical.od.ODMatrixTrips matrix,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Makes generators at origin nodes of the OD.
|
public static org.opentrafficsim.road.gtu.strategical.od.ODMatrixTrips get(org.opentrafficsim.core.network.Network network)
network
- networkpublic static void makeGeneratorsFromOD(org.opentrafficsim.core.network.OTSNetwork network, org.opentrafficsim.road.gtu.strategical.od.ODMatrixTrips matrix, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
network
- networkmatrix
- origin-destination matrixsimulator
- simulatorpublic static org.opentrafficsim.kpi.sampling.Query getQuery(org.opentrafficsim.core.network.OTSNetwork network, org.opentrafficsim.kpi.sampling.Sampler sampling)
network
- networksampling
- samplingCopyright © 2014–2016 Delft University of Technology. All rights reserved.