Class Citizen
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
Inheritance
System.Object
Citizen
Implements
SOHTrainModel.Steering.ITrainPassenger
Inherited Members
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: SOHMultimodalModel.Model
Assembly: SOHMultimodalModel.dll
Syntax
public class Citizen : MultiCapableAgent<IMultimodalLayer>, IAgent<IMultimodalLayer>, IModalCapabilitiesAgent, IAgent, ITickClient, IEntity, IModelObject, IWalkingCapable, ICarSteeringCapable, IBicycleSteeringAndRentalCapable, IBicycleSteeringCapable, ISteeringCapable, IPassengerCapable, IPositionable, ICarRentalCapable, IFerryPassenger, ITrainPassenger
Properties
| Improve this Doc View SourceCapabilityDrivingWithProbability
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
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
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
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
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
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
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
| Improve this Doc View SourceChangeHome(Position)
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
Declaration
public void ChangeHome(Position position)
Parameters
Type | Name | Description |
---|---|---|
Position | position |
ChangeWork(Position)
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
Declaration
public void ChangeWork(Position position)
Parameters
Type | Name | Description |
---|---|---|
Position | position |
Init(IMultimodalLayer)
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
Declaration
public override void Init(IMultimodalLayer layer)
Parameters
Type | Name | Description |
---|---|---|
IMultimodalLayer | layer |
Overrides
SOHMultimodalModel.Model.MultiCapableAgent<SOHMultimodalModel.Multimodal.IMultimodalLayer>.Init(SOHMultimodalModel.Multimodal.IMultimodalLayer)
|
Improve this Doc
View Source
Tick()
The
Citizen
is proceeding his/her dayplan by moving to different POIs within a day.
Declaration
public override void Tick()
Overrides
SOHMultimodalModel.Multimodal.MultimodalAgent<SOHMultimodalModel.Multimodal.IMultimodalLayer>.Tick()
Implements
SOHTrainModel.Steering.ITrainPassenger