public abstract class MarkovChainMonteCarlo
extends java.lang.Object
Constructor and Description |
---|
MarkovChainMonteCarlo()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAcceptanceRate()
Returns the acceptance rate of the previous run, ie the
fraction of updates that resulted in a new current set
of parameters.
|
double[] |
getParameters()
Returns the values of the current parameters.
|
void |
minimise()
Runs the minimization.
|
void |
setInitParams(double[] aInit)
Sets the initial values of the parameters.
|
public MarkovChainMonteCarlo()
public void setInitParams(double[] aInit) throws MarkovChainMonteCarloException
aInit
- Array containing the new parameter valuesMarkovChainMonteCarloException
public double[] getParameters()
public void minimise() throws MarkovChainMonteCarloException
MarkovChainMonteCarloException
public double getAcceptanceRate()