SimulationState
floodsim.model.state.SimulationState
final case class SimulationState(cellGrid: DistanceGrid[Cell], weatherGrid: Grid[Weather], percentageFlooded: Double)
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
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article