floodsim.model.state
Members list
Type members
Classlikes
Type-safe representation of a grid size value. Ensures that grid size values are always positive and within reasonable limits.
Type-safe representation of a grid size value. Ensures that grid size values are always positive and within reasonable limits.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GridSize.type
Type-safe representation of a percentage value. Ensures that percentage values are always in the valid range of 0.0 to 100.0.
Type-safe representation of a percentage value. Ensures that percentage values are always in the valid range of 0.0 to 100.0.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Percentage.type
Contains all the constant values used throughout the simulation. These constants define physical properties, calculation parameters, and configuration values for different cell types.
Contains all the constant values used throughout the simulation. These constants define physical properties, calculation parameters, and configuration values for different cell types.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SimulationConstants.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Factory for creating SimulationParams instances.
Factory for creating SimulationParams instances.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SimulationParams.type
Represents the current state of the simulation. Contains the complete information about the simulation at a specific point in time, including the cell grid, weather conditions, and flooding statistics.
Represents the current state of the simulation. Contains the complete information about the simulation at a specific point in time, including the cell grid, weather conditions, and flooding statistics.
Value parameters
- cellGrid
-
the grid of cells representing the simulation terrain
- percentageFlooded
-
the current percentage of flooded cells in the simulation
- weatherGrid
-
the grid of weather conditions affecting the simulation
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all