• Documentation
  • 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 RoadUser

    The RoadUser is the the most abstract implementation of the within the SmartOpenHamburg model. It can be anything from a person to a vehicle that moves on a graph managed by the .
    Inheritance
    ISpatialGraphEntity
    RoadUser
    Vehicle<TSteeringCapable, TPassengerCapable, TSteeringHandle, TPassengerHandle>
    Namespace: SOHDomain.Model
    Assembly: SOHDomain.dll
    Syntax
    public abstract class RoadUser : ISpatialGraphEntity

    Constructors

    RoadUser()

    Standard constructor for type-initializing.
    Declaration
    protected RoadUser()

    Properties

    Acceleration

    Gets or sets the acceleration of this entity in meter per second square (m/s²)
    Declaration
    public virtual double Acceleration { get; set; }
    Property Value
    Type Description
    System.Double

    Bearing

    Gets or sets the bearing of this entity in degree 0-360.
    Declaration
    public double Bearing { get; set; }
    Property Value
    Type Description
    System.Double

    CurrentEdge

    Gets or sets the current edge where the entity is currently standing on.
    Declaration
    public ISpatialEdge CurrentEdge { get; set; }
    Property Value
    Type Description
    ISpatialEdge
    Remarks
    When this property is null the entity needs first to be inserted on an .

    Height

    Gets or sets the height of this entity in meter (m).
    Declaration
    public virtual double Height { get; set; }
    Property Value
    Type Description
    System.Double

    ID

    Gets or set a unique identifier of this entity used within the runtime- and agent-environment as well as for differentiation within the output.
    Declaration
    public Guid ID { get; set; }
    Property Value
    Type Description
    Guid

    IsCollidingEntity

    Gets the flag, indicating that moving operations of this entity are checked for collision with other ones.
    Declaration
    public bool IsCollidingEntity { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsWrongWayDriving

    Gets or sets the flag indicating that the entity is moving on an opposite edge.
    Declaration
    public bool IsWrongWayDriving { get; set; }
    Property Value
    Type Description
    System.Boolean

    LaneOnCurrentEdge

    Gets or sets the lane where this entity is standing on the CurrentEdge.
    Declaration
    public int LaneOnCurrentEdge { get; set; }
    Property Value
    Type Description
    System.Int32
    Remarks
    The lane is an index between [0,CurrentEdge.LaneCount).

    Length

    Gets or sets the length of this entity in meter (m).
    Declaration
    public double Length { get; set; }
    Property Value
    Type Description
    System.Double

    Mass

    Gets or set the mass of this entity in kilogram (kg).
    Declaration
    public virtual double Mass { get; set; }
    Property Value
    Type Description
    System.Double

    ModalityType

    Gets the modal type restricting the entity how and where it can move on.
    Declaration
    public SpatialModalityType ModalityType { get; protected set; }
    Property Value
    Type Description
    SpatialModalityType

    Position

    Gets or sets the position of this entity with (lon/x, lat/y) coordinate.
    Declaration
    public virtual Position Position { get; set; }
    Property Value
    Type Description
    Position

    PositionOnCurrentEdge

    Gets or sets the current position in meter (m) on the CurrentEdge
    Declaration
    public double PositionOnCurrentEdge { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks
    When CurrentEdge is null this property is not relevant.

    RemainingDistanceOnEdge

    Gets the remaining distance in meter (m) until the CurrentEdge is passed.
    Declaration
    public double RemainingDistanceOnEdge { get; }
    Property Value
    Type Description
    System.Double

    Velocity

    Gets or sets the current velocity of this entity in meter per seconds (m/s).
    Declaration
    public double Velocity { get; set; }
    Property Value
    Type Description
    System.Double

    Width

    Gets or sets the width of this entity in meter (m).
    Declaration
    public virtual double Width { get; set; }
    Property Value
    Type Description
    System.Double

    Extension Methods

    VehicleConstants.TurningSpeedFor(RoadUser, DirectionType)
    Back to top Copyright © MARS GROUP.
    HAW Hamburg