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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product