public abstract class MonteCarloScenario extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
(package private) MonteCarloStep |
step |
Constructor and Description |
---|
MonteCarloScenario() |
Modifier and Type | Method and Description |
---|---|
MonteCarloScenario |
copyOf()
Create a copy of the MonteCarloScenario object.
|
abstract MonteCarloResults |
run(int seed)
Compute the value of the Monte Carlo model/simulation at the given set of coordinates.
|
MonteCarloStep step
public abstract MonteCarloResults run(int seed)
seed
- a seed for the random number generator in the scenario. Scenarios are created so quickly, relying on
the clock as a seed may lead to a lot of generator with the same sequence.public MonteCarloScenario copyOf()
Copyright © 2015 University of Glasgow. All rights reserved.