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()
MonteCarloResults
getExpectedValue
in interface MonteCarloResults
public Samples getSamples()
MonteCarloResults
getSamples
in interface MonteCarloResults
public String toCsv()
MonteCarloResults
toCsv
in interface MonteCarloResults
public final MonteCarloResults join(MonteCarloResults results)
MonteCarloResults
join
in interface MonteCarloResults
results
- the results object to join.public void reset()
MonteCarloResults
reset
in interface MonteCarloResults
Copyright © 2015 University of Glasgow. All rights reserved.