
public class MonteCarloDefaultResults extends Object implements MonteCarloResults
| Constructor and Description |
|---|
MonteCarloDefaultResults()
Create a default implementation of the MonteCarloResults class.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getExpectedValue()
Get the score for the Monte Carlo simulation.
|
Samples |
getSamples()
Get the results of the Monte Carlo simulations as a Samples object.
|
MonteCarloResults |
join(MonteCarloResults results)
Join another Monte Carlo results object to this one.
|
void |
reset()
Clear the results of the MonteCarloResults object.
|
String |
toCsv()
Get a CSV string of the Monte Carlo results stored in this class.
|
private Samples samples
MonteCarloDefaultResults()
public final double getExpectedValue()
MonteCarloResultsgetExpectedValue in interface MonteCarloResultspublic final Samples getSamples()
MonteCarloResultsgetSamples in interface MonteCarloResultspublic final String toCsv()
MonteCarloResultstoCsv in interface MonteCarloResultspublic final MonteCarloResults join(MonteCarloResults results)
MonteCarloResultsjoin in interface MonteCarloResultsresults - the results object to join.public final void reset()
MonteCarloResultsreset in interface MonteCarloResultsCopyright © 2015 University of Glasgow. All rights reserved.