floodsim.controller.engine

Members list

Type members

Classlikes

final class DefaultSimulationEngine(val params: SimulationParams, val waterFlowService: WaterFlowService, val weatherEffectService: WeatherEffectService) extends SimulationEngine

Default implementation of the simulation engine.

Default implementation of the simulation engine.

Value parameters

params

the parameters used to configure the simulation

waterFlowService

service to calculate water movement between cells

weatherEffectService

service to apply weather effects to cells

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait SimulationEngine

Core engine for the flood simulation. Responsible for computing state changes, checking simulation termination conditions, and generating initial simulation states.

Core engine for the flood simulation. Responsible for computing state changes, checking simulation termination conditions, and generating initial simulation states.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes