Package | Description |
---|---|
aim4.config |
This package contains the configuration settings for the AIM4 simulator.
|
aim4.driver |
This packages contains the driver model.
|
aim4.driver.navigator |
This package contains the implementation of the navigator,
one of the three agents in the driver agent.
|
aim4.im |
This package contains the implementation of the intersection manager.
|
aim4.map |
This package contains the implementations of the map in the AIM4 simulator.
|
aim4.map.destination |
This package contains the implementations of the destination selectors.
|
aim4.vehicle |
This package contains the vehicle model in the simulator.
|
Modifier and Type | Method and Description |
---|---|
List<Road> |
TrafficSignalPhase.getActiveRoads(int phaseId)
Get the list of the names of the roads that are active in the phase.
|
Modifier and Type | Method and Description |
---|---|
ApproxNPhasesTrafficSignalRequestHandler.CyclicSignalController |
TrafficSignalPhase.calcCyclicSignalController(Road road)
Generate a signal controller for a road.
|
Modifier and Type | Method and Description |
---|---|
Road |
ProxyDriver.getDestination()
Get where this DriverAgent is going.
|
Road |
DriverSimView.getDestination()
Get where this driver is going.
|
Road |
Driver.getDestination()
Get where this driver is going.
|
Road |
AutoDriverCoordinatorView.getDestination()
Get where this DriverAgent is going.
|
Modifier and Type | Method and Description |
---|---|
void |
DriverSimView.setDestination(Road destination)
Set where this driver is going.
|
void |
Driver.setDestination(Road destination)
Set where this driver agent is going.
|
Modifier and Type | Method and Description |
---|---|
Road |
Navigator.navigate(Road current,
IntersectionManager im,
Road destination)
Given the current Road, the IntersectionManager being approached, and
a destination Road, find a road that leave the IntersectionManager that
will lead to the destination Road.
|
Road |
BasicNavigator.navigate(Road current,
IntersectionManager im,
Road destination)
Given the current Road, the IntersectionManager being approached, and
a destination Road, find a road that leave the IntersectionManager that
will lead to the destination Road.
|
Modifier and Type | Method and Description |
---|---|
Road |
Navigator.navigate(Road current,
IntersectionManager im,
Road destination)
Given the current Road, the IntersectionManager being approached, and
a destination Road, find a road that leave the IntersectionManager that
will lead to the destination Road.
|
Road |
BasicNavigator.navigate(Road current,
IntersectionManager im,
Road destination)
Given the current Road, the IntersectionManager being approached, and
a destination Road, find a road that leave the IntersectionManager that
will lead to the destination Road.
|
Modifier and Type | Method and Description |
---|---|
List<Road> |
RoadBasedIntersection.getEntryRoads()
Get the Roads that enter the space governed by this intersection manager.
|
List<Road> |
Intersection.getEntryRoads()
Get the Roads that enter the space governed by this IntersectionManager.
|
List<Road> |
RoadBasedIntersection.getExitRoads()
Get the Roads that exit the space governed by this intersection manager.
|
List<Road> |
Intersection.getExitRoads()
Get the Roads that exit the space governed by this IntersectionManager.
|
List<Road> |
RoadBasedIntersection.getRoads()
Get the Roads incident to the space governed by this intersection.
|
List<Road> |
Intersection.getRoads()
Get the Roads incident to the space governed by this intersection.
|
Modifier and Type | Method and Description |
---|---|
List<Lane> |
TrackModel.getSortedDepartureLanes(Lane arrivalLane,
Road departure)
Given an arrival Lane and a departure Road, get an ordered List of Lanes
that represents the Lanes from highest to lowest priority based on
distance from the arrival Lane.
|
List<Lane> |
RoadBasedTrackModel.getSortedDepartureLanes(Lane arrivalLane,
Road departure)
Given an arrival Lane and a departure Road, get an ordered List of Lanes
that represents the Lanes from highest to lowest priority based on
distance from the arrival Lane.
|
List<Lane> |
IntersectionManager.getSortedDepartureLanes(Lane arrivalLane,
Road departure)
Given an arrival Lane and a departure Road, get an ordered List of Lanes
that represents the Lanes from highest to lowest priority based on
distance from the arrival Lane.
|
boolean |
IntersectionManager.manages(Road r)
Whether or not this IntersectionManager manages the given Road.
|
double |
TrackModel.traversalDistance(Road arrival,
Road departure)
Get the distance from the entry of the given Road, to the departure of
the other given Road.
|
double |
RoadBasedTrackModel.traversalDistance(Road arrival,
Road departure)
Get the distance from the entry of the given Road, to the departure of
the other given Road.
|
double |
IntersectionManager.traversalDistance(Road arrival,
Road departure)
Get the distance from the entry of the given Road, to the departure of
the other given Road.
|
Constructor and Description |
---|
RoadBasedIntersection(List<Road> roads)
Basic class constructor.
|
Modifier and Type | Method and Description |
---|---|
Road |
SpawnPoint.SpawnSpec.getDestinationRoad()
Get the destination road.
|
Road |
Road.getDual()
Get the Road that follows this Road in the opposite direction.
|
Road |
TrafficVolume.getLeftTurnRoad(Road road)
Get the left turn volume of a road.
|
Road |
TrafficVolume.getRightTurnRoad(Road road)
Get the right turn volume of a road.
|
Road |
GridMap.getRoad(int laneID)
Given a Lane ID number, get the Road of which that Lane is a part.
|
Road |
BasicMap.getRoad(int laneID)
Given a Lane ID number, get the Road of which that Lane is a part.
|
Road |
GridMap.getRoad(Lane lane)
Given a Lane, get the Road of which that Lane is a part.
|
Road |
BasicMap.getRoad(Lane lane)
Given a Lane, get the Road of which that Lane is a part.
|
Modifier and Type | Method and Description |
---|---|
List<Road> |
GridMap.getDestinationRoads()
Get the Roads that exit this Layout.
|
List<Road> |
BasicMap.getDestinationRoads()
Get the Roads that exit this Layout.
|
List<Road> |
GridMap.getHorizontalRoads()
Get the set of horizontal roads.
|
List<Road> |
GridMap.getRoads()
Get the Roads that are part of this Layout.
|
List<Road> |
BasicMap.getRoads()
Get the Roads that are part of this Layout.
|
List<Road> |
GridMap.getRoads(int column,
int row)
Get the list of all roads that enter a particular intersection.
|
List<Road> |
GridMap.getVerticalRoads()
Get the set of vertical roads.
|
Modifier and Type | Method and Description |
---|---|
Road |
TrafficVolume.getLeftTurnRoad(Road road)
Get the left turn volume of a road.
|
Road |
TrafficVolume.getRightTurnRoad(Road road)
Get the right turn volume of a road.
|
void |
Road.setDual(Road dual)
Set the Road that follows this Road in the opposite direction.
|
Constructor and Description |
---|
GridMapUtil.OnlyOneSpawnSpecGenerator(int vehicleSpecId,
Road destinationRoad)
Create a spec generator that generates just one vehicle in the entire
simulation.
|
SpawnPoint.SpawnSpec(double spawnTime,
VehicleSpec vehicleSpec,
Road destinationRoad)
Create a spawn specification.
|
Constructor and Description |
---|
GridMapUtil.EnumerateSpawnSpecGenerator(SpawnPoint spawnPoint,
List<Road> destinationRoads,
double initSpawnTime,
double spawnPeriod)
Create a spawn spec generator that enumerates spawn spec.
|
Modifier and Type | Method and Description |
---|---|
Road |
UniqueDestinationSelector.selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.
|
Road |
TurnBasedDestinationSelector.selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.
|
Road |
RatioDestinationSelector.selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.
|
Road |
RandomDestinationSelector.selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.
|
Road |
IdentityDestinationSelector.selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.
|
Road |
DestinationSelector.selectDestination(Lane currentLane)
Select the Road which the given Vehicle should use as its destination.
|
Constructor and Description |
---|
UniqueDestinationSelector(Road endRoad)
Create a unique destination selector.
|
Modifier and Type | Method and Description |
---|---|
static Road |
VinRegistry.getDestRoadFromVIN(int vin)
Get the destination road from the VIN of a vehicle
|
Copyright © 2013. All rights reserved.