AnyLogic
Expand
Font size

Interface RoadBasicDataSource

All Superinterfaces:
Serializable
All Known Subinterfaces:
ParkingLotDataSource

@AnyLogicInternalAPI
public interface RoadBasicDataSource
extends Serializable

Method Summary

Modifier and TypeMethodDescription
List<Agent>getCars()
Returns list of cars located on the road markup element
intnCars()
Returns number of cars located on the road markup element

Method Details

nCars

int nCars()
Returns number of cars located on the road markup element
Returns:
number of cars

getCars

List<Agent> getCars()
Returns list of cars located on the road markup element
Returns:
list of cars