public class ODOptions 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 |
---|
ODOptions() |
Modifier and Type | Method and Description |
---|---|
<K> K |
get(org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option,
Lane lane,
Node node,
LinkType linkType)
Get option value.
|
<K> ODOptions |
set(Lane lane,
org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option,
K value)
Set option value for lane.
|
<K> ODOptions |
set(LinkType linkType,
org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option,
K value)
Set option value for link type.
|
<K> ODOptions |
set(Node node,
org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option,
K value)
Set option value for node.
|
<K> ODOptions |
set(org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option,
K value)
Set option value.
|
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<ArrivalsHeadwayGenerator.HeadwayDistribution> HEADWAY_DIST
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<IdGenerator> GTU_ID
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<GTUColorer> GTU_COLORER
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<GTUCharacteristicsGeneratorOD> GTU_TYPE
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<LaneBasedGTUGenerator.RoomChecker> ROOM_CHECKER
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<MarkovCorrelation<GTUType,Frequency>> MARKOV
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<GeneratorPositions.LaneBiases> LANE_BIAS
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<Length> NO_LC_DIST
public static final org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<Boolean> ANIMATION
public final <K> ODOptions set(org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option, K value)
K
- value typeoption
- Option<K>; optionvalue
- K; option valuepublic final <K> ODOptions set(Lane lane, org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option, K value)
K
- value typelane
- Lane; laneoption
- Option<K>; optionvalue
- K; option valuepublic final <K> ODOptions set(Node node, org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option, K value)
K
- value typenode
- Node; nodeoption
- Option<K>; optionvalue
- K; option valuepublic final <K> ODOptions set(LinkType linkType, org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option, K value)
K
- value typelinkType
- LinkType; link typeoption
- Option<K>; optionvalue
- K; option valuepublic final <K> K get(org.opentrafficsim.road.gtu.generator.od.ODOptions.Option<K> option, Lane lane, Node node, LinkType linkType)
Lane
Node
(origin)LinkType
K
- value typeoption
- Option<K>; optionlane
- Lane; lane to obtain specific option value, may be nullnode
- Node; node to obtain specific option value, may be nulllinkType
- LinkType; link type to obtain specific option value, may be nullCopyright © 2014–2018 Delft University of Technology. All rights reserved.