public class N201ODfactory extends Object
Copyright (c) 2013-2018 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 ODMatrix |
get(Network network)
Creates origin-destination matrix
|
static Query |
getQuery(OTSNetwork network,
Sampler sampler) |
static void |
makeGeneratorsFromOD(OTSNetwork network,
ODMatrix matrix,
DEVSSimulatorInterface.TimeDoubleUnit simulator)
Makes generators at origin nodes of the OD.
|
public static ODMatrix get(Network network)
network - networkpublic static void makeGeneratorsFromOD(OTSNetwork network, ODMatrix matrix, DEVSSimulatorInterface.TimeDoubleUnit simulator)
network - networkmatrix - origin-destination matrixsimulator - simulatorpublic static Query getQuery(OTSNetwork network, Sampler sampler)
network - networksampler - samplingCopyright © 2014–2018 Delft University of Technology. All rights reserved.