• MARS Website
  • Core API
  • SmartOpenHamburg API
  • Model Components API
  • Common API
Show / Hide Table of Contents
  • SOHBicycleModel.Common
    • BicycleConstants
    • BicycleType
    • DriverType
    • HandleBicycleType
    • HandleDriverType
  • SOHBicycleModel.Model
    • Bicycle
  • SOHBicycleModel.Parking
    • BicycleParkingLayer
    • BicycleParkingLot
    • IBicycleParkingLayer
  • SOHBicycleModel.Rental
    • BicycleRentalLayer
    • BicycleRentalStation
    • IBicycleRentalLayer
    • IBicycleSteeringAndRentalCapable
    • IRentalBicycle
    • RentalBicycle
  • SOHBicycleModel.Steering
    • BicyclePassengerHandle
    • BicycleSteeringHandle
    • IBicycleSteeringCapable
    • WiedemannAccelerator
    • WiedemannAccelerator.WiedemannAcceleratorParameters
  • SOHCarModel.Common
    • CarRouteFinder
  • SOHCarModel.Model
    • Car
    • CarDriver
    • CarLayer
    • Golf
    • ICarLayer
    • RentalCar
  • SOHCarModel.Parking
    • CarParkingLayer
    • CarParkingSpace
    • ICarParkingLayer
    • IParkingCar
  • SOHCarModel.Rental
    • CarRentalLayer
    • ICarRentalCapable
    • ICarRentalLayer
  • SOHCarModel.Steering
    • CarPassengerHandle
    • CarSteeringHandle
    • ICarSteeringCapable
  • SOHDomain.Common
    • HumanVelocityConstants
    • NormalDist
    • OsmFeatureCodes
    • OsmGroups
    • VehicleConstants
  • SOHDomain.Graph
    • ISpatialGraphLayer
    • SidewalkLayer
    • SpatialGraphMediatorLayer
    • StreetLayer
  • SOHDomain.Model
    • IModalLayer
    • IVehicleEntrance<TDriver, TPassenger, TSteeringHandle, TPassengerHandle>
    • RoadUser
    • Vehicle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
    • WalkingShoes
  • SOHDomain.Steering.Acceleration
    • IntelligentDriverAccelerator
    • IVehicleAccelerator
    • WalkingAccelerator
  • SOHDomain.Steering.Capables
    • IPassengerCapable
    • ISteeringCapable
    • IWalkingCapable
  • SOHDomain.Steering.Common
    • PassengerMessage
  • SOHDomain.Steering.Handles
    • IdlePassengerSteeringHandle
    • IPassengerHandle
    • ISteeringHandle
    • VehiclePassengerHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
    • VehicleSteeringHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
    • WalkingSteeringHandle
  • SOHDomain.Steering.Handles.Intersection
    • AbstractIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
    • FifoIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
    • IIntersectionTrafficCode
    • RightBeforeLeftIntersectionHandle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
  • SOHFerryModel.Model
    • Ferry
    • FerryDriver
    • FerryLayer
    • FerrySchedulerLayer
  • SOHFerryModel.Route
    • FerryRoute
    • FerryRoute.FerryRouteEnumerator
    • FerryRouteEntry
    • FerryRouteLayer
    • FerryRouteReader
  • SOHFerryModel.Station
    • FerryStation
    • FerryStationLayer
    • IFerryStationLayer
  • SOHFerryModel.Steering
    • FerryPassengerHandle
    • FerrySteeringHandle
    • IFerryPassenger
    • IFerrySteeringCapable
  • SOHMultimodalModel.Commons
    • PedestrianAverageSpeedGenerator
    • PointOfInterest
  • SOHMultimodalModel.Layers
    • MediatorLayer
    • VectorBuildingsLayer
    • VectorLanduseLayer
    • VectorPoiLayer
    • VectorServiceLayer
  • SOHMultimodalModel.Layers.TrafficLight
    • TrafficLight
    • TrafficLightController
    • TrafficLightLayer
  • SOHMultimodalModel.Model
    • Citizen
    • CitizenLayer
    • CitizenSchedulerLayer
    • CycleTraveler
    • CycleTravelerLayer
    • CycleTravelerSchedulerLayer
    • DockWorker
    • DockWorkerLayer
    • DockWorkerSchedulerLayer
    • GenderType
    • HumanTraveler
    • HumanTravelerLayer
    • ModalityChooser
    • MultiCapableAgent<TLayer>
    • PassengerTraveler
    • PassengerTravelerLayer
    • Traveler<TLayer>
    • TravelerConstants
    • WorkingType
  • SOHMultimodalModel.Multimodal
    • AbstractMultimodalLayer
    • IMultimodalLayer
    • IMultimodalRouteFinder
    • MultimodalAgent<TLayer>
    • Whereabouts
  • SOHMultimodalModel.Output.Route
    • MultimodalRouteOutputAdapter
  • SOHMultimodalModel.Output.Ticks
    • ITickOutputAgent
    • TickOutputAdapter
  • SOHMultimodalModel.Output.Trips
    • ITripSavingAgent
    • TripPositionCoordinateConverter
    • TripsLine
    • TripsLineConverter
    • TripsOutputAdapter
  • SOHMultimodalModel.Planning
    • DayPlanGenerator
    • Tour
    • Trip
    • TripReason
  • SOHMultimodalModel.Routing
    • GatewayLayer
    • GatewayPoint
    • MultimodalRouteCommons
    • MultimodalRouteFinder
    • WalkingCarDrivingRentalMultimodalRoute
    • WalkingDrivingMultimodalRoute
    • WalkingFerryDrivingMultimodalRoute
    • WalkingMultimodalRoute
    • WalkingTrainDrivingMultimodalRoute
  • SOHMultimodalModel.Steering
    • IWalkingRoadUser

Class CarDriver

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Inheritance
System.Object
AbstractEntity
AbstractAgent
CarDriver
Implements
IAgent
ITickClient
IEntity
IModelObject
ICarSteeringCapable
ISteeringCapable
IPassengerCapable
IPositionable
Inherited Members
AbstractEntity.ID
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SOHCarModel.Model
Assembly: SOHCarModel.dll
Syntax
public sealed class CarDriver : AbstractAgent, IAgent, ITickClient, IEntity, IModelObject, ICarSteeringCapable, ISteeringCapable, IPassengerCapable, IPositionable

Constructors

| Improve this Doc View Source

CarDriver(CarLayer, RegisterAgent, UnregisterAgent, Int32, Double, Double, Double, Double, ISpatialEdge, String, String)

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public CarDriver(CarLayer layer, RegisterAgent register, UnregisterAgent unregister, int driveMode, double startLat = 0, double startLon = 0, double destLat = 0, double destLon = 0, ISpatialEdge startingEdge = null, string osmRoute = "", string trafficCode = "german")
Parameters
Type Name Description
CarLayer layer
RegisterAgent register
UnregisterAgent unregister
System.Int32 driveMode
System.Double startLat
System.Double startLon
System.Double destLat
System.Double destLon
ISpatialEdge startingEdge
System.String osmRoute
System.String trafficCode

Properties

| Improve this Doc View Source

BrakingActivated

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public bool BrakingActivated { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Car

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public Car Car { get; set; }
Property Value
Type Description
Car
| Improve this Doc View Source

CurrentEdgeId

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public string CurrentEdgeId { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CurrentlyCarDriving

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public bool CurrentlyCarDriving { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

GoalReached

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public bool GoalReached { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Latitude

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double Latitude { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Longitude

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double Longitude { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

MaxSpeed

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double MaxSpeed { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

NextTrafficLightPhase

Indicates the current light phase (red,green,yellow) of the next traffic light if available.
Declaration
public string NextTrafficLightPhase { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OvertakingActivated

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public bool OvertakingActivated { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Position

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public Position Position { get; set; }
Property Value
Type Description
Position
| Improve this Doc View Source

PositionOnEdge

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double PositionOnEdge { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

RemainingDistanceOnEdge

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double RemainingDistanceOnEdge { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

RemainingRouteDistanceToGoal

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double RemainingRouteDistanceToGoal { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Route

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public Route Route { get; }
Property Value
Type Description
Route
| Improve this Doc View Source

SpeedLimit

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double SpeedLimit { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

StableId

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public string StableId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TrafficCode

Get or sets the intersection behaviour model identified by code when no traffic signals are available "german" = right before left rule "southAfrica" = first in first out (FIFO) rule
Declaration
public string TrafficCode { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Velocity

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double Velocity { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

VelocityInKm

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public double VelocityInKm { get; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Notify(PassengerMessage)

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public void Notify(PassengerMessage passengerMessage)
Parameters
Type Name Description
PassengerMessage passengerMessage
| Improve this Doc View Source

Tick()

Standard implementation of a driver agent that is bound to a single car and drives around with it on the given osmRoute.
Declaration
public override void Tick()
Overrides
AbstractAgent.Tick()

Implements

IAgent
ITickClient
IEntity
IModelObject
ICarSteeringCapable
ISteeringCapable
IPassengerCapable
IPositionable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © MARS GROUP. HAW Hamburg