• 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 Citizen

    The
    Citizen
    is proceeding his/her dayplan by moving to different POIs within a day.
    Inheritance
    IAgent<IMultimodalLayer>
    MultimodalAgent<IMultimodalLayer>
    MultiCapableAgent<IMultimodalLayer>
    Citizen
    Implements
    IModalCapabilitiesAgent
    IPassengerCapable
    IWalkingCapable
    ICarSteeringCapable
    IBicycleSteeringAndRentalCapable
    IBicycleSteeringCapable
    ISteeringCapable
    ICarRentalCapable
    IFerryPassenger
    SOHTrainModel.Steering.ITrainPassenger
    Inherited Members
    MultiCapableAgent<IMultimodalLayer>.SetWalking()
    MultiCapableAgent<IMultimodalLayer>.SetRunning()
    MultiCapableAgent<IMultimodalLayer>.Gender
    MultiCapableAgent<IMultimodalLayer>.StartPosition
    MultiCapableAgent<IMultimodalLayer>.EnvironmentLayer
    MultiCapableAgent<IMultimodalLayer>.CarRadiusToStartPosition
    MultiCapableAgent<IMultimodalLayer>.PreferredSpeed
    MultiCapableAgent<IMultimodalLayer>.PerceptionInMeter
    MultiCapableAgent<IMultimodalLayer>.Bearing
    MultiCapableAgent<IMultimodalLayer>.EnableCapability(ModalChoice, Boolean)
    MultiCapableAgent<IMultimodalLayer>.IsCapabilityEnabled(ModalChoice)
    MultiCapableAgent<IMultimodalLayer>.Capabilities
    MultiCapableAgent<IMultimodalLayer>.AgentCapabilities
    MultiCapableAgent<IMultimodalLayer>.CapabilityDrivingOwnCar
    MultiCapableAgent<IMultimodalLayer>.CapabilityCycling
    MultiCapableAgent<IMultimodalLayer>.ExpectedTravelTime
    MultiCapableAgent<IMultimodalLayer>.StoreTickResult
    MultiCapableAgent<IMultimodalLayer>.ActualTravelTime
    MultiCapableAgent<IMultimodalLayer>.RouteMainModalActualTravelTime
    MultiCapableAgent<IMultimodalLayer>.RouteMainModality
    MultiCapableAgent<IMultimodalLayer>.RouteModalities
    MultiCapableAgent<IMultimodalLayer>.RouteModalityCount
    MultiCapableAgent<IMultimodalLayer>.RouteMainModalRouteLength
    MultiCapableAgent<IMultimodalLayer>.Move()
    MultiCapableAgent<IMultimodalLayer>.ResetOutputProperties()
    MultiCapableAgent<IMultimodalLayer>.EnterModalType(ModalChoice, Route)
    MultiCapableAgent<IMultimodalLayer>.LeaveModalType(ModalChoice)
    MultimodalAgent<IMultimodalLayer>.Velocity
    MultimodalAgent<IMultimodalLayer>.Offside
    MultimodalAgent<IMultimodalLayer>.MultimodalLayer
    MultimodalAgent<IMultimodalLayer>.ID
    MultimodalAgent<IMultimodalLayer>.Position
    MultimodalAgent<IMultimodalLayer>.ReRouteToGoal()
    MultimodalAgent<IMultimodalLayer>.TryEnterVehicleAsDriver<TSteeringCapable, TSteeringHandle, TPassengerHandle>(Vehicle<TSteeringCapable, IPassengerCapable, TSteeringHandle, TPassengerHandle>, TSteeringCapable)
    MultimodalAgent<IMultimodalLayer>.TryEnterVehicleAsPassenger<TSteeringCapable, TSteeringHandle, TPassengerHandle>(Vehicle<TSteeringCapable, IPassengerCapable, TSteeringHandle, TPassengerHandle>, ISteeringCapable)
    MultimodalAgent<IMultimodalLayer>.TryLeaveVehicle(IPassengerCapable)
    MultimodalAgent<IMultimodalLayer>.ModalChoices
    MultimodalAgent<IMultimodalLayer>.Context
    MultimodalAgent<IMultimodalLayer>.SimulationTime
    MultimodalAgent<IMultimodalLayer>.StableId
    MultimodalAgent<IMultimodalLayer>.RouteLength
    MultimodalAgent<IMultimodalLayer>.RouteMainModalChoice
    MultimodalAgent<IMultimodalLayer>.Notify(PassengerMessage)
    MultimodalAgent<IMultimodalLayer>.OnSidewalk
    MultimodalAgent<IMultimodalLayer>.Whereabouts
    Namespace: SOHMultimodalModel.Model
    Assembly: SOHMultimodalModel.dll
    Syntax
    public class Citizen : MultiCapableAgent<IMultimodalLayer>, IModalCapabilitiesAgent, IPassengerCapable, IWalkingCapable, ICarSteeringCapable, IBicycleSteeringAndRentalCapable, IBicycleSteeringCapable, ISteeringCapable, ICarRentalCapable, IFerryPassenger, ITrainPassenger

    Properties

    CapabilityDrivingWithProbability

    Describes how much percent of the population has a car to their personal disposal
    Declaration
    public double CapabilityDrivingWithProbability { set; }
    Property Value
    Type Description
    System.Double

    Height

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    Home

    Gets or sets the central Home POI of this agent.
    Declaration
    public PointOfInterest Home { get; }
    Property Value
    Type Description
    PointOfInterest

    MediatorLayer

    Declaration
    public MediatorLayer MediatorLayer { get; set; }
    Property Value
    Type Description
    MediatorLayer

    PartTimeWorker

    Gets or sets a flag indicating that this citizen is a part-time worker and thus a Worker as well.
    Declaration
    public bool PartTimeWorker { get; set; }
    Property Value
    Type Description
    System.Boolean

    Tour

    Gets the associated day plan for this agent.
    Declaration
    public Tour Tour { get; set; }
    Property Value
    Type Description
    Tour

    Width

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    Work

    Gets or sets the main Work POI of this agent.
    Declaration
    public PointOfInterest Work { get; }
    Property Value
    Type Description
    PointOfInterest

    Worker

    Gets or sets the flag, indicating that his citizen is a full worker
    Declaration
    public bool Worker { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    ChangeHome(Position)

    Declaration
    public void ChangeHome(Position position)
    Parameters
    Type Name Description
    Position position

    ChangeWork(Position)

    Declaration
    public void ChangeWork(Position position)
    Parameters
    Type Name Description
    Position position

    Init(IMultimodalLayer)

    Declaration
    public override void Init(IMultimodalLayer layer)
    Parameters
    Type Name Description
    IMultimodalLayer layer
    Overrides
    SOHMultimodalModel.Model.MultiCapableAgent<SOHMultimodalModel.Multimodal.IMultimodalLayer>.Init(SOHMultimodalModel.Multimodal.IMultimodalLayer)

    Tick()

    Declaration
    public override void Tick()
    Overrides
    SOHMultimodalModel.Multimodal.MultimodalAgent<SOHMultimodalModel.Multimodal.IMultimodalLayer>.Tick()

    Implements

    IModalCapabilitiesAgent
    IPassengerCapable
    IWalkingCapable
    ICarSteeringCapable
    IBicycleSteeringAndRentalCapable
    IBicycleSteeringCapable
    ISteeringCapable
    ICarRentalCapable
    IFerryPassenger
    SOHTrainModel.Steering.ITrainPassenger
    Back to top Copyright © MARS GROUP.
    HAW Hamburg