floodsim.model.state.SimulationParams
See theSimulationParams companion class
Factory for creating SimulationParams instances.
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
trait Product
trait Mirror
class Object
trait Matchable
class Any
-
Self type
-
Members list
The names of the product elements
The names of the product elements
Attributes
-
Inherited from:
-
Mirror
Attributes
-
Inherited from:
-
Mirror
Creates a SimulationParams instance with custom values.
Creates a SimulationParams instance with custom values.
Value parameters
-
floodThreshold
-
the threshold at which a cell is considered flooded
-
gridSize
-
the size of the simulation grid
-
terminationFloodPercentage
-
the percentage of flooded cells that triggers simulation termination
-
weatherCellPercentage
-
the percentage of cells affected by weather
Attributes
-
Returns
-
a SimulationParams instance with the specified values
Creates a SimulationParams instance with default values.
Creates a SimulationParams instance with default values.
Attributes
-
Returns
-
a SimulationParams instance with preset default values