public static class GridMapUtil.UniformSpawnSpecGenerator extends Object implements SpawnPoint.SpawnSpecGenerator
Constructor and Description |
---|
GridMapUtil.UniformSpawnSpecGenerator(double trafficLevel,
DestinationSelector destinationSelector)
Create an uniform spawn specification generator.
|
public GridMapUtil.UniformSpawnSpecGenerator(double trafficLevel, DestinationSelector destinationSelector)
trafficLevel
- the traffic leveldestinationSelector
- the destination selectorpublic List<SpawnPoint.SpawnSpec> act(SpawnPoint spawnPoint, double timeStep)
act
in interface SpawnPoint.SpawnSpecGenerator
spawnPoint
- the spawn pointtimeStep
- the time stepCopyright © 2013. All rights reserved.