
class Poison extends Object implements MonteCarloResults
| Constructor and Description |
|---|
Poison() |
| 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.
|
public double getExpectedValue()
MonteCarloResultsgetExpectedValue in interface MonteCarloResultspublic Samples getSamples()
MonteCarloResultsgetSamples in interface MonteCarloResultspublic String toCsv()
MonteCarloResultstoCsv in interface MonteCarloResultspublic final MonteCarloResults join(MonteCarloResults results)
MonteCarloResultsjoin in interface MonteCarloResultsresults - the results object to join.public void reset()
MonteCarloResultsreset in interface MonteCarloResultsCopyright © 2015 University of Glasgow. All rights reserved.