Hospital
Builder for the Hospital type of structure.
- Value parameters:
- capacity
the capacity of the structure in terms of the number of entities that can enter
- entities
the entities that are inside the structure.
- entranceStrategy
the strategy used to discriminate the entities entrance
- infectionProbability
the probability of infection inside the structure
- permanenceTimeDistribution
gaussian distribution that describe the permanence time
- position
the position of the hospital
- treatmentQuality
the virus treatment quality
- visibilityDistance
the distance within which the structure is visible by an entity
Type members
Inherited types
Value members
Concrete methods
- Definition Classes
Inherited methods
Method that allows an entity to exit from the structure. This method WILL NOT handle the entity position, but it will only remove the entity from internal structures.
Method that allows an entity to exit from the structure. This method WILL NOT handle the entity position, but it will only remove the entity from internal structures.
- Value parameters:
- entity
the entity that need to exit
- Returns:
The modified instance of the structure without the entity inside
- Inherited from:
- Structure
- Definition Classes
- Inherited from:
- SimulationStructure
Method that allows an entity to try to enter inside the structure. Note that an entity could not be allowed to enter based on the characteristics of the structure.
Method that allows an entity to try to enter inside the structure. Note that an entity could not be allowed to enter based on the characteristics of the structure.
- Value parameters:
- entity
the entity that wants to enter
- Returns:
The modified instance of the structure if entered
- Inherited from:
- Structure