Class JunctionManager
java.lang.Object
real_time_traffic_simulation_with_java.wrapper.JunctionManager
Wrapper class for TraaS to manage junctions in the simulation
-
Constructor Summary
ConstructorsConstructorDescriptionJunctionManager(it.polito.appeal.traci.SumoTraciConnection connection) Wrapper class for TraaS to manage junctions in the simulation -
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Get number of junctionsGet list of junctions IDsCreate and get a List of JunctionData for all junctionsde.tudresden.sumo.objects.SumoGeometryGet shape of the junction
-
Constructor Details
-
JunctionManager
public JunctionManager(it.polito.appeal.traci.SumoTraciConnection connection) Wrapper class for TraaS to manage junctions in the simulation- Parameters:
connection- connection to Sumo
-
-
Method Details
-
getIDList
-
getCount
-
getShape
-
getJunctionDataList
Create and get a List of JunctionData for all junctions- Returns:
- a List of JunctionData for all junctions
- Throws:
Exception
-