Rejection |
public class RejectionSampler<T> : McmcSampler<T>
The RejectionSamplerT type exposes the following members.
Name | Description | |
---|---|---|
RejectionSamplerT | Constructs a new rejection sampler using the default Random random number generator. |
Name | Description | |
---|---|---|
AcceptanceRate |
Gets the acceptance rate of the sampler.
(Inherited from McmcSamplerT) | |
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) |