MATSIM
Public Member Functions | List of all members
org.matsim.lanes.Lane Interface Reference
Inheritance diagram for org.matsim.lanes.Lane:
Inheritance graph
[legend]

Public Member Functions

Id< LanegetId ()
 
double getNumberOfRepresentedLanes ()
 
void setNumberOfRepresentedLanes (double number)
 
void setStartsAtMeterFromLinkEnd (double meter)
 
double getStartsAtMeterFromLinkEnd ()
 
double getCapacityVehiclesPerHour ()
 
void setCapacityVehiclesPerHour (double capacity)
 
void addToLinkId (Id< Link > id)
 
void addToLaneId (Id< Lane > id)
 
List< Id< Link > > getToLinkIds ()
 
List< Id< Lane > > getToLaneIds ()
 
void setAlignment (int alignment)
 
int getAlignment ()
 
Attributes getAttributes ()
 

Detailed Description

Models a lane on a link.

The position is specified via the distance the lane starts measured from the downstream node of the link and the ids of the downstream lanes. If the distance to the downstream node equals the link length, this implies that this is the most upstream (first) lane on a link. More than one first lane is permitted. If the first or any other lane shall model more than one lane that exists in the reality to be modeled, increase the number of represented lanes attribute.

The alignment is used to visualize parallel lanes in the correct order. The higher the alignment the more right the lane is visualized on a link. Lanes leading straight on are assigned with an alignment of zero, lanes leading left with an negative and lanes leading right with an positive alignment.

For an easy modeling use the v11 lane model and the conversion class in the package.

Author
dgrether

Definition at line 52 of file Lane.java.

Member Function Documentation

◆ getId()

Id<Lane> org.matsim.lanes.Lane.getId ( )

◆ getNumberOfRepresentedLanes()

double org.matsim.lanes.Lane.getNumberOfRepresentedLanes ( )

◆ setNumberOfRepresentedLanes()

void org.matsim.lanes.Lane.setNumberOfRepresentedLanes ( double  number)

◆ setStartsAtMeterFromLinkEnd()

void org.matsim.lanes.Lane.setStartsAtMeterFromLinkEnd ( double  meter)

◆ getStartsAtMeterFromLinkEnd()

double org.matsim.lanes.Lane.getStartsAtMeterFromLinkEnd ( )

◆ getCapacityVehiclesPerHour()

double org.matsim.lanes.Lane.getCapacityVehiclesPerHour ( )

◆ setCapacityVehiclesPerHour()

void org.matsim.lanes.Lane.setCapacityVehiclesPerHour ( double  capacity)

◆ addToLinkId()

void org.matsim.lanes.Lane.addToLinkId ( Id< Link id)

◆ addToLaneId()

void org.matsim.lanes.Lane.addToLaneId ( Id< Lane id)

◆ getToLinkIds()

List<Id<Link> > org.matsim.lanes.Lane.getToLinkIds ( )
Returns
List may be null if nothing is set

Referenced by org.matsim.lanes.LanesUtils.createLanes().

◆ getToLaneIds()

List<Id<Lane> > org.matsim.lanes.Lane.getToLaneIds ( )
Returns
List may be null if nothing is set

Referenced by org.matsim.lanes.LanesUtils.createLanes().

◆ setAlignment()

void org.matsim.lanes.Lane.setAlignment ( int  alignment)

◆ getAlignment()

int org.matsim.lanes.Lane.getAlignment ( )

◆ getAttributes()

Attributes org.matsim.utils.objectattributes.attributable.Attributable.getAttributes ( )
inherited

Implemented in org.matsim.core.population.io.ParallelPopulationReaderMatsimV4.CollectorPopulation, org.matsim.facilities.ActivityFacilitiesImpl, org.matsim.facilities.ActivityFacilityImpl, org.matsim.counts.Counts< T extends Identifiable< T >, org.matsim.pt.transitSchedule.TransitRouteImpl, org.matsim.core.router.FacilityWrapperActivity, org.matsim.pt.transitSchedule.TransitScheduleImpl, org.matsim.pt.transitSchedule.TransitStopFacilityImpl, org.matsim.vehicles.VehicleType, org.matsim.pt.transitSchedule.TransitLineImpl, org.matsim.households.HouseholdImpl, org.matsim.vehicles.VehicleCapacity, org.matsim.pt.transitSchedule.DepartureImpl, org.matsim.facilities.StreamingActivityFacilities, org.matsim.counts.MeasurementLocation< T >, org.matsim.vehicles.EngineInformation, org.matsim.vehicles.CostInformation, and org.matsim.core.router.DefaultRoutingRequest.

Referenced by ch.sbb.matsim.routing.pt.raptor.DefaultRaptorStopFinder.addInitialStopsForParamSet(), org.matsim.core.network.filter.NetworkFilterManager.addLink(), org.matsim.core.network.NetworkCollector.addNodeIfNecessary(), ch.sbb.matsim.routing.pt.raptor.SwissRailRaptor.calcRoute(), org.matsim.core.router.NetworkRoutingInclAccessEgressModule.calcRoute(), org.matsim.core.network.turnRestrictions.TurnRestrictionsNetworkCleaner.colorNetwork(), org.matsim.core.population.routes.PopulationComparison.compare(), org.matsim.pt.transitSchedule.TransitScheduleReaderV2.endTag(), org.matsim.core.population.routes.PopulationComparison.equals(), org.matsim.core.router.TransitRouterWrapper.fillWithActivities(), org.matsim.core.population.PersonUtils.getAge(), org.matsim.core.network.NetworkUtils.getAllowedSpeed(), org.matsim.core.population.PersonUtils.getCarAvail(), org.matsim.core.network.NetworkUtils.getDisallowedNextLinks(), org.matsim.core.network.NetworkUtils.getHighwayType(), org.matsim.core.population.PersonUtils.getIncome(), org.matsim.vehicles.VehicleUtils.getInitialLinkId(), org.matsim.analysis.TripsAndLegsWriter.getLegRecord(), org.matsim.core.population.PersonUtils.getLicense(), org.matsim.core.network.NetworkUtils.getLinkAccessTime(), org.matsim.core.network.NetworkUtils.getLinkEgressTime(), org.matsim.core.population.PersonUtils.getModeConstants(), org.matsim.core.network.NetworkUtils.getOrigId(), org.matsim.core.network.NetworkUtils.getOriginalGeometry(), org.matsim.core.population.PopulationUtils.getPersonAttribute(), org.matsim.core.mobsim.qsim.PreplanningUtils.getPrebookingOffset_s(), org.matsim.core.population.PersonUtils.getSex(), org.matsim.pt.transitSchedule.TransitScheduleUtils.getStopAccessTime(), org.matsim.pt.transitSchedule.TransitScheduleUtils.getStopEgressTime(), org.matsim.core.population.PopulationUtils.getSubpopulation(), org.matsim.core.router.TripStructureUtils.Trip.getTripAttributes(), org.matsim.core.network.NetworkUtils.getType(), org.matsim.vehicles.VehicleUtils.getVehicleIds(), org.matsim.vehicles.VehicleUtils.getVehicleTypes(), org.matsim.core.scoring.EventsToLegs.handleEvent(), org.matsim.vehicles.VehicleUtils.hasVehicleId(), org.matsim.vehicles.VehicleUtils.insertVehicleIdsIntoPersonAttributes(), org.matsim.vehicles.VehicleUtils.insertVehicleTypesIntoPersonAttributes(), org.matsim.core.population.PersonUtils.isEmployed(), org.matsim.vis.snapshotwriters.SnapshotWriterManager.isGenerateSnapshot(), org.matsim.core.replanning.ReplanningUtils.isInitialPlan(), org.matsim.lanes.LanesReader.parse(), org.matsim.core.population.PopulationUtils.putPersonAttribute(), org.matsim.withinday.utils.EditRoutes.relocateFutureLegRoute(), org.matsim.core.network.NetworkUtils.removeDisallowedNextLinks(), org.matsim.core.population.PopulationUtils.removePersonAttribute(), org.matsim.core.population.PopulationUtils.removePersonAttributes(), org.matsim.core.population.PopulationUtils.removeSubpopulation(), org.matsim.core.population.PopulationUtils.resetRoutes(), org.matsim.core.population.PersonUtils.setAge(), org.matsim.core.population.PersonUtils.setCarAvail(), org.matsim.core.network.NetworkUtils.setDisallowedNextLinks(), org.matsim.core.population.PersonUtils.setEmployed(), org.matsim.core.population.PersonUtils.setIncome(), org.matsim.vehicles.VehicleUtils.setInitialLinkId(), org.matsim.core.population.PersonUtils.setLicence(), org.matsim.core.network.NetworkUtils.setLinkAccessTime(), org.matsim.core.network.NetworkUtils.setLinkEgressTime(), org.matsim.core.population.PersonUtils.setModeConstants(), org.matsim.core.network.NetworkUtils.setOrigId(), org.matsim.core.mobsim.qsim.PreplanningUtils.setPrebookingOffset_s(), org.matsim.core.population.PersonUtils.setSex(), org.matsim.pt.transitSchedule.TransitScheduleUtils.setStopAccessTime(), org.matsim.pt.transitSchedule.TransitScheduleUtils.setStopEgressTime(), org.matsim.core.network.NetworkUtils.setType(), org.matsim.pt.transitSchedule.TransitScheduleReaderV2.startTag(), org.matsim.core.population.io.StreamingPopulationReader.toString(), org.matsim.core.population.PopulationUtils.unmodifiablePlan(), org.matsim.pt.transitSchedule.TransitScheduleWriterV2.writeData(), and org.matsim.households.HouseholdsWriterV10.writeHouseholds().


The documentation for this interface was generated from the following file: