Class UnrestrictedVehicleRessources
- java.lang.Object
-
- org.matsim.contrib.socnetsim.sharedvehicles.UnrestrictedVehicleRessources
-
- All Implemented Interfaces:
VehicleRessources
public class UnrestrictedVehicleRessources extends Object implements VehicleRessources
One vehicle per agent- Author:
- thibautd
-
-
Field Summary
-
Fields inherited from interface org.matsim.contrib.socnetsim.sharedvehicles.VehicleRessources
ELEMENT_NAME
-
-
Constructor Summary
Constructors Constructor Description UnrestrictedVehicleRessources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.matsim.api.core.v01.Id<org.matsim.vehicles.Vehicle>>
identifyVehiclesUsableForAgent(org.matsim.api.core.v01.Id<org.matsim.api.core.v01.population.Person> person)
gives access to the ids of the vehicles the Person can use
-
-
-
Constructor Detail
-
UnrestrictedVehicleRessources
public UnrestrictedVehicleRessources()
-
-
Method Detail
-
identifyVehiclesUsableForAgent
public Set<org.matsim.api.core.v01.Id<org.matsim.vehicles.Vehicle>> identifyVehiclesUsableForAgent(org.matsim.api.core.v01.Id<org.matsim.api.core.v01.population.Person> person)
Description copied from interface:VehicleRessources
gives access to the ids of the vehicles the Person can use- Specified by:
identifyVehiclesUsableForAgent
in interfaceVehicleRessources
-
-