Class Citizen
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
Implements
IModalCapabilitiesAgent
IPassengerCapable
IWalkingCapable
ICarSteeringCapable
ISteeringCapable
ICarRentalCapable
SOHTrainModel.Steering.ITrainPassenger
Inherited Members
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
ISteeringCapable
ICarRentalCapable
SOHTrainModel.Steering.ITrainPassenger