Metropolis |
public class MetropolisSampler<T> : McmcSampler<T>
The MetropolisSamplerT type exposes the following members.
| Name | Description | |
|---|---|---|
| MetropolisSamplerT | Constructs a new Metropolis sampler using the default Random random number generator. |
| Name | Description | |
|---|---|---|
| AcceptanceRate |
Gets the acceptance rate of the sampler.
(Inherited from McmcSamplerT) | |
| BurnInterval | Gets or sets the number of iterations in between returning samples. | |
| RandomSource |
Gets or sets the random number generator.
(Inherited from McmcSamplerT) |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Sample |
Returns a sample from the distribution P.
(Overrides McmcSamplerTSample) | |
| Sample(Int32) |
Returns a number of samples.
(Inherited from McmcSamplerT) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| Accepts |
Keeps track of the number of accepted samples.
(Inherited from McmcSamplerT) | |
| Samples |
Keeps track of the number of calls to the proposal sampler.
(Inherited from McmcSamplerT) |